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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x705034]
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 [0x718998]
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 0x52f7ee
jmp 0x530bbf
mov edx, dword [esp + 0x18]
mov eax, dword [0x71899c]
mov ecx, 0x52e897
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x28], 0
mov dword [0x71899c], eax
je 0x530bad
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 [0x71899c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x5c], xmm0
je 0x530210
cmp byte [ebp + 0x18], 0
mov cl, byte [ebp + 0x1c]
jne 0x52f85f
cmp cl, 0xff
jae 0x530210
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 0x52fc6b
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 0x52fc65
cmp byte [ebp + 0x24], 0
jne 0x52fa43
cmp byte [ebp + 0x28], 0
jne 0x52f981
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 [0x71899c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x52fc67
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 0x52fc6b
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 0x52f9eb
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 [0x71899c]
sub dword [esp + 0x48], 1
je 0x52fc6b
mov ecx, dword [esp + 0x44]
jmp 0x52f9b5
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
dec edx
cmp byte [ebp + 0x28], 0
mov ebx, dword [esp + 0x10]
je 0x52fbab
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 0x52fc6b
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 0x52fadc
sub ecx, edx
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x54], 0
jle 0x52fb93
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 0x52fb41
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 [0x71899c]
sub dword [esp + 0x40], 1
je 0x52fb8f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
jmp 0x52fafd
mov eax, dword [esp + 0x28]
sub dword [esp + 0x30], 1
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
jne 0x52faad
jmp 0x52fc6b
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 0x52fc6b
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 0x52fc0e
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 [0x71899c]
sub dword [esp + 0x38], 1
je 0x52fc6b
mov ecx, dword [esp + 0x40]
jmp 0x52fbd0
mov ebx, edi
mov edi, dword [esp + 0xc]
mov edx, dword [ebx]
test edx, edx
jle 0x52fcf8
cmp dword [ebx + 4], 0
jle 0x52fdbd
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 0x52fcf8
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 [0x71899c]
cmp dword [ebx + 4], 0
jle 0x52fdbd
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 0x52fdb9
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 [0x71899c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov edi, dword [esp + 0x14]
test edx, edx
jle 0x52fe58
cmp dword [ebx + 4], 0
jle 0x52fe58
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 0x52fe58
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 [0x71899c]
cmp dword [ebx], 0
jle 0x52ff1e
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 0x52ff1a
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 [0x71899c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
test eax, eax
jle 0x52fff2
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 0x52ffee
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 [0x71899c]
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 0x530095
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x530095
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 0x530095
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 [0x71899c]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x530164
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 0x530160
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 [0x71899c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x530168
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x530b95
cmp dword [ebx + 0xc], 0
jle 0x530b95
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 0x530b95
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 [0x71899c]
jmp 0x530b95
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 0x5302c7
mov ecx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
sub ecx, dword [edi + 4]
sub eax, dword [esi + 4]
cmp eax, ecx
jne 0x5302c7
cmp dword [ebx], edx
jne 0x5302c7
cmp dword [ebx + 8], edx
jne 0x5302c7
cmp dword [ebx + 4], edx
jne 0x5302c7
cmp dword [ebx + 0xc], edx
jne 0x5302c7
push esi
push dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x530b95
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 0x530b95
cmp byte [ebp + 0x20], dl
jne 0x5303cd
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 0x5303c5
cmp byte [ebp + 0x24], 0
jne 0x5305c9
cmp byte [ebp + 0x28], 0
jne 0x530511
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 0x53045a
cmp dword [ebx + 4], 0
jle 0x53078b
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 0x53045a
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 0x53078b
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 0x53078b
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 0x53078f
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 0x5303c9
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 0x53056d
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 0x5303c9
mov ecx, dword [esp + 0x4c]
jmp 0x530543
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0xc]
dec edx
cmp byte [ebp + 0x28], 0
je 0x5306d3
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 0x5303c9
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 0x5306b7
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 0x5306b3
mov ecx, dword [esp + 0x34]
jmp 0x530657
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 0x53062f
jmp 0x5303c9
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 0x5303c9
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 0x53072c
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 0x5303c9
mov ecx, dword [esp + 0x4c]
jmp 0x5306fa
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x14]
test edx, edx
jle 0x53082b
cmp dword [ebx + 4], 0
jle 0x53082b
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 0x53082b
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 0x5308d7
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 0x5308d7
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 0x530992
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 0x530992
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 0x530996
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
test eax, eax
jle 0x530a3a
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x530a3a
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 0x530a3a
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 0x530af1
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 0x530af1
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 0x530af5
mov edi, dword [esp + 0x18]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x530b95
mov esi, dword [ebx + 0xc]
test esi, esi
jle 0x530b95
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 0x530b95
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.00621f5c
mov esp, ebp
pop ebp
ret
push 0x718998
call fcn.00622139
cmp dword [0x718998], 0xffffffff
pop ecx
jne 0x52f7ea
push str.AlphaBlend
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x718998
mov dword [0x71899c], eax
call fcn.006220fa
pop ecx
jmp 0x52f7ea