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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x70a034]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword fs:[0x2c]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x20], edx
mov edx, ecx
mov ecx, dword [eax]
mov eax, dword [0x71dbd8]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
cmp eax, dword [ecx + 4]
jle 0x532c45
jmp 0x534016
mov edx, dword [esp + 0x18]
mov eax, dword [0x71dbdc]
mov ecx, 0x531ce5
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x28], 0
mov dword [0x71dbdc], eax
je 0x534004
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x28]
mov dword [esp + 0x20], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push dword [esp + 0x1c]
mov dword [esp + 0x60], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp dword [0x71dbdc], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x5c], xmm0
je 0x533667
cmp byte [ebp + 0x18], 0
mov cl, byte [ebp + 0x1c]
jne 0x532cb6
cmp cl, 0xff
jae 0x533667
xor eax, eax
mov byte [esp + 0x22], cl
mov word [esp + 0x20], ax
mov byte [esp + 0x23], 1
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], eax
cmp byte [ebp + 0x20], al
jne 0x5330c2
mov esi, dword [esp + 0x14]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [esi]
mov edx, dword [esi + 4]
lea ecx, [eax + edi]
mov dword [esp + 0x5c], ecx
lea ecx, [edx + ebx]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x10]
sub ecx, dword [esi + 8]
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, edi
mov edi, esi
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
lea ecx, [edx + ebx]
mov eax, dword [eax + 0xc]
sub eax, dword [edi + 0xc]
sub eax, edx
sub eax, ebx
add eax, ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x5330bc
cmp byte [ebp + 0x24], 0
jne 0x532e9a
cmp byte [ebp + 0x28], 0
jne 0x532dd8
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, edi
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
sub eax, ecx
sub eax, edi
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub eax, edx
sub eax, ebx
push eax
lea eax, [ecx + edi]
push eax
lea eax, [edx + ebx]
push eax
push dword [esp + 0x30]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x5330be
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
dec edx
mov ecx, dword [edi + 0xc]
sub ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
sub ecx, dword [edi + 4]
mov eax, ecx
mov dword [esp + 0x44], ecx
sub eax, dword [esp + 0x60]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x48], eax
test eax, eax
jle 0x5330c2
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
cmp ecx, edx
jle 0x532e42
sub eax, ecx
mov dword [esp + 0x28], edx
add eax, edx
mov ecx, dword [edi]
mov edx, dword [ebx]
push esi
push eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
sub eax, ecx
sub eax, edx
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 + 0x30]
mov eax, dword [esp + 0x40]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
sub dword [esp + 0x48], 1
je 0x5330c2
mov ecx, dword [esp + 0x44]
jmp 0x532e0c
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
dec edx
cmp byte [ebp + 0x28], 0
mov ebx, dword [esp + 0x10]
je 0x533002
mov eax, dword [edi + 8]
sub eax, dword [ebx]
sub eax, dword [edi]
sub eax, dword [ebx + 8]
mov dword [esp + 0x44], eax
sub eax, dword [esp + 0x5c]
add eax, edx
mov ecx, dword [edi + 0xc]
cdq
idiv dword [esp + 0x44]
sub ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
sub ecx, dword [edi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x28], ecx
sub ecx, dword [esp + 0x60]
add eax, ecx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x5330c2
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], eax
lea esi, [edx + ecx]
add edx, eax
mov dword [esp + 0x3c], edx
add edx, ecx
mov ecx, eax
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x20]
cmp edx, dword [esp + 0x68]
jle 0x532f33
sub ecx, edx
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x54], 0
jle 0x532fea
sub edx, dword [esp + 0x40]
xor eax, eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebx
add eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
jle 0x532f98
sub eax, dword [esp + 0x48]
mov edi, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0xc]
push esi
push ecx
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x60]
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x80]
push eax
push ecx
push dword [esp + 0x40]
call dword [0x71dbdc]
sub dword [esp + 0x40], 1
je 0x532fe6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
jmp 0x532f54
mov eax, dword [esp + 0x28]
sub dword [esp + 0x30], 1
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
jne 0x532f04
jmp 0x5330c2
mov ecx, dword [edi + 8]
sub ecx, dword [ebx]
sub ecx, dword [edi]
sub ecx, dword [ebx + 8]
mov eax, ecx
mov dword [esp + 0x40], ecx
sub eax, dword [esp + 0x5c]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x5330c2
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
lea esi, [eax + edx]
add eax, ecx
mov ecx, eax
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
lea ecx, [eax + edx]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
jle 0x533065
sub eax, ecx
mov dword [esp + 0x2c], edx
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov ecx, dword [edi + 4]
sub eax, ecx
mov edx, dword [ebx + 4]
sub eax, edx
push esi
push eax
push dword [esp + 0x38]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x44]
push dword [esp + 0x80]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x40]
call dword [0x71dbdc]
sub dword [esp + 0x38], 1
je 0x5330c2
mov ecx, dword [esp + 0x40]
jmp 0x533027
mov ebx, edi
mov edi, dword [esp + 0xc]
mov edx, dword [ebx]
test edx, edx
jle 0x53314f
cmp dword [ebx + 4], 0
jle 0x533214
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
add edx, eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x53314f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
push esi
push dword [ebx + 4]
mov dword [esp + 0x6c], ecx
push dword [ebx]
mov dword [esp + 0x74], eax
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
cmp dword [ebx + 4], 0
jle 0x533214
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edx, dword [ebx]
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub eax, ecx
mov dword [esp + 0x60], edi
sub eax, edx
lea ebx, [ecx + edx]
add eax, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
add eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x533210
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub edi, dword [esp + 0x68]
sub eax, ecx
sub ebx, dword [esp + 0x64]
sub eax, edx
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov edi, dword [esp + 0x14]
test edx, edx
jle 0x5332af
cmp dword [ebx + 4], 0
jle 0x5332af
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
sub ecx, edx
add edx, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 4]
add ecx, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], edx
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5332af
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
push esi
push dword [ebx + 4]
mov dword [esp + 0x6c], edx
push dword [ebx + 8]
mov dword [esp + 0x74], ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x30]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
cmp dword [ebx], 0
jle 0x533375
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ebx, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [edi + 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [esi + 0xc]
sub ecx, eax
mov dword [esp + 0x5c], ebx
lea edi, [eax + edx]
sub ecx, edx
mov eax, dword [esi]
add ecx, edi
add eax, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x533371
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
sub ebx, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
sub eax, ecx
mov dword [esp + 0x68], ebx
sub eax, edx
mov dword [esp + 0x6c], edi
push eax
mov eax, esi
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
test eax, eax
jle 0x533449
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ebx, dword [ecx + 8]
sub ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [esi + 0xc]
sub ecx, eax
lea edi, [eax + edx]
sub ecx, edx
mov eax, dword [esi + 8]
add ecx, edi
add eax, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x533445
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
sub ebx, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
sub eax, ecx
mov dword [esp + 0x68], ebx
sub eax, edx
mov dword [esp + 0x6c], edi
push eax
mov eax, esi
push dword [eax + 8]
lea eax, [ecx + edx]
mov ecx, esi
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [ecx + 8]
push eax
push dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x5334ec
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x5334ec
mov eax, dword [edi]
add dword [esp + 0x28], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
sub ecx, edx
mov eax, dword [esp + 0x28]
add edx, ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x68], ecx
push eax
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5334ec
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x5c]
push esi
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
push dword [ebx]
mov dword [esp + 0x74], ecx
push eax
push dword [edi]
push dword [esp + 0x30]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [0x71dbdc]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x5335bb
mov ecx, dword [edi]
mov edi, dword [edi + 0xc]
mov edx, dword [ebx]
sub edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], edi
lea ebx, [ecx + edx]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x10]
sub eax, edx
sub eax, dword [ecx + 8]
add eax, ebx
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0xc]
add eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5335b7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x6c]
sub eax, ecx
sub ebx, dword [esp + 0x64]
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x34]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [0x71dbdc]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x5335bf
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x533fec
cmp dword [ebx + 0xc], 0
jle 0x533fec
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
sub eax, dword [ebx + 0xc]
add edx, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0xc]
add ecx, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], edx
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533fec
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
push esi
push dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
push dword [ebx + 8]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 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 + 0x30]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [0x71dbdc]
jmp 0x533fec
mov eax, dword [esi + 8]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
mov dword [esp + 0x3c], edx
xor edx, edx
cmp ecx, eax
jne 0x53371e
mov ecx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
sub ecx, dword [edi + 4]
sub eax, dword [esi + 4]
cmp eax, ecx
jne 0x53371e
cmp dword [ebx], edx
jne 0x53371e
cmp dword [ebx + 8], edx
jne 0x53371e
cmp dword [ebx + 4], edx
jne 0x53371e
cmp dword [ebx + 0xc], edx
jne 0x53371e
push esi
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533fec
mov eax, dword [edi + 4]
sub eax, dword [esi + 4]
add eax, dword [esp + 0x70]
push 0xcc0020
push eax
mov eax, dword [edi]
sub eax, dword [esi]
add eax, dword [esp + 0x74]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x533fec
cmp byte [ebp + 0x20], dl
jne 0x533824
mov eax, dword [ebx]
sub dword [esp + 0x20], eax
mov edi, dword [esi]
mov ecx, dword [esi + 4]
add edi, eax
mov eax, dword [esp + 0x20]
sub eax, dword [ebx + 8]
sub eax, dword [esp + 0x3c]
mov edx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edi
lea esi, [ecx + edx]
mov dword [esp + 0x60], esi
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sub eax, edx
add ecx, edi
add eax, esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x53381c
cmp byte [ebp + 0x24], 0
jne 0x533a20
cmp byte [ebp + 0x28], 0
jne 0x533968
mov ebx, dword [esp + 0x68]
sub ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0xc]
push 0xcc0020
mov esi, dword [eax + 4]
mov edi, dword [eax]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x14]
sub eax, dword [ebx + 0xc]
sub eax, ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
sub eax, edx
sub eax, edi
sub eax, dword [ebx + 8]
mov ebx, dword [esp + 0x70]
push eax
lea eax, [ecx + esi]
push eax
lea eax, [edx + edi]
push eax
push dword [esp + 0x30]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov edx, dword [ebx]
test edx, edx
jle 0x5338b1
cmp dword [ebx + 4], 0
jle 0x533be2
mov eax, dword [esi]
add edx, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x5338b1
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
sub eax, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], ecx
push dword [ebx]
mov dword [esp + 0x74], eax
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x30]
push eax
push ecx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp dword [ebx + 4], 0
jle 0x533be2
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov edx, dword [ebx]
mov esi, dword [esi + 4]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x60], esi
sub eax, edx
lea edi, [ecx + edx]
sub eax, dword [ebx + 8]
add eax, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 4]
add eax, esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533be2
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], esi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x3c]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x533be6
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
dec edx
mov ecx, dword [edi + 0xc]
sub ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
sub ecx, dword [edi + 4]
mov eax, ecx
mov dword [esp + 0x4c], ecx
sub eax, dword [esp + 0x60]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x533820
xor esi, esi
mov edx, dword [esp + 0x60]
lea eax, [esi + edx]
mov dword [esp + 0x3c], eax
lea eax, [ecx + esi]
add edx, eax
mov esi, eax
mov eax, ecx
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x68]
jle 0x5339c4
mov ecx, dword [esp + 0x68]
sub eax, edx
add eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov edx, dword [ebx]
push 0xcc0020
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 + 0x4c]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x48]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x2c], 1
je 0x533820
mov ecx, dword [esp + 0x4c]
jmp 0x53399a
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
dec edx
cmp byte [ebp + 0x28], 0
je 0x533b2a
mov esi, dword [edi + 8]
sub esi, dword [ebx]
sub esi, dword [edi]
sub esi, dword [ebx + 8]
mov eax, esi
mov ecx, dword [edi + 0xc]
sub eax, dword [esp + 0x5c]
add eax, edx
sub ecx, dword [ebx + 0xc]
cdq
idiv esi
sub ecx, dword [ebx + 4]
sub ecx, dword [edi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
sub ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
idiv ecx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x533820
xor eax, eax
mov dword [esp + 0x38], eax
lea edx, [esi + eax]
add eax, ecx
add esi, eax
mov dword [esp + 0x50], eax
cmp esi, dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
cmovg esi, dword [esp + 0x68]
test eax, eax
jle 0x533b0e
sub esi, edx
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0xc]
push 0xcc0020
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [ebx + 4]
cmp ecx, dword [esp + 0x68]
cmovg ecx, dword [esp + 0x68]
add eax, dword [edi + 4]
sub ecx, edx
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x48]
push esi
push ecx
push eax
push edx
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x30], 1
je 0x533b0a
mov ecx, dword [esp + 0x34]
jmp 0x533aae
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x40], 1
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x38], eax
jne 0x533a86
jmp 0x533820
mov ecx, dword [edi + 8]
sub ecx, dword [ebx]
sub ecx, dword [edi]
sub ecx, dword [ebx + 8]
mov eax, ecx
mov dword [esp + 0x4c], ecx
sub eax, dword [esp + 0x5c]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x533820
xor esi, esi
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
lea eax, [esi + edx]
mov dword [esp + 0x3c], eax
lea eax, [ecx + esi]
add edx, eax
mov esi, eax
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x64]
jle 0x533b83
mov eax, ecx
mov ecx, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x2c], ecx
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov ecx, dword [edi + 4]
sub eax, ecx
mov edx, dword [ebx + 4]
sub eax, edx
push 0xcc0020
push eax
push dword [esp + 0x38]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x44]
push dword [esp + 0x80]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x38], 1
je 0x533820
mov ecx, dword [esp + 0x4c]
jmp 0x533b51
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x14]
test edx, edx
jle 0x533c82
cmp dword [ebx + 4], 0
jle 0x533c82
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
sub ecx, edx
add edx, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 4]
add ecx, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], edx
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533c82
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
sub edx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], edx
push dword [ebx + 8]
mov dword [esp + 0x74], ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x30]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp dword [ebx], 0
jle 0x533d2e
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov edx, dword [ebx + 4]
mov edi, dword [esi]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [ebx + 0xc]
lea esi, [eax + edx]
mov dword [esp + 0x5c], edi
sub ecx, eax
mov dword [esp + 0x60], esi
mov eax, dword [ebx]
sub ecx, edx
add eax, edi
add ecx, esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533d2e
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
push 0xcc0020
push eax
push dword [ebx]
lea eax, [ecx + edx]
mov dword [esp + 0x70], edi
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
push dword [eax]
push dword [esp + 0x30]
push esi
push edi
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebx + 8]
test eax, eax
jle 0x533de9
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov edi, dword [ecx + 8]
sub edi, eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [ebx + 0xc]
sub ecx, eax
mov dword [esp + 0x5c], edi
lea esi, [eax + edx]
sub ecx, edx
mov eax, dword [ebx + 8]
add ecx, esi
add eax, edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533de9
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
push 0xcc0020
push eax
push dword [ebx + 8]
lea eax, [ecx + edx]
mov dword [esp + 0x70], edi
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x30]
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x3c]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x533ded
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x533e91
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x533e91
mov eax, dword [esi]
add dword [esp + 0x28], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
sub ecx, edx
mov eax, dword [esp + 0x28]
add edx, ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
mov dword [esp + 0x68], ecx
push eax
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533e91
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
push dword [ebx]
mov dword [esp + 0x74], ecx
push eax
push dword [esi]
push dword [esp + 0x30]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x533f48
mov ecx, dword [esi]
mov esi, dword [esi + 0xc]
mov edx, dword [ebx]
sub esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], esi
lea edi, [ecx + edx]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x5c], edi
sub eax, edx
sub eax, dword [ebx + 8]
add eax, edi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0xc]
add eax, esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533f48
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub esi, dword [esp + 0x60]
sub eax, ecx
sub edi, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [ebx + 8]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], esi
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x3c]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x533f4c
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x533fec
mov esi, dword [ebx + 0xc]
test esi, esi
jle 0x533fec
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
sub eax, esi
mov dword [esp + 0x5c], ecx
add esi, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], esi
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x74]
add edx, ecx
push eax
mov dword [esp + 0x70], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x533fec
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
sub ecx, dword [esp + 0x60]
mov eax, dword [esi + 0xc]
sub eax, dword [ebx + 0xc]
sub edx, dword [esp + 0x5c]
push 0xcc0020
push dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
push dword [ebx + 8]
mov dword [esp + 0x74], ecx
push eax
mov eax, dword [esi + 8]
sub eax, dword [ebx + 8]
push eax
push dword [esp + 0x30]
push ecx
push edx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [esp + 0x58]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00625325
mov esp, ebp
pop ebp
ret
push 0x71dbd8
call fcn.00625502
cmp dword [0x71dbd8], 0xffffffff
pop ecx
jne 0x532c41
push str.AlphaBlend
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x71dbd8
mov dword [0x71dbdc], eax
call fcn.006254c3
pop ecx
jmp 0x532c41