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

Disassembly:
sub esp, 0x68
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [0x800e58]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword fs:[0x2c]
push ebx
mov ebx, dword [esp + 0x80]
push ebp
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7ff250]
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
cmp eax, dword [ecx + 8]
jg 0x4f5bb0
cmp dword [esp + 0x28], 0
je 0x4f58f4
push esi
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 esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp byte [esp + 0x94], 0
xorps xmm0, xmm0
mov al, byte [esp + 0x98]
movups xmmword [esp + 0x64], xmm0
movups xmmword [esp + 0x54], xmm0
jne 0x4f52d0
cmp al, 0xff
jb 0x4f52d0
mov edx, dword [edi + 8]
mov ecx, edx
mov eax, dword [ebx + 8]
sub ecx, dword [edi]
sub eax, dword [ebx]
cmp ecx, eax
jne 0x4f4a6a
mov ecx, dword [edi + 0xc]
mov eax, dword [ebx + 0xc]
sub ecx, dword [edi + 4]
sub eax, dword [ebx + 4]
cmp ecx, eax
jne 0x4f4a6a
cmp dword [ebp], 0
jne 0x4f4a6a
cmp dword [ebp + 8], 0
jne 0x4f4a6a
cmp dword [ebp + 4], 0
jne 0x4f4a6a
cmp dword [ebp + 0xc], 0
jne 0x4f4a6a
push edi
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4f58dc
mov eax, dword [ebx + 4]
sub eax, dword [edi + 4]
mov edx, dword [esp + 0x68]
add eax, edx
mov ecx, dword [esp + 0x64]
push 0xcc0020
push eax
mov eax, dword [ebx]
sub eax, dword [edi]
add eax, ecx
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x80]
sub eax, edx
push eax
mov eax, dword [esp + 0x80]
sub eax, ecx
push eax
push edx
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4f58dc
cmp byte [esp + 0x9c], 0
jne 0x4f4b4c
mov eax, dword [ebp]
add eax, dword [edi]
sub edx, dword [ebp + 8]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 4]
add eax, dword [ebp + 4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov dword [esp + 0x64], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4f4b4c
cmp byte [esp + 0xa0], 0
jne 0x4f511c
cmp byte [esp + 0xa4], 0
jne 0x4f5069
mov eax, dword [esp + 0x54]
sub dword [esp + 0x5c], eax
mov eax, ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
push 0xcc0020
mov esi, dword [eax + 4]
mov edi, dword [eax]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [ebp + 0xc]
mov ebp, dword [esp + 0x14]
sub ebx, dword [esp + 0x5c]
mov dword [esp + 0x64], ebx
sub eax, dword [ebp + 0xc]
sub eax, ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, dword [ebp + 8]
mov ebp, dword [esp + 0x60]
sub eax, edx
sub eax, edi
push eax
lea eax, [ecx + esi]
push eax
lea eax, [edx + edi]
push eax
push dword [esp + 0x30]
push ebx
push dword [esp + 0x78]
push ebp
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp]
test edx, edx
jle 0x4f4bcc
mov esi, dword [ebp + 4]
test esi, esi
jle 0x4f4bcc
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x54], eax
add eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
lea eax, [esi + ecx]
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
je 0x4f4bd2
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
sub eax, ecx
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
sub edx, esi
push 0xcc0020
push dword [ebp + 4]
mov dword [esp + 0x64], edx
push dword [ebp]
mov dword [esp + 0x6c], eax
push dword [ebx + 4]
push dword [ebx]
push dword [esp + 0x30]
push eax
push edx
push ecx
push esi
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebp + 4]
test edx, edx
jle 0x4f4c76
mov eax, dword [ebp]
add eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 8]
sub eax, dword [ebp + 8]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [edx + ecx]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x6c]
mov dword [esp + 0x60], ecx
push eax
call esi
test eax, eax
je 0x4f4c7a
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push 0xcc0020
mov esi, dword [esp + 0x64]
push dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
sub esi, edi
mov ebx, dword [esp + 0x64]
sub ebx, dword [esp + 0x5c]
sub eax, dword [ebp + 8]
mov ebp, dword [esp + 0x5c]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x64], ebx
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], esi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push esi
push ebx
push edi
push ebp
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
test esi, esi
jle 0x4f4d0e
mov edx, dword [ebp + 4]
test edx, edx
jle 0x4f4d0e
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x5c], ecx
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
add eax, edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
je 0x4f4d14
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
sub edx, esi
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
sub edi, ebx
push 0xcc0020
push dword [ebp + 4]
mov dword [esp + 0x64], edi
push ecx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x70], edx
push eax
push dword [esp + 0x30]
push edx
push edi
push esi
push ebx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebp]
mov edi, dword [esp + 0x24]
test edx, edx
jle 0x4f4dbd
mov ecx, dword [ebx]
mov eax, dword [ebp + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
lea eax, [edx + ecx]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
je 0x4f4dbd
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
sub esi, edi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x5c]
sub ebx, dword [esp + 0x54]
push 0xcc0020
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x60], ebx
sub eax, edx
mov dword [esp + 0x64], esi
sub eax, dword [ebp + 0xc]
push eax
mov eax, ebp
mov ebp, dword [esp + 0x5c]
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push dword [esp + 0x30]
push esi
push ebx
push edi
push ebp
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
test edx, edx
jle 0x4f4e72
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x6c]
push eax
mov eax, dword [sym.imp.USER32.dll_IntersectRect]
call eax
test eax, eax
je 0x4f4e72
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x10]
sub eax, ecx
sub edi, dword [esp + 0x58]
sub eax, edx
sub ebp, dword [esp + 0x54]
push 0xcc0020
sub eax, dword [ebx + 0xc]
push eax
mov ebx, dword [esp + 0x60]
lea eax, [ecx + edx]
push esi
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edi
mov eax, dword [eax + 8]
sub eax, esi
push eax
push dword [esp + 0x30]
push edi
push ebp
push ebx
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp]
test esi, esi
jle 0x4f4f09
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x4f4f09
mov edx, dword [ebx + 0xc]
mov eax, edx
mov ecx, dword [ebx]
sub eax, edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
lea eax, [esi + ecx]
mov dword [esp + 0x60], edx
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
je 0x4f4f13
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
sub edx, esi
mov eax, dword [eax + 0xc]
mov edi, dword [esp + 0x5c]
sub eax, ecx
mov ebx, dword [esp + 0x54]
sub edi, ebx
push 0xcc0020
push ecx
push dword [ebp]
mov dword [esp + 0x68], edi
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], edx
push dword [eax]
push dword [esp + 0x30]
push edx
push edi
push esi
push ebx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov esi, dword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [esp + 0x24]
mov edx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
test edx, edx
jle 0x4f4fc0
mov eax, dword [ebp]
add eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push edi
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
je 0x4f4fc0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
sub edi, dword [esp + 0x58]
sub ebp, dword [esp + 0x54]
push 0xcc0020
mov edx, dword [eax]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
mov ebx, dword [esp + 0x5c]
sub eax, edx
push ecx
sub eax, esi
mov dword [esp + 0x64], ebp
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], edi
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
lea eax, [edx + esi]
push eax
push dword [esp + 0x30]
push edi
push ebp
push ebx
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4f58dc
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x4f58dc
mov edx, dword [ebx + 8]
mov eax, edx
sub eax, ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
mov eax, ecx
sub eax, esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [sym.imp.USER32.dll_IntersectRect]
call eax
test eax, eax
je 0x4f58dc
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
sub esi, edi
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x54]
sub ebx, ebp
push 0xcc0020
push ecx
mov eax, dword [eax + 0xc]
push edx
sub eax, ecx
mov dword [esp + 0x68], ebx
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], esi
mov eax, dword [eax + 8]
sub eax, edx
push eax
push dword [esp + 0x30]
push esi
push ebx
push edi
push ebp
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x4f58dc
mov esi, dword [ebx + 0xc]
sub esi, dword [ebp + 0xc]
sub esi, dword [ebx + 4]
sub esi, dword [ebp + 4]
mov ecx, dword [esp + 0x60]
mov eax, esi
sub eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x30], esi
add eax, ecx
cdq
idiv esi
mov dword [esp + 0x28], eax
test eax, eax
jle 0x4f4b4c
mov edi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x2c], eax
nop
mov edx, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 0x2c], eax
lea esi, [eax + edx]
mov edx, dword [esp + 0x30]
mov eax, edx
cmp esi, ecx
jle 0x4f50c7
sub eax, esi
mov esi, ecx
add eax, ecx
mov ecx, dword [ebx]
mov edx, dword [ebp]
push 0xcc0020
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebp + 8]
sub eax, ecx
sub eax, edx
push eax
mov eax, dword [ebp + 4]
add eax, dword [ebx + 4]
push eax
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x4c]
sub esi, eax
push edi
push esi
push dword [esp + 0x78]
push eax
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x28], 1
je 0x4f4b48
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
jmp 0x4f50a0
mov esi, dword [ebx + 8]
sub esi, dword [ebp + 8]
sub esi, dword [ebp]
sub esi, dword [ebx]
cmp byte [esp + 0xa4], 0
mov ecx, dword [esp + 0x5c]
je 0x4f5237
mov eax, dword [ebx + 0xc]
dec ecx
sub eax, dword [ebp + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [ebp + 4]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, esi
sub eax, edi
mov dword [esp + 0x38], esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
idiv esi
mov esi, dword [esp + 0x58]
sub ecx, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4f4b48
mov ecx, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x44], eax
nop dword [eax + eax]
mov ebx, dword [esp + 0x14]
lea edx, [eax + esi]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
add eax, esi
cmp eax, ecx
cmovg eax, ecx
cmp dword [esp + 0x28], 0
jle 0x4f521f
mov ecx, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], ecx
nop dword [eax]
lea edx, [eax + edi]
add eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
push 0xcc0020
lea ecx, [eax + edi]
mov eax, dword [ebx + 4]
cmp ecx, dword [esp + 0x60]
cmovg ecx, dword [esp + 0x60]
add eax, dword [ebp + 4]
sub ecx, edx
push eax
mov eax, dword [ebp]
add eax, dword [ebx]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x54]
push dword [esp + 0x4c]
add eax, esi
push ecx
push eax
push edx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x30], 1
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
je 0x4f521b
mov eax, dword [esp + 0x40]
jmp 0x4f51c0
mov ecx, dword [esp + 0x60]
sub dword [esp + 0x34], 1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], eax
jne 0x4f5190
jmp 0x4f4b48
mov eax, esi
mov dword [esp + 0x30], esi
sub eax, dword [esp + 0x54]
dec eax
add eax, ecx
cdq
idiv esi
mov dword [esp + 0x28], eax
test eax, eax
jle 0x4f4b4c
xor edi, edi
mov edx, dword [esp + 0x54]
lea eax, [edi + edx]
mov dword [esp + 0x38], eax
lea eax, [edi + esi]
lea edi, [eax + edx]
mov dword [esp + 0x3c], eax
cmp edi, ecx
jle 0x4f5278
mov esi, dword [esp + 0x30]
sub esi, edi
mov edi, ecx
add esi, ecx
mov eax, dword [ebx + 0xc]
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
sub eax, ecx
mov edx, dword [ebp + 4]
sub eax, edx
push 0xcc0020
push eax
push esi
lea eax, [ecx + edx]
push eax
mov eax, dword [ebp]
add eax, dword [ebx]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x50]
sub edi, eax
push dword [esp + 0x78]
push edi
push dword [esp + 0x78]
push eax
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x28], 1
je 0x4f4b48
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
jmp 0x4f5255
cmp byte [esp + 0x9c], 0
mov word [esp + 0x34], 0
mov byte [esp + 0x36], al
mov byte [esp + 0x37], 1
mov esi, dword [esp + 0x34]
jne 0x4f53c9
mov eax, dword [ebp]
add eax, dword [edi]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 4]
add eax, dword [ebp + 4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 8]
sub eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4f53c9
cmp byte [esp + 0xa0], 0
jne 0x4f59b6
cmp byte [esp + 0xa4], 0
jne 0x4f5907
mov eax, dword [esp + 0x54]
sub dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x64]
sub ebp, dword [esp + 0x5c]
mov dword [esp + 0x64], ebp
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, ecx
sub eax, edi
sub eax, dword [esi + 0xc]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
sub eax, edx
sub eax, ebx
sub eax, dword [esi + 8]
push eax
lea eax, [ecx + edi]
push eax
lea eax, [edx + ebx]
push eax
push dword [esp + 0x30]
push ebp
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp]
test edx, edx
jle 0x4f5447
mov eax, dword [ebp + 4]
test eax, eax
jle 0x4f5447
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x54], eax
add eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 4]
add eax, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call edi
test eax, eax
je 0x4f544d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
sub eax, ecx
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x54]
sub edx, edi
push esi
push dword [ebp + 4]
mov dword [esp + 0x64], edx
push dword [ebp]
mov dword [esp + 0x6c], eax
push dword [ebx + 4]
push dword [ebx]
push dword [esp + 0x30]
push eax
push edx
push ecx
push edi
push dword [esp + 0x48]
call dword [0x7ff24c]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebp + 4]
mov ebx, dword [esp + 0x18]
test edx, edx
jle 0x4f54fa
mov eax, dword [ebp]
add eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
lea eax, [edx + ecx]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov dword [esp + 0x60], ecx
push eax
call edi
test eax, eax
je 0x4f54fa
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
sub edi, ebx
mov eax, dword [eax + 8]
mov ebp, dword [esp + 0x64]
sub eax, ecx
sub ebp, dword [esp + 0x5c]
sub eax, edx
sub eax, dword [esi + 8]
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push edi
push ebp
push ebx
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x4f5591
mov edx, dword [ebp + 4]
test edx, edx
jle 0x4f5591
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x5c], ecx
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
add eax, edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call edi
test eax, eax
je 0x4f5597
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
sub edx, edi
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
mov ebp, dword [esp + 0x54]
sub ebx, ebp
push esi
push dword [eax + 4]
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push dword [esp + 0x30]
push edx
push ebx
push edi
push ebp
push dword [esp + 0x48]
call dword [0x7ff24c]
mov ebp, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebp]
mov ebx, dword [esp + 0x18]
test edx, edx
jle 0x4f5642
mov ecx, dword [ebx]
mov eax, dword [ebp + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
lea eax, [edx + ecx]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call edi
test eax, eax
je 0x4f5642
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x64]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
sub edi, ebx
mov ebp, dword [esp + 0x60]
sub ebp, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x60], ebp
sub eax, edx
mov dword [esp + 0x64], edi
sub eax, dword [esi + 0xc]
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 + 0x30]
push edi
push ebp
push ebx
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
test edx, edx
jle 0x4f56f3
mov ecx, dword [ebx + 8]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [sym.imp.USER32.dll_IntersectRect]
call eax
test eax, eax
je 0x4f56f3
mov eax, dword [esp + 0x54]
sub dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
push esi
mov edi, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x5c]
sub ebx, ebp
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x64], ebx
sub eax, edx
sub eax, dword [esi + 0xc]
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 + 0x30]
push ebx
push dword [esp + 0x78]
push ebp
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp]
mov ebx, dword [esp + 0x18]
test edi, edi
jle 0x4f5794
cmp dword [ebp + 0xc], 0
jle 0x4f5794
mov edx, dword [ebx + 0xc]
mov eax, edx
mov ecx, dword [ebx]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
lea eax, [edi + ecx]
mov dword [esp + 0x60], edx
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call edi
test eax, eax
je 0x4f579a
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
sub edx, edi
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
push esi
mov ebp, dword [esp + 0x58]
sub ebx, ebp
push ecx
push dword [eax]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push dword [esp + 0x30]
push edx
push ebx
push edi
push ebp
push dword [esp + 0x48]
call dword [0x7ff24c]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x4f583f
mov eax, dword [ebp]
add eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x54], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call edi
test eax, eax
je 0x4f583f
mov eax, dword [esp + 0x54]
sub dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
sub ebx, ebp
push ecx
mov dword [esp + 0x68], ebx
mov edx, dword [eax]
mov eax, dword [eax + 8]
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 + 0x30]
push ebx
push dword [esp + 0x78]
push ebp
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x4f58dc
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jle 0x4f58dc
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, edx
mov ecx, dword [ecx + 0xc]
sub eax, edi
mov dword [esp + 0x54], eax
mov eax, ecx
sub eax, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
mov dword [esp + 0x68], ecx
push eax
mov eax, dword [sym.imp.USER32.dll_IntersectRect]
call eax
test eax, eax
je 0x4f58dc
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
sub edi, ebx
mov ebp, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x68], ebp
mov eax, dword [esi + 0xc]
sub eax, ecx
mov dword [esp + 0x6c], edi
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push dword [esp + 0x30]
push edi
push ebp
push ebx
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
push dword [esp + 0x50]
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 + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x68
ret
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp + 4]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], eax
sub eax, dword [esp + 0x58]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x28]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4f53c9
xor eax, eax
mov dword [esp + 0x2c], eax
nop dword [eax]
mov edi, dword [esp + 0x58]
add eax, edi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
add eax, edx
add edi, eax
mov dword [esp + 0x2c], eax
mov eax, edx
cmp edi, ecx
jle 0x4f5966
sub eax, edi
mov edi, ecx
add eax, ecx
mov ecx, dword [ebx]
mov edx, dword [ebp]
push esi
push eax
mov eax, dword [ebx + 8]
sub eax, ecx
sub eax, edx
sub eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 4]
add eax, dword [ebp + 4]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x50]
sub edi, eax
push edi
push dword [esp + 0x78]
push eax
push dword [esp + 0x78]
push dword [esp + 0x48]
call dword [0x7ff24c]
sub dword [esp + 0x30], 1
je 0x4f53c5
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
jmp 0x4f5940
cmp byte [esp + 0xa4], 0
je 0x4f5afa
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp + 4]
mov ecx, dword [ebx + 8]
sub ecx, dword [ebp]
sub ecx, dword [ebx]
sub ecx, dword [ebp + 8]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, ecx
sub eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x44], ecx
add eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x4f53c5
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x28], eax
lea edx, [eax + ecx]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 0x40], eax
cmp edx, dword [esp + 0x60]
jle 0x4f5a4a
sub eax, edx
mov edx, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x40], eax
cmp dword [esp + 0x48], 0
jle 0x4f5ade
sub edx, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
nop dword [eax + eax]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
cmp ecx, edi
jle 0x4f5a97
sub eax, ecx
mov ecx, edi
add eax, edi
push esi
push dword [esp + 0x44]
sub ecx, edx
push eax
mov eax, dword [ebp + 4]
add eax, dword [ebx + 4]
push eax
mov eax, dword [ebp]
add eax, dword [ebx]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x70]
push dword [esp + 0x64]
add eax, dword [esp + 0x44]
push ecx
push eax
push edx
push dword [esp + 0x48]
call dword [0x7ff24c]
sub dword [esp + 0x3c], 1
mov edi, dword [esp + 0x5c]
je 0x4f5ada
mov eax, dword [esp + 0x30]
jmp 0x4f5a70
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
sub dword [esp + 0x38], 1
mov dword [esp + 0x28], eax
jne 0x4f5a21
jmp 0x4f53c5
mov eax, dword [ebx + 8]
sub eax, dword [ebp]
sub eax, dword [ebx]
sub eax, dword [ebp + 8]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
sub eax, dword [esp + 0x54]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4f53c9
xor eax, eax
mov dword [esp + 0x28], eax
nop dword [eax + eax]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov edi, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x28], eax
add eax, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jle 0x4f5b5c
sub edi, eax
mov dword [esp + 0x3c], ecx
add edi, ecx
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp + 4]
sub eax, ecx
push esi
sub eax, edx
sub eax, dword [ebp + 0xc]
push eax
push edi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [ebp]
add eax, dword [ebx]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x54]
push dword [esp + 0x78]
sub eax, ecx
push eax
push dword [esp + 0x78]
push ecx
push dword [esp + 0x48]
call dword [0x7ff24c]
sub dword [esp + 0x40], 1
je 0x4f53c5
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x28]
jmp 0x4f5b30
push 0x7ff250
call fcn.006def05
add esp, 4
cmp dword [0x7ff250], 0xffffffff
jne 0x4f497b
push str.AlphaBlend
push 0x72711c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7ff250
mov dword [0x7ff24c], eax
call fcn.006deeb4
add esp, 4
jmp 0x4f497b