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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x706034]
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 [0x719998]
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 0x52faee
jmp 0x530ebf
mov edx, dword [esp + 0x18]
mov eax, dword [0x71999c]
mov ecx, 0x52eb97
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x28], 0
mov dword [0x71999c], eax
je 0x530ead
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 [0x71999c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x5c], xmm0
je 0x530510
cmp byte [ebp + 0x18], 0
mov cl, byte [ebp + 0x1c]
jne 0x52fb5f
cmp cl, 0xff
jae 0x530510
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 0x52ff6b
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 0x52ff65
cmp byte [ebp + 0x24], 0
jne 0x52fd43
cmp byte [ebp + 0x28], 0
jne 0x52fc81
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 [0x71999c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x52ff67
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 0x52ff6b
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 0x52fceb
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 [0x71999c]
sub dword [esp + 0x48], 1
je 0x52ff6b
mov ecx, dword [esp + 0x44]
jmp 0x52fcb5
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
dec edx
cmp byte [ebp + 0x28], 0
mov ebx, dword [esp + 0x10]
je 0x52feab
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 0x52ff6b
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 0x52fddc
sub ecx, edx
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x54], 0
jle 0x52fe93
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 0x52fe41
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 [0x71999c]
sub dword [esp + 0x40], 1
je 0x52fe8f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
jmp 0x52fdfd
mov eax, dword [esp + 0x28]
sub dword [esp + 0x30], 1
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
jne 0x52fdad
jmp 0x52ff6b
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 0x52ff6b
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 0x52ff0e
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 [0x71999c]
sub dword [esp + 0x38], 1
je 0x52ff6b
mov ecx, dword [esp + 0x40]
jmp 0x52fed0
mov ebx, edi
mov edi, dword [esp + 0xc]
mov edx, dword [ebx]
test edx, edx
jle 0x52fff8
cmp dword [ebx + 4], 0
jle 0x5300bd
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 0x52fff8
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 [0x71999c]
cmp dword [ebx + 4], 0
jle 0x5300bd
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 0x5300b9
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 [0x71999c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov edi, dword [esp + 0x14]
test edx, edx
jle 0x530158
cmp dword [ebx + 4], 0
jle 0x530158
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 0x530158
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 [0x71999c]
cmp dword [ebx], 0
jle 0x53021e
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 0x53021a
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 [0x71999c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
test eax, eax
jle 0x5302f2
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 0x5302ee
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 [0x71999c]
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 0x530395
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x530395
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 0x530395
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 [0x71999c]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x530464
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 0x530460
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 [0x71999c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x530468
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x530e95
cmp dword [ebx + 0xc], 0
jle 0x530e95
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 0x530e95
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 [0x71999c]
jmp 0x530e95
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 0x5305c7
mov ecx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
sub ecx, dword [edi + 4]
sub eax, dword [esi + 4]
cmp eax, ecx
jne 0x5305c7
cmp dword [ebx], edx
jne 0x5305c7
cmp dword [ebx + 8], edx
jne 0x5305c7
cmp dword [ebx + 4], edx
jne 0x5305c7
cmp dword [ebx + 0xc], edx
jne 0x5305c7
push esi
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x530e95
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 0x530e95
cmp byte [ebp + 0x20], dl
jne 0x5306cd
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 0x5306c5
cmp byte [ebp + 0x24], 0
jne 0x5308c9
cmp byte [ebp + 0x28], 0
jne 0x530811
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 0x53075a
cmp dword [ebx + 4], 0
jle 0x530a8b
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 0x53075a
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 0x530a8b
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 0x530a8b
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 0x530a8f
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 0x5306c9
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 0x53086d
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 0x5306c9
mov ecx, dword [esp + 0x4c]
jmp 0x530843
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
dec edx
cmp byte [ebp + 0x28], 0
je 0x5309d3
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 0x5306c9
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 0x5309b7
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 0x5309b3
mov ecx, dword [esp + 0x34]
jmp 0x530957
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 0x53092f
jmp 0x5306c9
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 0x5306c9
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 0x530a2c
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 0x5306c9
mov ecx, dword [esp + 0x4c]
jmp 0x5309fa
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x14]
test edx, edx
jle 0x530b2b
cmp dword [ebx + 4], 0
jle 0x530b2b
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 0x530b2b
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 0x530bd7
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 0x530bd7
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 0x530c92
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 0x530c92
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 0x530c96
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x530d3a
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x530d3a
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 0x530d3a
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 0x530df1
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 0x530df1
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 0x530df5
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x530e95
mov esi, dword [ebx + 0xc]
test esi, esi
jle 0x530e95
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 0x530e95
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.006221ee
mov esp, ebp
pop ebp
ret
push 0x719998
call fcn.006223ae
cmp dword [0x719998], 0xffffffff
pop ecx
jne 0x52faea
push str.AlphaBlend
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x719998
mov dword [0x71999c], eax
call fcn.0062236f
pop ecx
jmp 0x52faea