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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x4b0070]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword fs:[0x2c]
mov dword [esp + 0x1c], edx
mov edx, ecx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [0x4b3c50]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
cmp eax, dword [ecx + 4]
jle 0x4282ba
push 0x4b3c50
call fcn.00467b9b
add esp, 4
cmp dword [0x4b3c50], 0xffffffff
jne 0x4282b6
push str.AlphaBlend
push 0x49b9ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b3c50
mov dword [0x4b3c58], eax
call fcn.00467b51
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [0x4b3c58]
mov ecx, 0x4278d0
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x24], 0
mov dword [0x4b3c58], eax
je 0x429368
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push dword [esp + 0x24]
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp dword [0x4b3c58], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
je 0x428c85
cmp byte [ebp + 0x18], 0
mov al, byte [ebp + 0x1c]
jne 0x42832a
cmp al, 0xff
jae 0x428c85
cmp byte [ebp + 0x20], 0
mov word [esp + 0x38], 0
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 1
mov esi, dword [esp + 0x38]
jne 0x428416
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428416
cmp byte [ebp + 0x24], 0
jne 0x428a4e
cmp byte [ebp + 0x28], 0
jne 0x428972
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 4]
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax + 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 + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub eax, edx
sub eax, dword [esi]
push eax
lea eax, [ecx + edi]
mov edi, esi
push eax
mov eax, dword [edi]
add eax, edx
push eax
push dword [esp + 0x3c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov esi, dword [esp + 0x38]
mov edx, dword [edi]
test edx, edx
jle 0x4284ac
mov eax, dword [edi + 4]
test eax, eax
jle 0x4284ac
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4284ac
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
sub eax, ecx
mov edx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x1c]
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 + 0x20]
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x3c]
push eax
push edx
push ecx
push edi
push dword [esp + 0x48]
call dword [0x4b3c58]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 4]
test eax, eax
jle 0x428563
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428563
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x74]
sub edi, dword [esp + 0x6c]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub eax, ecx
mov dword [esp + 0x74], edi
sub eax, edx
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x3c]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jle 0x428603
mov eax, dword [edi + 4]
test eax, eax
jle 0x428603
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428603
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
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 + 0x1c]
push ecx
mov dword [esp + 0x78], edx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push dword [esp + 0x3c]
push edx
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
test eax, eax
jle 0x4286b7
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4286b7
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
sub edi, dword [esp + 0x68]
mov dword [esp + 0x70], edi
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
sub eax, ecx
sub eax, edx
push eax
mov eax, esi
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push dword [esp + 0x3c]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jle 0x42876f
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x42876f
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
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 + 0x1c]
sub eax, dword [esi + 0xc]
sub eax, ecx
sub eax, edx
push eax
push edi
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push dword [esp + 0x3c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
test eax, eax
jle 0x428810
cmp dword [edi + 0xc], 0
jle 0x4288c4
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428810
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
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 + 0x20]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push dword [esp + 0x3c]
push edx
push dword [esp + 0x84]
push edi
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov edi, dword [esp + 0x18]
cmp dword [edi + 0xc], 0
jle 0x4288c4
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4288c4
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi]
push esi
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x1c]
push ecx
sub eax, dword [esi + 8]
sub eax, edx
sub eax, edi
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
lea eax, [edx + edi]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
cmp dword [edi + 8], 0
jle 0x429350
cmp dword [edi + 0xc], 0
jle 0x429350
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 + 0x34]
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 0x429350
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
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 + 0x18]
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 + 0x3c]
push edi
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
jmp 0x429350
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
dec edx
mov eax, dword [ecx + 0xc]
sub eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
sub eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
sub eax, dword [esp + 0x64]
add eax, edx
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x428416
xor eax, eax
mov dword [esp + 0x24], eax
nop dword [eax + eax]
mov edx, dword [esp + 0x64]
add eax, edx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], edx
cmp edx, dword [esp + 0x6c]
jle 0x4289e6
sub eax, edx
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x48], edx
mov ecx, dword [ecx]
mov edx, dword [edi]
push esi
mov esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [edi + 8]
sub eax, ecx
sub eax, edx
push eax
mov eax, dword [edi + 4]
add eax, dword [esi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x44]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
push dword [esp + 0x84]
push ecx
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [0x4b3c58]
sub dword [esp + 0x4c], 1
mov esi, dword [esp + 0x38]
je 0x428416
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
jmp 0x4289b0
cmp byte [ebp + 0x28], 0
je 0x428ba3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, dword [edi + 8]
sub edx, dword [edi + 0xc]
sub ecx, dword [edi]
sub ecx, dword [eax]
sub edx, dword [edi + 4]
sub edx, dword [eax + 4]
mov eax, ecx
sub eax, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x68]
dec ecx
mov dword [esp + 0x2c], edx
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
idiv dword [esp + 0x24]
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x428416
mov eax, dword [esp + 0x64]
xor edx, edx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edx
nop
lea esi, [edx + eax]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x2c]
add edx, esi
mov dword [esp + 0x44], edx
add edx, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x38]
cmp edx, ecx
jle 0x428af1
mov ecx, dword [esp + 0x2c]
sub ecx, edx
mov edx, dword [esp + 0x6c]
add ecx, edx
mov dword [esp + 0x48], ecx
mov ecx, edx
cmp dword [esp + 0x4c], 0
jle 0x428b8b
sub edx, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x40], eax
nop
mov ecx, dword [esp + 0x60]
lea eax, [edx + ecx]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
add eax, edx
mov dword [esp + 0x54], eax
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x24]
cmp edx, ecx
jle 0x428b3a
sub eax, edx
mov edx, ecx
add eax, ecx
mov ecx, dword [esp + 0x14]
push esi
push dword [esp + 0x4c]
push eax
mov eax, dword [ecx + 4]
add eax, dword [edi + 4]
push eax
mov eax, dword [edi]
add eax, dword [ecx]
mov ecx, dword [esp + 0x60]
sub edx, ecx
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
push dword [esp + 0x70]
add eax, dword [esp + 0x80]
push edx
push eax
push ecx
push dword [esp + 0x48]
call dword [0x4b3c58]
sub dword [esp + 0x40], 1
je 0x428b83
mov edx, dword [esp + 0x54]
jmp 0x428b10
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
sub dword [esp + 0x34], 1
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
jne 0x428ac0
jmp 0x428416
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
dec edx
mov eax, dword [ecx + 8]
sub eax, dword [edi + 8]
sub eax, dword [edi]
sub eax, dword [ecx]
mov dword [esp + 0x24], eax
sub eax, dword [esp + 0x60]
add eax, edx
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x428416
xor eax, eax
mov dword [esp + 0x2c], eax
nop word [eax + eax]
mov edx, dword [esp + 0x60]
add eax, edx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 0x68]
jle 0x428c1e
sub eax, edx
mov edx, dword [esp + 0x68]
add eax, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 4]
push esi
mov eax, dword [eax + 0xc]
sub eax, dword [edi + 0xc]
sub eax, ecx
sub eax, edx
push eax
push dword [esp + 0x3c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [edi]
add eax, dword [ecx]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
push dword [esp + 0x84]
sub eax, ecx
push eax
push dword [esp + 0x84]
push ecx
push dword [esp + 0x48]
call dword [0x4b3c58]
sub dword [esp + 0x40], 1
je 0x428416
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
jmp 0x428be0
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 0x428d24
mov ecx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
sub ecx, dword [esi + 4]
sub eax, dword [edx + 4]
cmp eax, ecx
jne 0x428d24
cmp dword [edi], 0
jne 0x428d24
cmp dword [edi + 8], 0
jne 0x428d24
cmp dword [edi + 4], 0
jne 0x428d24
cmp dword [edi + 0xc], 0
jne 0x428d24
push edx
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x429350
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 + 0x34]
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 0x429350
cmp byte [ebp + 0x20], 0
jne 0x428e07
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428e03
cmp byte [ebp + 0x24], 0
jne 0x42943f
cmp byte [ebp + 0x28], 0
jne 0x42937c
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
sub dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov esi, dword [edi + 4]
mov edi, dword [edi]
push 0xcc0020
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x1c]
sub eax, esi
sub eax, dword [edi + 0xc]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [edi + 8]
mov edi, dword [esp + 0x4c]
sub eax, edx
sub eax, edi
push eax
lea eax, [ecx + esi]
push eax
lea eax, [edx + edi]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x84]
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 + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [edi]
test esi, esi
jle 0x428e8b
mov eax, dword [edi + 4]
test eax, eax
jle 0x428e8b
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428e8b
mov esi, dword [esp + 0x14]
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 + 0x3c]
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 0x428f3e
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428f3e
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push 0xcc0020
mov esi, dword [esp + 0x70]
push dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x20]
sub esi, dword [esp + 0x6c]
mov dword [esp + 0x74], esi
sub eax, dword [edi + 8]
mov edi, dword [esp + 0x6c]
sub eax, ecx
sub eax, edx
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x3c]
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 + 0x18]
mov esi, dword [esp + 0x1c]
cmp dword [edi + 8], 0
jle 0x428fdb
mov edx, dword [edi + 4]
test edx, edx
jle 0x428fdb
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [edi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x64], eax
add eax, edx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x428fdb
mov eax, dword [esp + 0x18]
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 + 0x1c]
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 + 0x3c]
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 + 0x18]
mov edx, dword [edi]
mov esi, dword [esp + 0x1c]
test edx, edx
jle 0x429090
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x429090
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0x64]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
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 + 0x24]
push dword [eax]
push dword [esp + 0x3c]
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 + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 8]
test edx, edx
jle 0x42914a
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x42914a
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x14]
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 + 0x1c]
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 + 0x24]
mov eax, dword [eax + 8]
sub eax, esi
push eax
push dword [esp + 0x3c]
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 + 0x18]
mov eax, dword [edi]
mov esi, dword [esp + 0x1c]
test eax, eax
jle 0x4291f1
cmp dword [edi + 0xc], 0
jle 0x4291f1
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4291f1
mov eax, dword [esp + 0x18]
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 + 0x20]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push dword [esp + 0x3c]
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 + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
test edx, edx
jle 0x4292a7
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 + 0x34]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4292a7
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
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 + 0x18]
push ecx
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x20]
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 + 0x20]
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
lea eax, [edx + esi]
push eax
push dword [esp + 0x3c]
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 + 0x18]
mov esi, dword [edi + 8]
test esi, esi
jle 0x429350
mov edi, dword [edi + 0xc]
test edi, edi
jle 0x429350
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 + 0x34]
lea eax, [esp + 0x78]
mov dword [esp + 0x74], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x429350
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
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 + 0x18]
push ecx
push edx
mov dword [esp + 0x78], esi
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
sub eax, edx
push eax
push dword [esp + 0x3c]
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 + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.0046780a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
sub eax, dword [edi + 4]
sub eax, dword [edi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
dec ecx
sub eax, dword [esp + 0x64]
add eax, ecx
mov ecx, dword [esp + 0x24]
cdq
idiv ecx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x428e03
xor eax, eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x64]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x2c], eax
lea ecx, [eax + edx]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
cmp ecx, edx
jle 0x4293df
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
mov ecx, dword [esi]
mov edx, dword [edi]
push 0xcc0020
push eax
mov eax, dword [esi + 8]
sub eax, dword [edi + 8]
sub eax, ecx
sub eax, edx
push eax
mov eax, dword [edi + 4]
add eax, dword [esi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x54]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
push dword [esp + 0x84]
push ecx
push dword [esp + 0x84]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x3c], 1
je 0x428e03
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
jmp 0x4293b0
mov eax, dword [esi + 8]
sub eax, dword [edi + 8]
sub eax, dword [edi]
sub eax, dword [esi]
cmp byte [ebp + 0x28], 0
je 0x42955e
mov ecx, dword [esi + 0xc]
sub ecx, dword [edi + 4]
sub ecx, dword [edi + 0xc]
sub ecx, dword [esi + 4]
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x68]
dec ecx
add eax, ecx
mov ecx, dword [esp + 0x24]
cdq
idiv dword [esp + 0x3c]
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x48], eax
test eax, eax
jle 0x428e03
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x4c], ecx
nop dword [eax]
lea esi, [ecx + eax]
add ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
add ecx, eax
cmp ecx, edx
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
cmovg ecx, edx
cmp dword [esp + 0x34], 0
jle 0x429546
sub ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
push 0xcc0020
lea edx, [eax + ecx]
add eax, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x58], eax
cmp ecx, dword [esp + 0x6c]
mov eax, dword [edi + 4]
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 + 0x34]
mov eax, dword [esp + 0x74]
push dword [esp + 0x54]
add eax, dword [esp + 0x60]
push ecx
push eax
push edx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x40], 1
je 0x42953e
mov eax, dword [esp + 0x54]
jmp 0x4294e3
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
sub dword [esp + 0x48], 1
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
jne 0x4294b0
jmp 0x428e03
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
dec ecx
sub eax, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x24]
cdq
idiv ecx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x428e03
xor eax, eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x2c], eax
lea ecx, [eax + edx]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
cmp ecx, edx
jle 0x4295bd
sub eax, ecx
mov dword [esp + 0x3c], edx
add eax, edx
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
sub eax, ecx
push 0xcc0020
sub eax, edx
sub eax, dword [edi + 0xc]
push eax
push dword [esp + 0x3c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [edi]
add eax, dword [esi]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
push dword [esp + 0x84]
sub eax, ecx
push eax
push dword [esp + 0x84]
push ecx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x40], 1
je 0x428e03
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
jmp 0x429586