Function at 0x440d0a
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 + 0x14], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [eax]
mov eax, dword [0x64d1b8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], ebx
cmp eax, dword [ecx + 4]
jle 0x440d97
push 0x64d1b8
call fcn.004ce06f
cmp dword [0x64d1b8], 0xffffffff
pop ecx
jne 0x440d97
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.004ce025
pop ecx
mov eax, dword [0x64d1bc]
mov ecx, 0x440818
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x3c], 0
mov dword [0x64d1bc], eax
je 0x442079
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x3c]
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 0x441719
cmp byte [ebp + 0x18], 0
mov cl, byte [ebp + 0x1c]
jne 0x440e10
cmp cl, 0xff
jae 0x441719
xor eax, eax
mov byte [esp + 0x1e], cl
mov word [esp + 0x1c], ax
mov byte [esp + 0x1f], 1
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
cmp byte [ebp + 0x20], al
jne 0x440f22
mov ecx, dword [esp + 0x20]
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 + 0x28]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x440f26
cmp byte [ebp + 0x24], 0
jne 0x441513
cmp byte [ebp + 0x28], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edx
jne 0x44145c
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
sub edi, dword [esp + 0x6c]
sub esi, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x34]
sub eax, ecx
sub ebx, dword [esp + 0x68]
sub eax, edx
push esi
mov esi, dword [esp + 0x30]
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 + 0x4c]
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 + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov edx, dword [ebx]
test edx, edx
jle 0x440fb0
mov eax, dword [ebx + 4]
test eax, eax
jle 0x440fb0
mov ecx, dword [esp + 0x20]
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 + 0x28]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x440fb0
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 + 0x20]
test edx, edx
jle 0x441067
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441067
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x2c]
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 + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
cmp dword [ebx + 8], 0
jle 0x4410fc
mov edx, dword [ebx + 4]
test edx, edx
jle 0x4410fc
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4410fc
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 0x4411a9
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 + 0x28]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4411a9
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x2c]
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 + 0x1c]
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 8], 0
mov edi, dword [esp + 0x20]
jle 0x441269
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441269
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x2c]
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 + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx]
test eax, eax
jle 0x4412fc
cmp dword [ebx + 0xc], 0
jle 0x4413b4
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4412fc
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 0x4413b4
mov edi, dword [esp + 0x20]
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4413b8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x2c]
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 + 0x1c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
cmp dword [ebx + 8], 0
jle 0x442053
cmp dword [ebx + 0xc], 0
jle 0x442053
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 + 0x28]
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 0x442053
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 0x442053
sub ecx, dword [ebx + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x70]
sub ecx, eax
dec edx
mov eax, ecx
mov dword [esp + 0x38], ecx
sub eax, dword [esp + 0x68]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x48], eax
test eax, eax
jle 0x440f26
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x1c]
add edx, eax
add eax, ecx
mov dword [esp + 0x2c], edx
mov edx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x68]
add edx, eax
mov eax, ecx
mov dword [esp + 0x3c], edx
cmp edx, dword [esp + 0x70]
jle 0x4414bb
mov ecx, dword [esp + 0x70]
sub eax, edx
add eax, ecx
mov dword [esp + 0x3c], ecx
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 + 0x3c]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
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 + 0x48], 1
je 0x440f26
mov ecx, dword [esp + 0x38]
jmp 0x441483
mov ecx, dword [edi + 8]
sub ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov edx, dword [esp + 0x6c]
sub ecx, dword [edi]
dec edx
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x3c], ecx
je 0x441667
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [edi + 4]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x34]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x440f26
mov ecx, dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x68]
lea edi, [edx + eax]
add edx, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edx
cmp eax, ecx
jle 0x4415a8
sub edx, eax
mov eax, ecx
add edx, ecx
mov dword [esp + 0x40], edx
cmp dword [esp + 0x48], 0
jle 0x44164f
sub eax, dword [esp + 0x54]
xor ecx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x64]
lea eax, [ecx + esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x50], ecx
add ecx, esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov ecx, eax
cmp dword [esp + 0x38], esi
mov esi, dword [esp + 0x1c]
jle 0x4415fe
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 + 0x58]
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 + 0x50]
add eax, dword [esp + 0x88]
push eax
push ecx
push dword [esp + 0x3c]
call dword [0x64d1bc]
sub dword [esp + 0x54], 1
je 0x44164b
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
jmp 0x4415c5
mov ecx, dword [esp + 0x70]
sub dword [esp + 0x2c], 1
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], edx
jne 0x441579
jmp 0x440f26
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x440f26
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
add edx, eax
add eax, ecx
mov dword [esp + 0x44], edx
mov edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x64]
add edx, eax
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x6c]
jle 0x4416be
mov eax, ecx
mov ecx, dword [esp + 0x6c]
sub eax, edx
mov dword [esp + 0x30], ecx
add eax, ecx
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 + 0x48]
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 + 0x40], 1
je 0x440f26
mov ecx, dword [esp + 0x3c]
jmp 0x44167e
mov edi, dword [esp + 0x20]
xor edx, edx
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov dword [esp + 0x34], edx
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp eax, ecx
jne 0x4417cc
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
sub ecx, dword [esi + 4]
sub eax, dword [edi + 4]
cmp eax, ecx
jne 0x4417cc
cmp dword [ebx], edx
jne 0x4417cc
cmp dword [ebx + 8], edx
jne 0x4417cc
cmp dword [ebx + 4], edx
jne 0x4417cc
cmp dword [ebx + 0xc], edx
jne 0x4417cc
push edi
push dword [esp + 0x28]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x442053
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 0x442053
cmp byte [ebp + 0x20], dl
jne 0x4418c7
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 + 0x28]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4418c7
cmp byte [ebp + 0x24], 0
jne 0x441ab6
cmp byte [ebp + 0x28], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], edx
jne 0x4419fa
mov edx, dword [ebx]
mov eax, dword [esp + 0x10]
mov ebx, dword [ebx + 4]
sub dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x70]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub dword [esp + 0x1c], ebx
sub eax, ecx
mov ebx, dword [esp + 0x50]
sub eax, edx
sub dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x6c]
sub esi, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [esp + 0x20]
mov dword [esp + 0x74], edi
push eax
mov eax, dword [ebx + 4]
add eax, dword [esp + 0x58]
push eax
mov eax, edx
mov dword [esp + 0x80], esi
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 + 0x20]
mov edx, dword [ebx]
test edx, edx
jle 0x441951
mov eax, dword [ebx + 4]
test eax, eax
jle 0x441951
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 + 0x28]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441951
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 0x441c7b
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441c7b
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 0x441c7f
sub ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x70]
sub ecx, dword [ebx + 0xc]
dec edx
mov eax, ecx
mov dword [esp + 0x1c], ecx
sub eax, dword [esp + 0x68]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4418c7
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x28]
add edx, eax
add eax, ecx
mov dword [esp + 0x44], edx
mov edx, eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x68]
add edx, eax
mov eax, ecx
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x70]
jle 0x441a5d
mov ecx, dword [esp + 0x70]
sub eax, edx
add eax, ecx
mov dword [esp + 0x2c], ecx
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 + 0x54]
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 + 0x30], 1
je 0x4418c3
mov ecx, dword [esp + 0x1c]
jmp 0x441a25
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
sub ecx, dword [ebx + 8]
mov edx, dword [esp + 0x6c]
sub ecx, dword [ebx]
dec edx
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x1c], ecx
je 0x441bc4
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [esi + 4]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x3c], eax
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x3c]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4418c7
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x28]
lea edx, [ecx + eax]
add ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x4c], ecx
cmp eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
cmovg eax, dword [esp + 0x70]
test ecx, ecx
jle 0x441bac
sub eax, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
push 0xcc0020
lea edx, [eax + ecx]
mov eax, dword [esp + 0x20]
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 + 0x3c]
push edi
push dword [esp + 0x60]
push ecx
push eax
push edx
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x2c], 1
je 0x441bac
mov eax, dword [esp + 0x38]
jmp 0x441b52
sub dword [esp + 0x40], 1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
jne 0x441b1c
jmp 0x4418c3
mov eax, ecx
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4418c7
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
add edx, eax
add eax, ecx
mov dword [esp + 0x44], edx
mov edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x64]
add edx, eax
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x6c]
jle 0x441c1f
mov eax, ecx
mov ecx, dword [esp + 0x6c]
sub eax, edx
mov dword [esp + 0x30], ecx
add eax, ecx
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 + 0x44]
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 + 0x40], 1
je 0x4418c3
mov ecx, dword [esp + 0x1c]
jmp 0x441bdf
mov edi, dword [esp + 0x14]
cmp dword [ebx + 8], 0
mov esi, dword [esp + 0x20]
jle 0x441d19
mov edx, dword [ebx + 4]
test edx, edx
jle 0x441d19
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 + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x441d19
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 0x441dbc
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 + 0x24]
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 0x441dc0
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 + 0x24]
cmp dword [ebx + 8], 0
mov edi, dword [esp + 0x20]
jle 0x441e70
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 0x441e70
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 + 0x20]
mov esi, dword [ebx]
test esi, esi
jle 0x441f07
cmp dword [ebx + 0xc], 0
jle 0x441f07
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 + 0x24]
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 0x441f0b
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 + 0x24]
cmp dword [ebx + 0xc], 0
jle 0x441faf
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 0x441faf
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 0x441fb3
mov edi, dword [esp + 0x14]
cmp dword [ebx + 8], 0
jle 0x442053
cmp dword [ebx + 0xc], 0
jle 0x442053
mov ecx, dword [esp + 0x20]
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 + 0x28]
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 0x442053
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.004cdf2e
mov esp, ebp
pop ebp
ret