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

Disassembly:
sub esp, 0x9c
test byte [0x5f0d04], 1
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
mov ebp, dword [esp + 0xb8]
push esi
push edi
mov edi, dword [esp + 0xbc]
mov esi, eax
jne 0x45057d
or dword [0x5f0d04], 1
push str.AlphaBlend
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5f0d00], eax
cmp dword [0x5f0d00], 0
jne 0x450590
mov dword [0x5f0d00], 0x44fae0
cmp dword [esp + 0xb4], 0
je 0x45196a
mov eax, dword [esi]
fldz
mov ecx, dword [esi + 4]
fld dword [esp + 0xc8]
mov edx, dword [esi + 0xc]
fcom st(1)
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 8]
mov esi, dword [eax]
mov dword [esp + 0x24], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x28], esi
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xc]
mov edi, dword [ebp]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
fnstsw ax
mov dword [esp + 0x2c], esi
fstp st(1)
mov esi, dword [ebp + 4]
mov dword [esp + 0x9c], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
test ah, 0x41
jne 0x45073b
fmul qword [0x5d9888]
sub ecx, dword [esp + 0x38]
sub edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xb4]
fdiv qword [0x5d97d8]
mov ebp, ecx
lea ecx, [esp + 0x34]
push ecx
push ecx
mov dword [esp + 0x70], edx
lea ecx, [esp + 0x40]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp]
push edx
push ebp
push ebx
lea edx, [esp + 0xb0]
push edx
push eax
call fcn.0044ffd0
add esp, 0x1c
push 4
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
sub eax, ebp
sub ecx, dword [esp + 0x68]
test eax, eax
jle 0x4506eb
mov ebp, dword [esp + 0xb8]
cdq
sub eax, edx
mov edx, dword [ebp]
mov ebp, dword [ebp + 8]
sar eax, 1
sub edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx]
sub edx, eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 8]
add ebp, eax
add edx, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x90], edx
jmp 0x4506ef
mov ebp, dword [esp + 0x2c]
test ecx, ecx
jle 0x45076b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xb8]
mov ecx, dword [edx + 4]
sar eax, 1
sub ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 4]
sub edx, eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xc]
add ecx, eax
add edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x94], edx
jmp 0x45076f
push ebx
fstp st(0)
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0xb4]
push ecx
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push ebx
mov dword [esp + 0xa4], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
cmp dword [0x5f0d00], eax
je 0x45103a
mov dl, byte [esp + 0xc4]
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], al
mov byte [esp + 0x5e], dl
mov byte [esp + 0x5f], 1
cmp byte [esp + 0xcc], al
jne 0x450b35
sub ecx, dword [esp + 0x58]
sub ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub ecx, esi
sub ecx, dword [esp + 0x28]
sub ebp, edi
sub ebp, dword [esp + 0x24]
add eax, edi
add edx, esi
add ecx, edx
add ebp, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450b2d
cmp byte [esp + 0xd0], 0
jne 0x450899
cmp byte [esp + 0xd4], 0
jne 0x450a8d
mov edx, dword [esp + 0x18]
sub dword [esp + 0x20], edx
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x40]
sub ebp, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub edx, esi
sub edx, dword [esp + 0x40]
sub ebp, edi
push edx
mov edx, dword [esp + 0x40]
sub ebp, edx
push ebp
mov ebp, dword [esp + 0x48]
add ebp, esi
push ebp
add edx, edi
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push edx
sub eax, ecx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push ebx
call dword [0x5f0d00]
jmp 0x450b2d
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x54]
sub ecx, edi
sub ecx, dword [esp + 0x38]
mov edx, ecx
sub edx, dword [esp + 0x14]
cmp byte [esp + 0xd4], 0
je 0x4509ee
mov eax, dword [esp + 0x1c]
lea eax, [edx + eax - 1]
cdq
idiv ecx
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov dword [esp + 0x70], ecx
sub ebp, esi
sub ebp, dword [esp + 0x3c]
mov edx, ebp
sub edx, dword [esp + 0x18]
mov dword [esp + 0x64], ebp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x20]
lea eax, [edx + eax - 1]
cdq
idiv ebp
test eax, eax
jle 0x450b2d
xor edx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x74], eax
lea eax, [edx + ebp]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
add eax, edx
cmp eax, dword [esp + 0x20]
mov dword [esp + 0xa0], ebp
jle 0x45093b
mov edx, ebp
sub edx, eax
mov eax, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xa4]
test edx, edx
jle 0x4509d6
sub eax, dword [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x98], eax
xor eax, eax
jmp 0x450960
mov ebp, dword [esp + 0x14]
lea edx, [eax + ebp]
add eax, ecx
mov dword [esp + 0x6c], eax
add eax, ebp
mov ebp, dword [esp + 0x1c]
cmp eax, ebp
jle 0x450981
mov ecx, dword [esp + 0x70]
sub ecx, eax
add ecx, ebp
mov eax, ebp
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0xa4]
push ebp
push ecx
mov ecx, dword [esp + 0x48]
add ecx, esi
push ecx
mov ecx, dword [esp + 0x48]
add ecx, edi
push ecx
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x34]
sub eax, edx
push eax
mov eax, dword [esp + 0x88]
add eax, ecx
push eax
push edx
push ebx
call dword [0x5f0d00]
sub dword [esp + 0x74], 1
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
jne 0x450960
mov ebp, dword [esp + 0x64]
sub dword [esp + 0x48], 1
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], edx
jne 0x450906
jmp 0x450b2d
mov ebp, dword [esp + 0x1c]
lea eax, [edx + ebp - 1]
cdq
idiv ecx
mov dword [esp + 0x60], ecx
test eax, eax
jle 0x450b2d
xor edx, edx
mov dword [esp + 0x48], eax
jmp 0x450a18
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x64], eax
lea eax, [edx + ecx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
add eax, edx
cmp eax, ebp
jle 0x450a39
sub ecx, eax
add ecx, ebp
mov eax, ebp
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
sub ebp, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x40]
sub ebp, esi
sub ebp, edx
push ebp
push ecx
lea ecx, [esi + edx]
mov edx, dword [esp + 0x44]
push ecx
lea ecx, [edi + edx]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x80]
sub eax, ecx
push eax
push edx
push ecx
push ebx
call dword [0x5f0d00]
sub dword [esp + 0x48], 1
mov edx, dword [esp + 0x6c]
jne 0x450a10
jmp 0x450b2d
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub ebp, esi
sub ebp, dword [esp + 0x3c]
mov eax, ebp
sub eax, ecx
lea eax, [eax + edx - 1]
cdq
idiv ebp
mov edx, eax
test edx, edx
jle 0x450b2d
xor eax, eax
mov dword [esp + 0x48], edx
jmp 0x450ac4
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
add eax, ebp
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
add eax, ecx
cmp eax, edx
mov ecx, ebp
jle 0x450ae3
sub ecx, eax
add ecx, edx
mov eax, edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x40]
sub edx, edi
sub edx, ecx
push edx
mov edx, dword [esp + 0x48]
add edx, esi
push edx
mov edx, dword [esp + 0x44]
add ecx, edi
push ecx
mov ecx, dword [esp + 0x74]
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push ebx
call dword [0x5f0d00]
sub dword [esp + 0x48], 1
mov eax, dword [esp + 0x64]
jne 0x450ac0
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
test edi, edi
jle 0x450bc9
test esi, esi
jle 0x450c6b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450bc1
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push ebp
push edx
sub eax, ecx
push eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test esi, esi
jle 0x450c6b
sub ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea eax, [edi + ecx]
sub ebp, edi
sub ebp, ecx
add ebp, eax
mov dword [esp + 0x14], eax
lea eax, [esi + edx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450c63
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub dword [esp + 0x24], edx
push esi
sub ebp, edi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
add ebp, edi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x54], 0
jle 0x450d07
test esi, esi
jle 0x450d07
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
sub ebp, ecx
add ecx, ebp
mov dword [esp + 0x1c], ecx
lea ecx, [esi + eax]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x8c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450cff
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x20], edx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
sub ebp, dword [esp + 0x64]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test edi, edi
jle 0x450da8
sub ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub ecx, esi
lea eax, [esi + ebp]
sub ecx, ebp
add ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
add edx, edi
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450da0
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x48]
sub ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub dword [esp + 0x24], edx
sub ebp, esi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x44]
push edi
add ebp, esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x54], 0
jle 0x450e57
sub ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
sub ecx, esi
sub ecx, dword [esp + 0x28]
add eax, esi
sub ebp, edx
add ecx, eax
add edx, ebp
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450e4f
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x48]
sub ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub dword [esp + 0x24], edx
sub ebp, esi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x48]
add esi, ebp
push esi
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
push esi
mov esi, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x38]
push esi
push eax
push edx
push ecx
push ebx
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x58]
test edi, edi
jle 0x450eef
test esi, esi
jle 0x450f91
mov eax, dword [esp + 0x24]
sub ecx, esi
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450ee7
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x48]
push esi
push edi
sub ebp, esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push ebp
push edx
sub eax, ecx
push eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test esi, esi
jle 0x450f91
sub ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
lea eax, [edi + edx]
sub ebp, edi
sub ecx, esi
sub ebp, edx
add ebp, eax
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450f89
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub dword [esp + 0x24], edx
push esi
sub ebp, edi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x50]
sub ebp, esi
mov esi, dword [esp + 0x44]
push ebp
add edi, esi
mov esi, dword [esp + 0x44]
push edi
push esi
mov esi, dword [esp + 0x38]
push esi
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [0x5f0d00]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x54], 0
jle 0x451950
cmp dword [esp + 0x58], 0
jle 0x451950
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, edx
sub ebp, eax
add edx, ecx
mov dword [esp + 0x18], ecx
add eax, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x451950
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x5c]
push edi
push ebp
mov ebp, dword [esp + 0x50]
sub ebp, edi
mov edi, dword [esp + 0x44]
push ebp
push edi
sub edx, esi
push edx
sub eax, ecx
push eax
push esi
push ecx
push ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call dword [0x5f0d00]
jmp 0x451950
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov edx, ebp
sub edx, dword [esp + 0x24]
cmp edx, eax
jne 0x4510ee
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov edx, ecx
sub edx, dword [esp + 0x28]
cmp edx, eax
jne 0x4510ee
test edi, edi
jne 0x4510ee
cmp dword [esp + 0x54], edi
jne 0x4510ee
test esi, esi
jne 0x4510ee
cmp dword [esp + 0x58], esi
jne 0x4510ee
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x451950
mov eax, dword [esp + 0x7c]
push 0xcc0020
mov ecx, eax
sub ecx, dword [esp + 0x2c]
add ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x80]
mov edx, ecx
sub edx, dword [esp + 0x2c]
add edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x94]
sub edx, eax
push edx
mov edx, dword [esp + 0x94]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x451950
cmp byte [esp + 0xcc], 0
jne 0x451453
mov eax, dword [esp + 0x24]
sub ecx, dword [esp + 0x58]
sub ebp, dword [esp + 0x54]
lea edx, [edi + eax]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
sub ecx, esi
sub ecx, dword [esp + 0x28]
add edx, esi
sub ebp, edi
add ecx, edx
sub ebp, eax
add ebp, dword [esp + 0x14]
lea eax, [esp + 0x14]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45144b
cmp byte [esp + 0xd0], 0
jne 0x4511ce
cmp byte [esp + 0xd4], 0
jne 0x4513ad
mov edx, dword [esp + 0x18]
sub dword [esp + 0x20], edx
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x40]
sub ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0xcc0020
sub edx, esi
sub edx, dword [esp + 0x40]
sub ebp, edi
push edx
mov edx, dword [esp + 0x40]
sub ebp, edx
push ebp
mov ebp, dword [esp + 0x48]
add ebp, esi
push ebp
add edx, edi
push edx
mov edx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x38]
push edx
sub eax, ecx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x45144b
cmp byte [esp + 0xd4], 0
je 0x4512f6
mov ebp, dword [esp + 0x40]
sub ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
sub ebp, edi
sub ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, ebp
sub edx, dword [esp + 0x14]
sub ecx, dword [esp + 0x58]
lea eax, [edx + eax - 1]
cdq
idiv ebp
sub ecx, esi
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x18]
mov edx, ecx
sub edx, ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
lea eax, [edx + eax - 1]
cdq
idiv ecx
test eax, eax
jle 0x45144b
xor edx, edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x45124c
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
add ecx, edx
lea eax, [edx + ebp]
mov dword [esp + 0x64], eax
lea eax, [ecx + ebp]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x451269
mov eax, ecx
cmp dword [esp + 0x48], 0
jle 0x4512db
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x6c]
add ebp, eax
lea ecx, [eax + edx]
lea eax, [edx + ebp]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jle 0x45129c
mov eax, edx
mov edx, dword [esp + 0x3c]
push 0xcc0020
add edx, esi
push edx
mov edx, dword [esp + 0x40]
add edx, edi
push edx
mov edx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x84]
sub eax, ecx
push eax
mov eax, dword [esp + 0x30]
add eax, edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x68], 1
mov eax, ebp
jne 0x451282
sub dword [esp + 0x74], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x70], eax
jne 0x451240
jmp 0x45144b
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
sub ecx, edi
sub ecx, dword [esp + 0x38]
mov edx, ecx
sub edx, dword [esp + 0x14]
mov dword [esp + 0x60], ecx
lea eax, [edx + ebp - 1]
cdq
idiv ecx
test eax, eax
jle 0x45144b
xor edx, edx
mov dword [esp + 0x48], eax
jmp 0x451338
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x64], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
add eax, edx
cmp eax, ebp
jle 0x451359
sub ecx, eax
add ecx, ebp
mov eax, ebp
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
push 0xcc0020
sub ebp, esi
sub ebp, edx
push ebp
push ecx
lea ecx, [esi + edx]
mov edx, dword [esp + 0x44]
push ecx
lea ecx, [edi + edx]
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x80]
sub eax, ecx
push eax
push edx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x48], 1
mov edx, dword [esp + 0x6c]
jne 0x451330
jmp 0x45144b
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub ecx, esi
sub ecx, dword [esp + 0x3c]
mov eax, ecx
sub eax, ebp
lea eax, [eax + edx - 1]
cdq
idiv ecx
mov dword [esp + 0x48], ecx
mov edx, eax
test edx, edx
jle 0x45144b
xor eax, eax
mov dword [esp + 0x68], edx
jmp 0x4513e8
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea edx, [eax + ebp]
add eax, ecx
mov dword [esp + 0x60], eax
add eax, ebp
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jle 0x451405
mov ecx, dword [esp + 0x48]
sub ecx, eax
add ecx, ebp
mov eax, ebp
mov ebp, dword [esp + 0x40]
sub ebp, dword [esp + 0x54]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x40]
sub ebp, edi
sub ebp, ecx
push ebp
mov ebp, dword [esp + 0x48]
add ecx, edi
add ebp, esi
push ebp
push ecx
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x2c]
sub eax, edx
push eax
mov eax, dword [esp + 0x38]
push eax
push edx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x68], 1
mov eax, dword [esp + 0x60]
jne 0x4513e0
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
test edi, edi
jle 0x4514e7
test esi, esi
jle 0x451589
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4514df
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push esi
push edi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push ebp
push edx
sub eax, ecx
push eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test esi, esi
jle 0x451589
sub ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea eax, [edi + edx]
sub ebp, edi
sub ebp, edx
add ebp, eax
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x451581
mov ebp, dword [esp + 0x40]
sub ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x20], edx
push 0xcc0020
push esi
sub ebp, edi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
add ebp, edi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x54], 0
jle 0x451625
test esi, esi
jle 0x451625
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
sub ebp, ecx
add ecx, ebp
mov dword [esp + 0x1c], ecx
lea ecx, [esi + eax]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x8c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45161d
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x20], edx
push 0xcc0020
push esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
sub ebp, dword [esp + 0x64]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test edi, edi
jle 0x4516c7
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
lea eax, [esi + edx]
sub ecx, esi
sub ecx, edx
add ecx, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
lea edx, [edi + ebp]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4516bf
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x20], edx
push 0xcc0020
sub ebp, esi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x44]
push edi
add ebp, esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x54], 0
jle 0x451776
sub ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
sub ecx, esi
sub ecx, dword [esp + 0x28]
add eax, esi
sub ebp, edx
add ecx, eax
add edx, ebp
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45176e
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x20], edx
sub ebp, esi
sub ebp, dword [esp + 0x3c]
push 0xcc0020
push ebp
mov ebp, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x48]
add esi, ebp
push esi
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x64]
sub eax, ecx
push esi
mov esi, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x38]
push esi
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x58]
test edi, edi
jle 0x45180e
test esi, esi
jle 0x4518b0
mov eax, dword [esp + 0x24]
sub ecx, esi
lea edx, [edi + eax]
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x451806
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push esi
push edi
sub ebp, esi
push ebp
mov ebp, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x48]
push ebp
push edx
sub eax, ecx
push eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x38]
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test esi, esi
jle 0x4518b0
sub ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
lea eax, [edi + edx]
sub ebp, edi
sub ecx, esi
sub ebp, edx
add ebp, eax
mov dword [esp + 0x14], eax
lea eax, [esi + ecx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4518a8
mov ebp, dword [esp + 0x40]
sub ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub dword [esp + 0x20], edx
push 0xcc0020
push esi
sub ebp, edi
sub ebp, dword [esp + 0x40]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x50]
sub ebp, esi
mov esi, dword [esp + 0x44]
push ebp
add edi, esi
mov esi, dword [esp + 0x44]
push edi
push esi
mov esi, dword [esp + 0x38]
push esi
push eax
push edx
push ecx
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x54], 0
jle 0x451950
cmp dword [esp + 0x58], 0
jle 0x451950
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub ecx, edx
sub ebp, eax
add edx, ecx
mov dword [esp + 0x18], ecx
add eax, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x451950
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x44]
sub ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push edi
mov edi, dword [esp + 0x5c]
push edi
push ebp
mov ebp, dword [esp + 0x50]
sub ebp, edi
mov edi, dword [esp + 0x44]
push ebp
push edi
sub edx, esi
push edx
sub eax, ecx
push eax
push esi
push ecx
push ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x34]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret