Function at 0x10103c10
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f47f4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xa0], eax
call fcn.100ff650
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
test ecx, ecx
jne 0x10103cd4
push 0x4d4
call fcn.101d286a
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
mov dword [ebp - 4], 0
push 0x4d4
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10108210
mov ecx, eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0xb8]
mov dword [eax], ecx
test ecx, ecx
je 0x10104ada
test esi, esi
je 0x10104ada
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
push eax
push dword [edi + 0x14]
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x5c]
xor cl, cl
mov eax, dword [ebp - 0x58]
sub esi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x60]
cmp dword [edi + 0x9c], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0x95], cl
jne 0x10103fc4
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0xa8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0xa4]
mov dword [edi + 0x9c], eax
push esi
push dword [ebp - 0xa8]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
call esi
push dword [ebp - 0xa8]
mov dword [edi + 0xa0], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0xa4]
mov dword [edi + 0xa4], eax
push dword [ebp - 0x1c]
push dword [ebp - 0xa8]
call esi
push dword [edi + 0xa0]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x9c]
mov dword [edi + 0xa8], eax
call esi
push dword [edi + 0xa8]
mov dword [edi + 0xac], eax
push dword [edi + 0xa4]
call esi
mov esi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x3c]
push ecx
mov dword [edi + 0xb0], eax
lea ecx, [ebp - 0x84]
xorps xmm0, xmm0
mov eax, dword [esi]
push ecx
mov ecx, esi
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x84], xmm0
call dword [eax + 0x2c]
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
call fcn.10100d80
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x10103e23
mov eax, dword [ecx]
push dword [edi + 0x9c]
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
mov dword [ebp - 0xac], eax
jmp 0x10103e2b
xor esi, esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10103e38
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], 1
test esi, esi
jne 0x10103e4f
mov dword [ebp - 4], 0xffffffff
jmp 0x10103f28
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [ebp - 0x9c]
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
push dword [ebp - 0xa8]
call eax
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10103e80
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
test eax, eax
jne 0x10103e98
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov eax, dword [esi]
jmp 0x10103f25
lea ecx, [ebp - 0x64]
push ecx
push eax
push esi
call fcn.10104bb0
call fcn.100ff650
mov dword [ebp - 0x9c], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x10103eef
push 0x4d4
call fcn.101d286a
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
push 0x4d4
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10108210
mov ecx, eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x9c]
mov dword [eax], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x2c]
mov eax, dword [eax + 0x44]
mov esi, dword [esi]
call eax
mov ecx, dword [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x1c]
call eax
mov dword [edi + 0xb4], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push ecx
push dword [edi + 0x9c]
mov ecx, edi
mov byte [edi + 0xb8], 1
call fcn.10104cf0
mov esi, dword [ebp - 0x1c]
push 0xcc0020
push 0
push 0
push dword [edi + 0x9c]
push dword [ebp - 0xa4]
push esi
push 0
push 0
push dword [edi + 0xa4]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
push ecx
push dword [edi + 0xa4]
mov ecx, edi
call fcn.10104cf0
push dword [edi + 0xa4]
mov ecx, edi
call fcn.10106830
mov eax, dword [edi + 0x34]
test eax, eax
je 0x10103f9c
push dword [edi + 0xa4]
mov ecx, eax
call fcn.1010e9e0
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x3c]
push dword [ebp - 0xa8]
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x4c]
push 0
mov dword [edi + 0x94], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov cl, 1
mov byte [ebp - 0x95], cl
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x3c]
cmp dword [edi + 0x98], eax
je 0x101040bd
call fcn.10100d80
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x10103ff9
mov eax, dword [ecx]
push dword [edi + 0x9c]
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
jmp 0x10103ffb
xor esi, esi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10104008
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], 4
test esi, esi
jne 0x1010401c
mov dword [ebp - 4], 0xffffffff
jmp 0x10104036
lea eax, [ebp - 0x64]
push eax
push 0
push esi
call fcn.10104bb0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
push 1
push ecx
push dword [edi + 0x9c]
mov ecx, edi
call fcn.10104cf0
mov esi, dword [ebp - 0x1c]
push 0xcc0020
push 0
push 0
push dword [edi + 0x9c]
push dword [ebp - 0xa4]
push esi
push 0
push 0
push dword [edi + 0xa4]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
push ecx
push dword [edi + 0xa4]
mov ecx, edi
call fcn.10104cf0
push dword [edi + 0xa4]
mov ecx, edi
call fcn.10106830
mov eax, dword [edi + 0x34]
test eax, eax
je 0x101040a3
push dword [edi + 0xa4]
mov ecx, eax
call fcn.1010e9e0
mov eax, dword [edi + 0x34]
mov eax, dword [eax + 0x3c]
mov cl, 1
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x94], eax
mov byte [ebp - 0x95], cl
cmp byte [edi + 0xb8], 0
je 0x10104273
mov ecx, dword [ebp - 0xb4]
lea edx, [ebp - 0x4c]
push edx
xorps xmm0, xmm0
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ecx]
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x74], xmm0
call dword [eax + 0x2c]
lea eax, [ebp - 0x84]
push eax
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
add eax, edx
add eax, dword [ebp - 0xa4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
add eax, ecx
add eax, esi
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x80]
sub eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x84]
sub eax, ecx
mov dword [ebp - 0xa8], eax
call fcn.100ff650
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
test eax, eax
jne 0x10104190
push 0x4d4
call fcn.101d286a
mov esi, eax
add esp, 4
mov dword [ebp - 0x9c], esi
mov dword [ebp - 4], 5
push 0x4d4
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.10108210
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
test eax, eax
je 0x1010426d
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0xb4]
mov dword [ebp - 0x9c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0xac]
mov esi, eax
mov word [ebp - 0x1c], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
call edx
push 0x50
push dword [ebp - 0x20]
mov byte [ebp - 0x1a], al
push dword [ebp - 0xa4]
mov byte [ebp - 0x19], 1
push dword [ebp - 0x2c]
push dword [ebp - 0xa8]
push dword [edi + 0x14]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
push 2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x34]
movlpd qword [ebp - 0x34], xmm0
push eax
push dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x18]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
mov esi, dword [ebp - 0x9c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [edi + 0xb8], 0
mov cl, byte [ebp - 0x95]
mov eax, dword [edi + 0x30]
mov dl, 1
test eax, eax
je 0x1010427f
mov dl, byte [eax + 0x2b]
test cl, cl
jne 0x101046fa
test dl, dl
jne 0x10104296
mov al, byte [eax + 0x28]
test al, al
je 0x101046fa
mov eax, dword [edi + 0x100]
cmp eax, dword [edi + 0x110]
jne 0x101042b6
mov eax, dword [edi + 0x104]
cmp eax, dword [edi + 0x114]
jne 0x101042b6
mov dl, 1
jmp 0x101042b8
xor dl, dl
mov eax, dword [edi + 0x108]
cmp eax, dword [edi + 0x118]
jne 0x101042d8
mov eax, dword [edi + 0x10c]
cmp eax, dword [edi + 0x11c]
jne 0x101042d8
mov cl, 1
jmp 0x101042da
xor cl, cl
mov eax, dword [edi + 0x84]
lea esi, [edi + 0x88]
cmp eax, dword [esi]
jne 0x101042f6
test dl, dl
je 0x101042f6
test cl, cl
jne 0x101046fa
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.10106d80
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 8
mov ecx, dword [edi + 0x84]
cmp ecx, 0xffffffff
jle 0x101043d5
mov eax, dword [edi + 0xf8]
mov edx, dword [edi + 0xf4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jle 0x101043d5
mov ecx, dword [edx + ecx*4]
lea eax, [ebp - 0x74]
push eax
call fcn.1010cd50
push dword [ebp - 0xa0]
lea eax, [edi + 0x84]
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.101071a0
mov eax, dword [ebp - 0x70]
mov ecx, dword [edi + 0x84]
cmp eax, dword [edi + 0x104]
jne 0x1010439a
test ecx, ecx
jle 0x101043d5
mov eax, dword [edi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0x18]
shr eax, 2
test al, 1
jne 0x101043d5
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
jmp 0x101043b9
lea edx, [ecx + 1]
cmp edx, dword [edi + 0x60]
jge 0x101043d5
mov eax, dword [edi + 0xf4]
mov eax, dword [eax + ecx*4 + 4]
mov eax, dword [eax + 0x18]
shr eax, 2
test al, 1
jne 0x101043d5
mov dword [ebp - 0x18], edx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x18]
call fcn.10029990
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.101071a0
mov ecx, dword [esi]
cmp ecx, 0xffffffff
jle 0x10104481
mov eax, dword [edi + 0xf8]
mov edx, dword [edi + 0xf4]
sub eax, edx
sar eax, 2
cmp eax, ecx
jle 0x10104481
mov ecx, dword [edx + ecx*4]
lea eax, [ebp - 0x74]
push eax
call fcn.1010cd50
push dword [ebp - 0xa0]
lea eax, [ebp - 0x34]
push esi
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.101071a0
mov eax, dword [ebp - 0x70]
mov ecx, dword [esi]
cmp eax, dword [edi + 0x114]
jne 0x10104446
test ecx, ecx
jle 0x10104481
mov eax, dword [edi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0x18]
shr eax, 2
test al, 1
jne 0x10104481
lea eax, [ecx - 1]
mov dword [ebp - 0x18], eax
jmp 0x10104465
lea edx, [ecx + 1]
cmp edx, dword [edi + 0x60]
jge 0x10104481
mov eax, dword [edi + 0xf4]
mov eax, dword [eax + ecx*4 + 4]
mov eax, dword [eax + 0x18]
shr eax, 2
test al, 1
jne 0x10104481
mov dword [ebp - 0x18], edx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x18]
call fcn.10029990
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x24]
call fcn.101071a0
mov ecx, dword [edi + 0x94]
lea edx, [edi + 0x94]
mov eax, dword [edi + 0x4c]
lea esi, [edi + 0x4c]
cmp ecx, eax
je 0x101044cb
cmp ecx, 0xffffffff
jle 0x101044b2
push dword [ebp - 0xa0]
lea eax, [ebp - 0x34]
push edx
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.101071a0
mov eax, dword [esi]
cmp eax, 0xffffffff
jle 0x101044cb
push dword [ebp - 0xa0]
lea eax, [ebp - 0x34]
push esi
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.101071a0
mov eax, dword [ebp - 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x94], xmm0
mov esi, dword [eax]
cmp esi, eax
je 0x101045b8
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0xf4]
push 0x10
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10104518
mov eax, dword [ebp - 0x18]
add eax, 0x38
push eax
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x88]
sub eax, 2
mov ecx, dword [ebp - 0x8c]
add edx, 2
push 0xcc0020
push eax
mov dword [ebp - 0x90], eax
inc ecx
mov eax, dword [ebp - 0x94]
push eax
push dword [edi + 0x9c]
mov dword [ebp - 0x88], edx
sub edx, dword [ebp - 0x90]
push edx
mov dword [ebp - 0x8c], ecx
sub ecx, eax
push ecx
push dword [ebp - 0x90]
push eax
push dword [edi + 0xa4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10104599
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10104595
cmp esi, dword [eax + 8]
jne 0x10104595
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10104585
mov esi, eax
jmp 0x101045ad
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x101045ad
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x101045a3
mov eax, dword [ebp - 0x24]
cmp esi, eax
jne 0x101044e2
mov esi, dword [eax]
cmp esi, eax
je 0x1010461f
nop
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + 0xf4]
push dword [edi + 0xa4]
mov ecx, dword [ecx + eax*4]
call fcn.1010cb70
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10104604
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10104600
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10104600
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x101045f0
mov esi, eax
jmp 0x1010461a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1010461a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10104610
cmp esi, dword [ebp - 0x24]
jne 0x101045c0
push dword [edi + 0xa4]
mov ecx, edi
call fcn.10106830
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x1010463e
push dword [edi + 0xa4]
call fcn.1010e9e0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x84]
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x100]
mov dword [edi + 0x110], eax
mov eax, dword [edi + 0x104]
mov dword [edi + 0x114], eax
mov eax, dword [edi + 0x108]
mov dword [edi + 0x118], eax
mov eax, dword [edi + 0x10c]
mov dword [edi + 0x11c], eax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
mov edx, ecx
mov dword [ebp - 0x9c], edx
mov eax, dword [ecx + 4]
mov esi, eax
cmp byte [eax + 0xd], 0
jne 0x101046d1
mov edi, eax
push dword [esi + 8]
lea ecx, [ebp - 0x24]
call fcn.10106e00
mov esi, dword [esi]
push 0x14
push edi
call fcn.101d2cde
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x101046a2
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x9c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
push 0x14
push dword [ebp - 0x24]
call fcn.101d2cde
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
xor edx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xb
xor esi, esi
mov eax, dword [edi + 0xf8]
mov ecx, dword [edi + 0xf4]
sub eax, ecx
mov dword [ebp - 0x18], esi
test eax, 0xfffffffc
jle 0x1010478c
nop dword [eax]
mov eax, dword [ecx + esi*4]
mov al, byte [eax + 0x464]
test al, al
je 0x10104773
lea ecx, [ebp - 0x28]
call fcn.10036560
test al, al
je 0x10104763
mov dword [edx], esi
add edx, 4
mov dword [ebp - 0x24], edx
jmp 0x10104773
lea eax, [ebp - 0x18]
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.10106e60
mov edx, dword [ebp - 0x24]
mov eax, dword [edi + 0xf8]
inc esi
mov ecx, dword [edi + 0xf4]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x18], esi
cmp esi, eax
jl 0x10104740
mov esi, dword [edi + 0x94]
cmp esi, dword [edi + 0x4c]
je 0x10104821
test esi, esi
js 0x101047d7
mov eax, dword [edi + 0xf8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x101047d7
lea ecx, [ebp - 0x28]
call fcn.10036560
test al, al
je 0x101047c4
mov dword [edx], esi
add edx, 4
mov dword [ebp - 0x24], edx
jmp 0x101047d7
lea eax, [edi + 0x94]
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.10106e60
mov edx, dword [ebp - 0x24]
mov ecx, dword [edi + 0x4c]
lea esi, [edi + 0x4c]
test ecx, ecx
js 0x10104819
mov eax, dword [edi + 0xf8]
sub eax, dword [edi + 0xf4]
sar eax, 2
cmp ecx, eax
jge 0x10104819
lea ecx, [ebp - 0x28]
call fcn.10036560
test al, al
je 0x1010480c
mov eax, dword [esi]
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x24], edx
jmp 0x10104819
push esi
push edx
lea ecx, [ebp - 0x28]
call fcn.10106e60
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
mov dword [edi + 0x94], eax
mov ecx, dword [ebp - 0x28]
mov eax, edx
push dword [ebp - 0xa0]
sub eax, ecx
sar eax, 2
push eax
call fcn.10107510
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.10035830
test al, al
jne 0x101049c9
mov eax, dword [edi + 0x34]
xor esi, esi
mov dword [ebp - 0x1c], esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x94], xmm0
test eax, eax
je 0x10104894
add eax, 8
push eax
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
call fcn.10035a70
test eax, eax
je 0x101049be
nop dword [eax]
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
push 0x10
lea eax, [eax + edx*4]
mov dword [ebp - 0xb0], eax
mov eax, dword [eax]
lea ecx, [eax*4]
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0x9c], ecx
mov esi, dword [ecx + eax]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x101048f9
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
dec edx
mov eax, dword [ebp - 0xb0]
inc esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], esi
mov eax, dword [eax]
cmp eax, dword [edi + 0x4c]
je 0x10104917
inc dword [ebp - 0x34]
cmp dword [ebp - 0x1c], 0
je 0x10104940
movups xmm0, xmmword [ebp - 0x3c]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x3c]
push eax
movups xmmword [ebp - 0x74], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub esi, edx
mov eax, dword [ebp - 0x34]
push 0xcc0020
push edx
push ecx
push dword [edi + 0x9c]
sub eax, ecx
push esi
push eax
push edx
push ecx
push dword [edi + 0xa4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1010497b
push esi
push dword [edi + 0xa4]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [edi + 0xf4]
mov eax, dword [ebp - 0x9c]
push dword [edi + 0xa4]
mov ecx, dword [ecx + eax]
call fcn.1010cb70
test esi, esi
je 0x101049a7
push 0
push dword [edi + 0xa4]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc edx
mov dword [ebp - 0x18], edx
call fcn.10035a70
cmp edx, eax
jb 0x101048b0
test esi, esi
je 0x101049c9
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [ebx + 0xc], 0
jne 0x10104a99
push dword [edi + 0x14]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x10104a99
push dword [edi + 0x14]
call esi
test eax, eax
je 0x101049fa
push 0xffffffffffffffec
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x13
and al, 1
je 0x10104a99
mov ecx, dword [ebp - 0xb4]
mov word [ebp - 0x1c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
mov byte [ebp - 0x1a], al
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x19], 1
push eax
push dword [edi + 0x14]
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
sub eax, ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x40]
sub eax, edx
mov dword [ebp - 0x54], ecx
push 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x88], eax
movlpd qword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
push dword [edi + 0xa4]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x10104acb
mov esi, dword [ebp - 0xa0]
push 0xcc0020
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esi + 0xc]
push ecx
push edx
push dword [edi + 0xa4]
sub eax, ecx
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push ecx
push edx
push dword [ebp - 0xb8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000c790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc