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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x6ce488]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [0x6d95d0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x14], edi
test al, 1
jne 0x437f3e
push str.AlphaBlend
or eax, 1
push 0x6a4b14
mov dword [0x6d95d0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
jmp 0x437f43
mov eax, dword [0x6d95d4]
test eax, eax
mov edx, 0x437260
cmove eax, edx
cmp dword [esp + 0x28], 0
mov dword [0x6d95d4], eax
je 0x438fe5
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x28]
mov dword [esp + 0x28], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 3
push dword [esp + 0x24]
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp dword [0x6d95d4], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
je 0x438905
cmp byte [ebp + 0x18], 0
mov al, byte [ebp + 0x1c]
jne 0x437fae
cmp al, 0xff
jae 0x438905
cmp byte [ebp + 0x20], 0
mov word [esp + 0x34], 0
mov byte [esp + 0x36], al
mov byte [esp + 0x37], 1
mov esi, dword [esp + 0x34]
jne 0x4380ae
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
add eax, dword [ecx]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 8]
sub eax, dword [edi + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4380ae
cmp byte [ebp + 0x24], 0
mov ecx, dword [esp + 0x18]
jne 0x4386e0
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [edi + 4]
sub eax, dword [ecx + 4]
sub eax, dword [edi + 0xc]
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x28], eax
jne 0x43860a
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push esi
push dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x74], edi
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x3c]
push eax
mov eax, dword [esi]
add eax, ecx
push eax
push dword [esp + 0x38]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
test edx, edx
jle 0x438144
mov eax, dword [edi + 4]
test eax, eax
jle 0x438144
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], eax
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [edi + 4]
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438144
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
sub eax, ecx
mov edx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
sub edx, edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
push dword [esi + 4]
push dword [esi]
mov esi, dword [esp + 0x24]
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x38]
push eax
push edx
push ecx
push edi
push dword [esp + 0x48]
call dword [0x6d95d4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
test eax, eax
jle 0x4381fb
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
add eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 8]
sub eax, dword [edi + 8]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 4]
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4381fb
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x74]
sub edi, dword [esp + 0x6c]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x74], edi
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x38]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
cmp dword [edi + 8], 0
jle 0x43829b
mov eax, dword [edi + 4]
test eax, eax
jle 0x43829b
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
mov eax, ecx
sub eax, dword [edi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x64], eax
add eax, dword [edi + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43829b
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
sub edx, edi
push esi
push dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x78], edx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push dword [esp + 0x38]
push edx
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
test eax, eax
jle 0x43834f
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
add eax, dword [edi + 4]
mov ecx, dword [edx]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43834f
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
sub edi, dword [esp + 0x68]
mov dword [esp + 0x70], edi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edx
sub eax, dword [esi + 0xc]
push eax
mov eax, esi
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x38]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
cmp dword [edi + 8], 0
jle 0x438407
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
mov eax, ecx
sub eax, dword [edi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0xc]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438407
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 4]
mov edi, dword [edi + 8]
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov esi, dword [esp + 0x18]
sub eax, ecx
sub eax, edx
sub eax, dword [esi + 0xc]
push eax
push edi
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push dword [esp + 0x38]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
test eax, eax
jle 0x4384a8
cmp dword [edi + 0xc], 0
jle 0x43855c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, edx
sub eax, dword [edi + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4384a8
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
sub edx, edi
push esi
mov ecx, dword [eax + 0xc]
push ecx
push dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x38]
push edx
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov edi, dword [esp + 0x14]
cmp dword [edi + 0xc], 0
jle 0x43855c
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
add eax, dword [edx]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x60], eax
mov eax, ecx
sub eax, dword [edi + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 8]
sub eax, dword [edi + 8]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x43855c
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi]
push esi
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x18]
sub eax, edx
push ecx
sub eax, edi
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
lea eax, [edx + edi]
push eax
push dword [esp + 0x38]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
cmp dword [edi + 8], 0
jle 0x438fcd
cmp dword [edi + 0xc], 0
jle 0x438fcd
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, dword [edi + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x60], eax
mov eax, ecx
sub eax, dword [edi + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x70], edx
push eax
mov dword [esp + 0x78], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438fcd
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
push esi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x78], edi
mov eax, dword [esi + 0xc]
sub eax, ecx
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push dword [esp + 0x38]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
jmp 0x438fcd
sub eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
dec edx
add eax, edx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x48], eax
test eax, eax
jle 0x4380ae
xor eax, eax
nop dword [eax + eax]
mov edx, dword [esp + 0x64]
lea edi, [eax + edx]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
add eax, edi
add edx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], edi
cmp edx, dword [esp + 0x6c]
jle 0x438667
mov eax, edi
sub eax, edx
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx]
push esi
push dword [esp + 0x44]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x70], edi
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
add eax, dword [esi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x40]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x68]
sub eax, ecx
push eax
push edi
push ecx
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x6d95d4]
sub dword [esp + 0x48], 1
mov esi, dword [esp + 0x34]
je 0x4380aa
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
jmp 0x438630
mov eax, dword [ecx + 8]
sub eax, dword [edi + 8]
sub eax, dword [edi]
sub eax, dword [ecx]
mov dword [esp + 0x40], eax
sub eax, dword [esp + 0x60]
cmp byte [ebp + 0x28], 0
je 0x43882e
mov edx, dword [ecx + 0xc]
sub edx, dword [edi + 4]
sub edx, dword [ecx + 4]
sub edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x68]
dec ecx
mov dword [esp + 0x28], edx
add eax, ecx
mov ecx, dword [esp + 0x28]
cdq
idiv dword [esp + 0x40]
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4380ae
mov eax, dword [esp + 0x64]
xor edx, edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
nop word [eax + eax]
lea esi, [edx + eax]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x44], edx
add edx, eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x34]
cmp edx, ecx
jle 0x438781
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ecx, edx
mov dword [esp + 0x50], ecx
mov ecx, edx
cmp dword [esp + 0x48], 0
jle 0x438816
sub edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
xor edx, edx
mov dword [esp + 0x38], eax
nop
mov ecx, dword [esp + 0x60]
lea eax, [edx + ecx]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x4c], edx
add edx, ecx
mov ecx, dword [esp + 0x68]
cmp edx, ecx
jle 0x4387c5
sub eax, edx
mov edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x54]
push eax
mov eax, dword [edi + 4]
add eax, dword [ecx + 4]
push eax
mov eax, dword [edi]
add eax, dword [ecx]
mov ecx, dword [esp + 0x68]
sub edx, ecx
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x54]
push dword [esp + 0x6c]
add eax, dword [esp + 0x80]
push edx
push eax
push ecx
push dword [esp + 0x48]
call dword [0x6d95d4]
sub dword [esp + 0x38], 1
je 0x43880e
mov edx, dword [esp + 0x4c]
jmp 0x4387a0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
sub dword [esp + 0x30], 1
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
jne 0x438750
jmp 0x4380ae
mov edx, dword [esp + 0x68]
dec edx
add eax, edx
cdq
idiv dword [esp + 0x40]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x4380ae
xor eax, eax
mov dword [esp + 0x28], eax
nop dword [eax]
mov edi, dword [esp + 0x60]
add eax, edi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x30], edx
add edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], edi
cmp edi, dword [esp + 0x68]
jle 0x43888a
mov eax, edx
mov edx, dword [esp + 0x68]
sub eax, edi
mov dword [esp + 0x3c], edx
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x68]
mov dword [esp + 0x70], edi
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edx
sub eax, dword [esi + 0xc]
push eax
push dword [esp + 0x38]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x24]
push eax
mov eax, esi
mov eax, dword [eax]
add eax, dword [ecx]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x54]
push edi
sub eax, ecx
push eax
push dword [esp + 0x84]
push ecx
push dword [esp + 0x48]
call dword [0x6d95d4]
sub dword [esp + 0x38], 1
mov esi, dword [esp + 0x34]
je 0x4380aa
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
jmp 0x438850
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov ecx, dword [edx + 8]
sub ecx, dword [edx]
cmp ecx, eax
jne 0x4389a4
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
sub ecx, dword [esi + 4]
sub eax, dword [edx + 4]
cmp eax, ecx
jne 0x4389a4
cmp dword [edi], 0
jne 0x4389a4
cmp dword [edi + 8], 0
jne 0x4389a4
cmp dword [edi + 4], 0
jne 0x4389a4
cmp dword [edi + 0xc], 0
jne 0x4389a4
push edx
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438fcd
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x74]
push 0xcc0020
sub eax, dword [ecx + 4]
add eax, edx
push eax
mov eax, dword [esi]
sub eax, dword [ecx]
mov ecx, dword [esp + 0x78]
add eax, ecx
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
sub eax, edx
push eax
mov eax, dword [esp + 0x8c]
sub eax, ecx
push eax
push edx
push ecx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x438fcd
cmp byte [ebp + 0x20], 0
jne 0x438a83
mov eax, dword [edi]
add eax, dword [edx]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 8]
sub eax, dword [edi + 8]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438a7f
cmp byte [ebp + 0x24], 0
jne 0x4390ca
mov ecx, dword [esi + 4]
mov esi, dword [esi + 0xc]
sub esi, ecx
mov dword [esp + 0x44], ecx
sub esi, dword [edi + 4]
sub esi, dword [edi + 0xc]
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x48], esi
jne 0x438ff9
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, edi
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x64]
push 0xcc0020
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x4c]
mov dword [esp + 0x74], esi
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, ecx
sub eax, edx
sub eax, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
add eax, dword [esp + 0x50]
push eax
mov eax, dword [edi]
mov edi, dword [esp + 0x74]
add eax, ecx
push eax
push dword [esp + 0x38]
push esi
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [edi]
test esi, esi
jle 0x438b07
mov eax, dword [edi + 4]
test eax, eax
jle 0x438b07
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x60], eax
add eax, esi
mov dword [esp + 0x68], eax
mov eax, dword [edi + 4]
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438b07
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
sub eax, ecx
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x60]
push 0xcc0020
push dword [edi + 4]
mov dword [esp + 0x70], edx
push dword [edi]
mov dword [esp + 0x78], eax
push dword [esi + 4]
push dword [esi]
mov esi, dword [esp + 0x74]
push dword [esp + 0x38]
push eax
push edx
push ecx
push esi
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x1c]
test edx, edx
jle 0x438bba
mov eax, dword [edi]
add eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 8]
sub eax, dword [edi + 8]
mov dword [esp + 0x68], eax
lea eax, [ecx + edx]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438bba
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x64]
mov edx, dword [eax]
mov ecx, dword [edi]
push 0xcc0020
push dword [eax + 4]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x1c]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x74], esi
sub eax, dword [edi + 8]
mov edi, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x38]
push esi
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 8]
test edx, edx
jle 0x438c58
mov eax, dword [edi + 4]
test eax, eax
jle 0x438c58
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x64], eax
add eax, dword [edi + 4]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438c58
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
sub edx, esi
mov edi, dword [esp + 0x68]
mov ecx, dword [eax + 8]
sub edi, dword [esp + 0x60]
push 0xcc0020
push dword [eax + 4]
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push dword [esp + 0x38]
push edx
push edi
push esi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
mov esi, dword [esp + 0x1c]
test edx, edx
jle 0x438d0d
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x64], eax
lea eax, [ecx + edx]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xc]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438d0d
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x64]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
push 0xcc0020
mov dword [esp + 0x70], esi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edx
sub eax, dword [edi + 0xc]
push eax
mov eax, edi
mov edi, dword [esp + 0x6c]
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x38]
push esi
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 8]
test edx, edx
jle 0x438dc7
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xc]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438dc7
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x18]
push 0xcc0020
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x18]
sub eax, ecx
sub eax, edx
sub eax, dword [edi + 0xc]
mov edi, dword [esp + 0x70]
push eax
push esi
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
sub eax, esi
push eax
push dword [esp + 0x38]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov esi, dword [esp + 0x1c]
test eax, eax
jle 0x438e6e
cmp dword [edi + 0xc], 0
jle 0x438e6e
mov edx, dword [esi + 0xc]
mov eax, edx
sub eax, dword [edi + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438e6e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x64]
sub edx, esi
mov edi, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
push 0xcc0020
sub edi, dword [esp + 0x64]
push ecx
push dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x38]
push edx
push edi
push esi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
test edx, edx
jle 0x438f24
mov eax, dword [edi]
add eax, dword [esi]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x60], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
sub eax, dword [edi + 8]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438f24
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
push 0xcc0020
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [eax + 8]
sub eax, edx
sub eax, esi
sub eax, dword [edi + 8]
mov edi, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
lea eax, [edx + esi]
push eax
push dword [esp + 0x38]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 8]
test esi, esi
jle 0x438fcd
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x438fcd
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov eax, edx
mov ecx, dword [ecx + 0xc]
sub eax, esi
mov dword [esp + 0x60], eax
mov eax, ecx
sub eax, edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x438fcd
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
sub esi, edi
push 0xcc0020
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x78], esi
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
sub eax, edx
push eax
push dword [esp + 0x38]
push esi
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [esp + 0x5c]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x6c]
mov eax, esi
sub eax, dword [esp + 0x64]
dec ecx
add eax, ecx
cdq
idiv esi
mov dword [esp + 0x38], eax
test eax, eax
jle 0x438a7f
xor eax, eax
nop word [eax + eax]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], esi
lea edx, [eax + ecx]
add eax, esi
add ecx, eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jle 0x439051
mov eax, esi
mov dword [esp + 0x3c], edx
sub eax, ecx
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
sub esi, dword [esp + 0x60]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push 0xcc0020
push dword [esp + 0x34]
mov dword [esp + 0x70], esi
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, ecx
sub eax, edx
sub eax, dword [edi + 8]
push eax
mov eax, edi
mov edi, dword [esp + 0x24]
mov eax, dword [eax + 4]
add eax, dword [edi + 4]
mov edi, dword [esp + 0x6c]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x54]
sub eax, ecx
push eax
push esi
push ecx
push edi
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x38], 1
je 0x438a7b
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
jmp 0x439020
mov ecx, dword [esi + 8]
sub ecx, dword [edi]
sub ecx, dword [esi]
sub ecx, dword [edi + 8]
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x40], ecx
je 0x4391ff
mov eax, dword [esi + 0xc]
sub eax, dword [edi + 4]
sub eax, dword [esi + 4]
sub eax, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov eax, ecx
sub eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
dec ecx
add eax, ecx
mov ecx, dword [esp + 0x34]
cdq
idiv dword [esp + 0x40]
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x34]
mov dword [esp + 0x48], eax
test eax, eax
jle 0x438a7f
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
nop word [eax + eax]
lea edi, [ecx + eax]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x14]
cmovg ecx, edx
cmp dword [esp + 0x30], 0
jle 0x4391e7
sub ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x18]
push 0xcc0020
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x44]
add dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [edi + 4]
cmp ecx, dword [esp + 0x6c]
cmovg ecx, dword [esp + 0x6c]
add eax, dword [esi + 4]
sub ecx, edx
push eax
mov eax, dword [edi]
add eax, dword [esi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x74]
push dword [esp + 0x54]
add eax, dword [esp + 0x4c]
push ecx
push eax
push edx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x3c], 1
je 0x4391df
mov ecx, dword [esp + 0x28]
jmp 0x439180
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
sub dword [esp + 0x48], 1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], ecx
jne 0x439140
jmp 0x438a7f
mov esi, dword [esp + 0x68]
mov eax, ecx
sub eax, dword [esp + 0x60]
dec eax
add eax, esi
cdq
idiv ecx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x438a7f
xor edi, edi
nop dword [eax]
mov edx, dword [esp + 0x60]
lea eax, [edi + edx]
mov dword [esp + 0x44], eax
lea eax, [edi + ecx]
lea ecx, [eax + edx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], eax
cmp ecx, esi
jle 0x439251
sub eax, ecx
mov dword [esp + 0x3c], esi
add eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x64]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
push 0xcc0020
mov dword [esp + 0x70], esi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edx
sub eax, dword [edi + 0xc]
push eax
push dword [esp + 0x38]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x24]
push eax
mov eax, edi
mov edi, dword [esp + 0x74]
mov eax, dword [eax]
add eax, dword [ecx]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x54]
push esi
sub eax, ecx
push eax
push edi
push ecx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x38], 1
je 0x438a7b
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
jmp 0x439220