Function at 0x440d8a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x6441a4]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [eax]
mov eax, dword [0x64d1b8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
cmp eax, dword [ecx + 4]
jle 0x440e17
push 0x64d1b8
call fcn.004ce09f
cmp dword [0x64d1b8], 0xffffffff
pop ecx
jne 0x440e17
push 0x62ede0
push 0x62ec08
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x64d1b8
mov dword [0x64d1bc], eax
call fcn.004ce055
pop ecx
mov eax, dword [0x64d1bc]
mov ecx, 0x440898
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x30], 0
mov dword [0x64d1bc], eax
je 0x4420af
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push edi
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [esp + 0x60], eax
lea edi, [esp + 0x74]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
cmp dword [0x64d1bc], 0
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x441779
cmp byte [ebp + 0x18], 0
mov cl, byte [ebp + 0x1c]
jne 0x440e90
cmp cl, 0xff
jae 0x441779
xor eax, eax
mov byte [esp + 0x42], cl
mov word [esp + 0x40], ax
mov byte [esp + 0x43], 1
mov esi, dword [esp + 0x40]
mov dword [esp + 0x28], eax
cmp byte [ebp + 0x20], al
jne 0x440f90
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx]
add eax, dword [ecx]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x440f94
cmp byte [ebp + 0x24], 0
jne 0x441574
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
sub ecx, edx
mov dword [esp + 0x2c], edx
sub ecx, dword [ebx + 4]
sub ecx, dword [ebx + 0xc]
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x38], ecx
jne 0x4414ca
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
sub edi, dword [esp + 0x68]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
sub ebx, dword [esp + 0x64]
push esi
push dword [esp + 0x3c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x2c]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edi
sub eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x38]
push eax
mov eax, dword [esi]
add eax, ecx
push eax
push dword [esp + 0x2c]
push edi
push ebx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov edx, dword [ebx]
test edx, edx
jle 0x44101e
mov eax, dword [ebx + 4]
test eax, eax
jle 0x44101e
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], eax
add eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44101e
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
sub ecx, dword [esp + 0x64]
push esi
push dword [ebx + 4]
mov dword [esp + 0x74], ecx
push dword [ebx]
mov dword [esp + 0x7c], eax
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x2c]
push eax
push ecx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x1c]
test edx, edx
jle 0x4410d5
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
lea eax, [ecx + edx]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4410d5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x28]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov eax, dword [eax + 8]
sub edi, dword [esp + 0x70]
sub eax, ecx
sub ebx, dword [esp + 0x6c]
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x2c]
push edi
push ebx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp dword [ebx + 8], 0
jle 0x44116a
mov edx, dword [ebx + 4]
test edx, edx
jle 0x44116a
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x68], eax
add eax, edx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44116a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
sub edx, dword [esp + 0x64]
push esi
push dword [ebx + 4]
mov dword [esp + 0x74], edx
push dword [ebx + 8]
mov dword [esp + 0x7c], ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x2c]
push ecx
push edx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov edx, dword [ebx]
test edx, edx
jle 0x441217
mov ecx, dword [edi]
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x68], eax
lea eax, [ecx + edx]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441217
mov eax, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x74]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x70]
sub edi, dword [esp + 0x6c]
sub ebx, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x70], ebx
sub eax, edx
mov dword [esp + 0x74], edi
sub eax, dword [esi + 0xc]
push eax
mov eax, esi
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x20]
push dword [eax]
push dword [esp + 0x2c]
push edi
push ebx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 8], 0
mov edi, dword [esp + 0x1c]
jle 0x4412d7
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4412d7
mov eax, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x74]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x70]
sub edi, dword [esp + 0x6c]
sub ebx, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x70], ebx
sub eax, edx
mov dword [esp + 0x74], edi
sub eax, dword [esi + 0xc]
push eax
mov eax, esi
push dword [eax + 8]
lea eax, [ecx + edx]
mov ecx, esi
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 8]
push eax
push dword [esp + 0x2c]
push edi
push ebx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx]
test eax, eax
jle 0x44136a
cmp dword [ebx + 0xc], 0
jle 0x441422
mov edx, dword [edi + 0xc]
mov eax, edx
sub eax, dword [ebx + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x68], eax
mov eax, dword [ebx]
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44136a
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x64]
push esi
push dword [ebx + 0xc]
mov dword [esp + 0x74], edx
push dword [ebx]
mov dword [esp + 0x7c], ecx
push eax
push dword [edi]
push dword [esp + 0x2c]
push ecx
push edx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
cmp dword [ebx + 0xc], 0
jle 0x441422
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441426
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x28]
push dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov eax, dword [eax + 8]
sub edi, dword [esp + 0x70]
sub eax, ecx
sub ebx, dword [esp + 0x6c]
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x2c]
push edi
push ebx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp dword [ebx + 8], 0
jle 0x442089
cmp dword [ebx + 0xc], 0
jle 0x442089
mov edx, dword [edi + 8]
mov eax, edx
sub eax, dword [ebx + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], edx
push eax
mov dword [esp + 0x7c], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x442089
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
sub edx, dword [esp + 0x64]
push esi
push dword [ebx + 0xc]
mov esi, dword [esp + 0x18]
push dword [ebx + 8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
push eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x2c]
push ecx
push edx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
jmp 0x442089
mov edx, dword [esp + 0x70]
mov eax, ecx
sub eax, dword [esp + 0x68]
dec edx
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x440f94
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
cmp ecx, edx
jle 0x44151c
sub eax, ecx
mov dword [esp + 0x30], edx
add eax, edx
mov ecx, dword [edi]
mov edx, dword [ebx]
push esi
push eax
mov eax, dword [edi + 8]
sub eax, ecx
sub eax, edx
sub eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x44]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
sub eax, ecx
push eax
push dword [esp + 0x88]
push ecx
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [0x64d1bc]
sub dword [esp + 0x4c], 1
je 0x440f94
mov ecx, dword [esp + 0x38]
jmp 0x4414e6
mov ecx, dword [edi + 8]
sub ecx, dword [ebx]
sub ecx, dword [ebx + 8]
mov edx, dword [esp + 0x6c]
sub ecx, dword [edi]
dec edx
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x30], ecx
je 0x4416c9
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x70]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x440f94
mov ecx, dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x68]
add edx, eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
add edi, edx
add eax, edi
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], edx
cmp eax, ecx
jle 0x44160a
sub edx, eax
mov eax, ecx
add edx, ecx
mov dword [esp + 0x34], edx
cmp dword [esp + 0x54], 0
jle 0x4416b1
sub eax, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x64]
lea eax, [esi + ecx]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
add esi, eax
add ecx, esi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov ecx, eax
cmp dword [esp + 0x38], esi
mov esi, dword [esp + 0x40]
jle 0x441660
sub ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
add ecx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push esi
push edx
push ecx
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
push dword [esp + 0x70]
sub eax, ecx
push eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x88]
push eax
push ecx
push dword [esp + 0x3c]
call dword [0x64d1bc]
sub dword [esp + 0x3c], 1
je 0x4416ad
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
jmp 0x441627
mov ecx, dword [esp + 0x70]
sub dword [esp + 0x2c], 1
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], edx
jne 0x4415da
jmp 0x440f94
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x440f94
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
cmp ecx, edx
jle 0x44171e
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
mov dword [esp + 0x2c], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [ebx + 4]
sub eax, ecx
push esi
sub eax, edx
sub eax, dword [ebx + 0xc]
push eax
push dword [esp + 0x34]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x88]
sub eax, ecx
push eax
push dword [esp + 0x88]
push ecx
push dword [esp + 0x3c]
call dword [0x64d1bc]
sub dword [esp + 0x3c], 1
je 0x440f94
mov ecx, dword [esp + 0x30]
jmp 0x4416e0
mov edi, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov dword [esp + 0x28], edx
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp eax, ecx
jne 0x44182c
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
sub ecx, dword [esi + 4]
sub eax, dword [edi + 4]
cmp eax, ecx
jne 0x44182c
cmp dword [ebx], edx
jne 0x44182c
cmp dword [ebx + 8], edx
jne 0x44182c
cmp dword [ebx + 4], edx
jne 0x44182c
cmp dword [ebx + 0xc], edx
jne 0x44182c
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x442089
mov eax, dword [esi + 4]
sub eax, dword [edi + 4]
add eax, dword [esp + 0x78]
push 0xcc0020
push eax
mov eax, dword [esi]
sub eax, dword [edi]
add eax, dword [esp + 0x7c]
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x442089
cmp byte [ebp + 0x20], dl
jne 0x441900
mov eax, dword [ebx]
add eax, dword [edi]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441900
cmp byte [ebp + 0x24], 0
jne 0x441ae2
mov ecx, dword [esi + 0xc]
sub ecx, dword [ebx + 4]
mov edx, dword [esi + 4]
sub ecx, edx
sub ecx, dword [ebx + 0xc]
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x30], ecx
jne 0x441a33
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
sub esi, dword [esp + 0x68]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub edi, dword [esp + 0x64]
sub eax, ecx
sub eax, dword [ebx]
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [esp + 0x34]
mov dword [esp + 0x74], edi
push eax
mov eax, dword [ebx + 4]
add eax, edx
mov dword [esp + 0x7c], esi
push eax
mov eax, dword [ebx]
add eax, ecx
push eax
push dword [esp + 0x2c]
push esi
push edi
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov edx, dword [ebx]
test edx, edx
jle 0x44198a
mov eax, dword [ebx + 4]
test eax, eax
jle 0x44198a
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x64], eax
add eax, edx
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x44198a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
sub ecx, dword [esp + 0x64]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x74], ecx
push dword [ebx]
mov dword [esp + 0x7c], eax
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x2c]
push eax
push ecx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [ebx + 4]
test edx, edx
jle 0x441cb1
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
lea eax, [ecx + edx]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441cb1
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x68]
sub eax, ecx
sub edi, dword [esp + 0x64]
sub eax, edx
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x74], edi
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], esi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x2c]
push esi
push edi
push dword [esp + 0x88]
mov edi, dword [esp + 0x38]
push dword [esp + 0x88]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x441cb5
mov edx, dword [esp + 0x70]
mov eax, ecx
sub eax, dword [esp + 0x68]
dec edx
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x441900
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
lea ebx, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jle 0x441a89
sub eax, ecx
mov dword [esp + 0x2c], edx
add eax, edx
mov ecx, dword [esi]
mov edx, dword [ebx]
push 0xcc0020
push eax
mov eax, dword [esi + 8]
sub eax, ecx
sub eax, edx
sub eax, dword [ebx + 8]
push eax
mov eax, dword [esi + 4]
add eax, dword [ebx + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x40]
push edi
sub eax, ecx
push eax
push dword [esp + 0x88]
push ecx
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x34], 1
je 0x4418fc
mov ecx, dword [esp + 0x30]
jmp 0x441a53
mov ecx, dword [esi + 8]
sub ecx, dword [ebx]
sub ecx, dword [esi]
mov edx, dword [esp + 0x6c]
sub ecx, dword [ebx + 8]
dec edx
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x30], ecx
je 0x441bfc
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [esi + 4]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x441900
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x68]
lea esi, [ecx + eax]
add ecx, edx
add eax, ecx
mov dword [esp + 0x50], ecx
cmp eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
cmovg eax, dword [esp + 0x70]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x10]
test ecx, ecx
jle 0x441be4
sub eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x24]
push 0xcc0020
lea edx, [eax + ecx]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], eax
add ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x70]
mov eax, dword [ebx + 4]
cmovg ecx, dword [esp + 0x70]
add eax, dword [esi + 4]
sub ecx, edx
push eax
mov eax, dword [ebx]
add eax, dword [esi]
push eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x40]
push edi
push dword [esp + 0x58]
push ecx
push eax
push edx
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x2c], 1
je 0x441be0
mov eax, dword [esp + 0x38]
jmp 0x441b86
mov edx, dword [esp + 0x28]
sub dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x34], ecx
jne 0x441b4c
jmp 0x4418fc
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x441900
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x64]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
cmp ecx, edx
jle 0x441c55
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 4]
sub eax, ecx
push 0xcc0020
sub eax, edx
sub eax, dword [ebx + 0xc]
push eax
push dword [esp + 0x34]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [ebx]
add eax, dword [esi]
push eax
mov eax, dword [esp + 0x48]
push edi
push dword [esp + 0x88]
sub eax, ecx
push eax
push dword [esp + 0x88]
push ecx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x3c], 1
je 0x4418fc
mov ecx, dword [esp + 0x30]
jmp 0x441c17
mov edi, dword [esp + 0x14]
cmp dword [ebx + 8], 0
mov esi, dword [esp + 0x1c]
jle 0x441d4f
mov edx, dword [ebx + 4]
test edx, edx
jle 0x441d4f
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x68], eax
add eax, edx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441d4f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
sub edx, dword [esp + 0x64]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x74], edx
push dword [ebx + 8]
mov dword [esp + 0x7c], ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x2c]
push ecx
push edx
push dword [esp + 0x88]
push dword [esp + 0x88]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [ebx]
test edx, edx
jle 0x441df2
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x68], eax
lea eax, [ecx + edx]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push esi
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441df6
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub esi, dword [esp + 0x68]
sub eax, ecx
sub edi, dword [esp + 0x64]
sub eax, edx
sub eax, dword [ebx + 0xc]
push 0xcc0020
push eax
push dword [ebx]
lea eax, [ecx + edx]
mov dword [esp + 0x78], edi
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], esi
push dword [eax]
push dword [esp + 0x2c]
push esi
push edi
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [esp + 0x20]
cmp dword [ebx + 8], 0
mov edi, dword [esp + 0x1c]
jle 0x441ea6
mov ecx, dword [edi + 8]
mov eax, ecx
sub eax, dword [ebx + 8]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x64]
push eax
push esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441ea6
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub esi, dword [esp + 0x68]
sub eax, ecx
sub edi, dword [esp + 0x64]
sub eax, edx
sub eax, dword [ebx + 0xc]
push 0xcc0020
push eax
push dword [ebx + 8]
lea eax, [ecx + edx]
mov dword [esp + 0x78], edi
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], esi
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x2c]
push esi
push edi
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x1c]
mov esi, dword [ebx]
test esi, esi
jle 0x441f3d
cmp dword [ebx + 0xc], 0
jle 0x441f3d
mov edx, dword [edi + 0xc]
mov eax, edx
mov ecx, dword [edi]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
lea eax, [ecx + esi]
mov dword [esp + 0x70], edx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
push eax
push esi
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441f41
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x64]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x74], edx
push dword [ebx]
mov dword [esp + 0x7c], ecx
push eax
push dword [esi]
push dword [esp + 0x2c]
push ecx
push edx
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [esp + 0x20]
cmp dword [ebx + 0xc], 0
jle 0x441fe5
mov eax, dword [ebx]
add eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
push eax
push esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441fe5
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x68]
sub eax, ecx
sub edi, dword [esp + 0x64]
sub eax, edx
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x74], edi
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], esi
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x2c]
push esi
push edi
push dword [esp + 0x88]
mov edi, dword [esp + 0x38]
push dword [esp + 0x88]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x441fe9
mov edi, dword [esp + 0x14]
cmp dword [ebx + 8], 0
jle 0x442089
cmp dword [ebx + 0xc], 0
jle 0x442089
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, dword [ebx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], edx
push eax
mov dword [esp + 0x7c], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x442089
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x64]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x74], edx
push dword [ebx + 8]
mov dword [esp + 0x7c], ecx
push eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x2c]
push ecx
push edx
push dword [esp + 0x88]
push dword [esp + 0x88]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [esp + 0x5c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x60]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cdf5d
mov esp, ebp
pop ebp
ret