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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4e5070]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp + 8], ebx
push esi
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x24], esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x18], edi
test edx, edx
je 0x490336
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ebe0c]
cmp eax, dword [ecx + 4]
jg 0x49034a
mov eax, dword [0x4ebe10]
mov ecx, 0x48ec00
test eax, eax
cmove eax, ecx
cmp dword [esp + 0x24], 0
mov dword [0x4ebe10], eax
je 0x490336
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x24]
mov dword [esp + 0x20], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
mov dl, byte [ebp + 0x20]
mov dword [esp + 0x58], eax
movups xmmword [esp + 0x6c], xmm0
cmp byte [ecx + 0x1d], 0
movups xmmword [esp + 0x5c], xmm0
jne 0x48f986
cmp byte [ecx + 0x1c], 0
jne 0x48f986
cmp dword [0x4ebe10], 0
je 0x48efd6
cmp byte [ebp + 0x1c], 0
jne 0x48f986
cmp dl, 0xff
jb 0x48f986
push 4
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [edx]
mov dword [esp + 0x24], ecx
mov ecx, eax
sub ecx, dword [edx]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp ecx, eax
jne 0x48f087
mov ecx, dword [edi + 0xc]
mov eax, dword [edx + 0xc]
sub ecx, dword [edi + 4]
sub eax, dword [edx + 4]
cmp eax, ecx
jne 0x48f087
cmp dword [ebx], 0
jne 0x48f087
cmp dword [ebx + 8], 0
jne 0x48f087
cmp dword [ebx + 4], 0
jne 0x48f087
cmp dword [ebx + 0xc], 0
jne 0x48f087
push edx
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x49031e
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x70]
push 0xcc0020
sub eax, dword [ecx + 4]
add eax, edx
push eax
mov eax, dword [edi]
sub eax, dword [ecx]
mov ecx, dword [esp + 0x74]
add eax, ecx
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x88]
sub eax, edx
push eax
mov eax, dword [esp + 0x88]
sub eax, ecx
push eax
push edx
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x49031e
cmp byte [ebp + 0x24], 0
jne 0x48f196
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
add edi, dword [ebx]
mov dword [esp + 0x5c], edi
lea esi, [ecx + edx]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x20]
sub esi, dword [ebx + 8]
sub esi, dword [ebx]
mov dword [esp + 0x20], esi
sub dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
sub eax, dword [ebx + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sub eax, edx
add ecx, edi
add eax, dword [esp + 0x60]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f18e
cmp byte [ebp + 0x28], 0
jne 0x48f7bb
cmp byte [ebp + 0x2c], 0
jne 0x48f700
mov ebx, dword [esp + 0x68]
sub ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x18]
push 0xcc0020
mov esi, dword [eax + 4]
mov edi, dword [eax]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x14]
sub eax, dword [ebx + 0xc]
sub eax, ecx
sub eax, esi
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
mov ebx, dword [esp + 0x70]
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 + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [ebx]
test esi, esi
jle 0x48f217
cmp dword [ebx + 4], 0
jle 0x48f2ce
mov eax, dword [edx]
add esi, eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], esi
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f217
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
sub eax, ecx
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
sub edx, esi
push 0xcc0020
push dword [ebx + 4]
mov dword [esp + 0x6c], edx
push dword [ebx]
mov dword [esp + 0x74], eax
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x30]
push eax
push edx
push ecx
push esi
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp dword [ebx + 4], 0
jle 0x48f2ce
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
sub eax, ecx
mov dword [esp + 0x60], esi
sub eax, edx
lea edi, [ecx + edx]
add eax, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 4]
add eax, esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f2ce
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push 0xcc0020
mov esi, dword [esp + 0x6c]
push dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
sub esi, dword [esp + 0x68]
sub ebx, dword [esp + 0x64]
sub eax, dword [edi + 8]
mov edi, dword [esp + 0x68]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x6c], ebx
push eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], esi
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push esi
push ebx
push edi
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x14]
test edx, edx
jle 0x48f36f
mov edi, dword [ebx + 4]
test edi, edi
jle 0x48f36f
mov eax, dword [esi + 4]
add edi, eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x60], eax
sub ecx, edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ecx
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], edi
add edx, ecx
push eax
mov dword [esp + 0x70], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f36f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
sub edx, esi
mov edi, dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x5c]
sub edi, ebx
push 0xcc0020
push dword [eax + 4]
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edx
push dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
push dword [esp + 0x30]
push edx
push edi
push esi
push ebx
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
cmp dword [ebx], 0
jle 0x48f427
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov edx, dword [ebx + 4]
mov edi, dword [esi]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [ebx + 0xc]
lea esi, [eax + edx]
mov dword [esp + 0x5c], edi
sub ecx, eax
mov dword [esp + 0x60], esi
mov eax, dword [ebx]
sub ecx, edx
add eax, edi
add ecx, esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f427
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
sub esi, dword [esp + 0x60]
sub ebx, dword [esp + 0x5c]
push 0xcc0020
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, dword [edi + 0xc]
sub eax, ecx
mov dword [esp + 0x68], ebx
sub eax, edx
mov dword [esp + 0x6c], esi
push eax
mov eax, edi
mov edi, dword [esp + 0x68]
push dword [eax]
lea eax, [ecx + edx]
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x30]
push esi
push ebx
push edi
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
test eax, eax
jle 0x48f4eb
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov edi, dword [ecx + 8]
sub edi, eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [ebx + 0xc]
sub ecx, eax
mov dword [esp + 0x5c], edi
lea esi, [eax + edx]
sub ecx, edx
mov eax, dword [ebx + 8]
add ecx, esi
add eax, edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f4eb
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x68]
sub edi, dword [esp + 0x60]
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]
push 0xcc0020
mov dword [esp + 0x6c], edi
sub eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x64]
sub eax, ecx
sub eax, edx
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 + 0x30]
push edi
push dword [esp + 0x80]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov edi, dword [ebx]
mov esi, dword [esp + 0x14]
test edi, edi
jle 0x48f58c
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x48f58c
mov eax, dword [esi]
add edi, eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
sub ecx, edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], ecx
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edi
add edx, ecx
push eax
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48f58c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
sub edx, esi
mov edi, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
push 0xcc0020
mov ebx, dword [esp + 0x60]
sub edi, ebx
push ecx
push dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x30]
push edx
push edi
push esi
push ebx
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x48f64e
mov ecx, dword [esi]
mov esi, dword [esi + 0xc]
mov edx, dword [ebx]
sub esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], esi
lea edi, [ecx + edx]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
sub eax, ecx
mov dword [esp + 0x5c], edi
sub eax, edx
add eax, edi
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0xc]
add eax, esi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
call edi
test eax, eax
je 0x48f654
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x68]
sub edi, dword [esp + 0x60]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
push 0xcc0020
push ecx
mov dword [esp + 0x70], edi
mov edx, dword [eax]
mov eax, dword [eax + 8]
sub eax, dword [ebx + 8]
mov ebx, dword [esp + 0x68]
sub eax, edx
sub eax, esi
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 + 0x30]
push edi
push dword [esp + 0x80]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x49031e
mov esi, dword [ebx + 0xc]
test esi, esi
jle 0x49031e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
sub eax, esi
mov dword [esp + 0x5c], ecx
add esi, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], esi
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
add edx, ecx
push eax
mov dword [esp + 0x70], edx
call edi
test eax, eax
je 0x49031e
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
sub esi, edi
mov ebx, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x18]
sub ebx, dword [esp + 0x5c]
push 0xcc0020
push ecx
mov eax, dword [eax + 0xc]
push edx
sub eax, ecx
mov dword [esp + 0x70], ebx
push eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], esi
mov eax, dword [eax + 8]
sub eax, edx
push eax
push dword [esp + 0x30]
push esi
push ebx
push edi
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x49031e
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
mov esi, dword [edi + 0xc]
sub esi, dword [ebx + 0xc]
sub esi, dword [ebx + 4]
sub esi, dword [edi + 4]
mov eax, esi
mov dword [esp + 0x38], esi
sub eax, dword [esp + 0x60]
dec eax
add eax, ecx
cdq
idiv esi
mov dword [esp + 0x24], eax
test eax, eax
jle 0x48f192
xor eax, eax
mov edx, dword [esp + 0x60]
lea edi, [edx + eax]
add eax, esi
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
lea esi, [eax + edx]
mov edx, dword [esp + 0x38]
mov eax, edx
cmp esi, ecx
jle 0x48f75a
sub eax, esi
mov esi, ecx
add eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebx]
push 0xcc0020
push eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
sub eax, ecx
sub eax, edx
push eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push eax
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x48]
sub esi, eax
push esi
push dword [esp + 0x80]
mov esi, dword [esp + 0x48]
push eax
push dword [esp + 0x80]
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x24], 1
je 0x48f192
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
jmp 0x48f732
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov esi, dword [edi + 8]
sub esi, dword [ebx]
sub esi, dword [edi]
sub esi, dword [ebx + 8]
cmp byte [ebp + 0x2c], 0
je 0x48f8d9
mov eax, dword [edi + 0xc]
dec ecx
sub eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
sub eax, dword [edi + 4]
mov dword [esp + 0x38], eax
mov eax, esi
sub eax, dword [esp + 0x5c]
add eax, ecx
mov dword [esp + 0x30], esi
cdq
idiv esi
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x60]
sub ecx, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x48f192
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x3c], eax
nop word [eax + eax]
mov ebx, dword [esp + 0x10]
lea edx, [eax + esi]
add eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
add eax, esi
cmp eax, ecx
cmovg eax, ecx
cmp dword [esp + 0x24], 0
jle 0x48f8c1
sub eax, edx
xor ecx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
nop dword [eax]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x18]
push 0xcc0020
lea edx, [ecx + eax]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
add ecx, eax
cmp ecx, dword [esp + 0x68]
mov eax, dword [ebx + 4]
cmovg ecx, dword [esp + 0x68]
add eax, dword [edi + 4]
sub ecx, edx
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x44]
add eax, esi
push ecx
push eax
push edx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
sub dword [esp + 0x20], 1
mov esi, dword [esp + 0x60]
je 0x48f8bd
mov ecx, dword [esp + 0x44]
jmp 0x48f860
mov ecx, dword [esp + 0x68]
sub dword [esp + 0x40], 1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
jne 0x48f830
jmp 0x48f192
mov eax, esi
mov dword [esp + 0x24], esi
sub eax, dword [esp + 0x5c]
dec eax
add eax, ecx
cdq
idiv esi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x48f192
xor eax, eax
mov edx, dword [esp + 0x5c]
lea edi, [eax + edx]
add eax, esi
mov dword [esp + 0x34], eax
add eax, edx
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], eax
cmp eax, ecx
jle 0x48f922
mov esi, dword [esp + 0x24]
sub esi, eax
mov dword [esp + 0x40], ecx
add esi, ecx
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov ecx, dword [edi + 4]
sub eax, ecx
mov edx, dword [ebx + 4]
sub eax, edx
push 0xcc0020
push eax
push esi
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x58]
push dword [esp + 0x80]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_StretchBlt]
sub dword [esp + 0x3c], 1
je 0x48f192
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
jmp 0x48f8f7
cmp byte [ebp + 0x24], 0
mov word [esp + 0x20], 0
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], 1
mov esi, dword [esp + 0x20]
jne 0x48fd7b
mov esi, dword [esp + 0x14]
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, dword [esi]
mov edx, dword [esi + 4]
lea ecx, [eax + edi]
mov dword [esp + 0x5c], ecx
lea ecx, [edx + ebx]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 8]
mov esi, dword [esp + 0x10]
sub ecx, dword [esi + 8]
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, edi
mov edi, esi
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
lea ecx, [edx + ebx]
mov eax, dword [eax + 0xc]
sub eax, dword [edi + 0xc]
sub eax, edx
sub eax, ebx
add eax, ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x48fd79
cmp byte [ebp + 0x28], 0
jne 0x48fb70
cmp byte [ebp + 0x2c], 0
jne 0x48faa5
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
sub dword [esp + 0x68], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
sub eax, dword [esi + 0xc]
sub eax, ecx
sub eax, edi
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub eax, edx
sub eax, ebx
push eax
lea eax, [ecx + edi]
push eax
lea eax, [edx + ebx]
push eax
push dword [esp + 0x30]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
jmp 0x48fd7b
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
dec edx
mov ecx, dword [edi + 0xc]
sub ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
sub ecx, dword [edi + 4]
mov eax, ecx
mov dword [esp + 0x24], ecx
sub eax, dword [esp + 0x60]
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x48fd7b
xor eax, eax
nop dword [eax + eax]
mov edx, dword [esp + 0x60]
lea esi, [eax + edx]
add eax, ecx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x34], eax
lea ecx, [eax + edx]
mov edx, dword [esp + 0x24]
mov eax, edx
mov dword [esp + 0x40], ecx
cmp ecx, dword [esp + 0x68]
jle 0x48fb14
sub eax, ecx
mov ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [edi]
mov edx, dword [ebx]
push esi
push eax
mov eax, dword [edi + 8]
sub eax, dword [ebx + 8]
sub eax, ecx
sub eax, edx
push eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x40]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x58]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
sub dword [esp + 0x3c], 1
je 0x48fd7b
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
jmp 0x48fae0
cmp byte [ebp + 0x2c], 0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
je 0x48fcba
mov ecx, dword [edi + 0xc]
sub ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
sub ecx, dword [edi + 4]
mov eax, dword [edi + 8]
sub eax, dword [ebx]
sub eax, dword [edi]
sub eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x64]
dec ecx
add eax, ecx
mov ecx, dword [esp + 0x38]
cdq
idiv dword [esp + 0x24]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0x30], eax
test eax, eax
jle 0x48fd7b
mov eax, dword [esp + 0x60]
xor edx, edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x34], edx
lea esi, [edx + eax]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x38]
add edx, esi
mov dword [esp + 0x50], edx
add edx, eax
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x20]
cmp edx, ecx
jle 0x48fc13
mov ecx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x3c], ecx
mov ecx, edx
cmp dword [esp + 0x40], 0
jle 0x48fca2
sub edx, dword [esp + 0x44]
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
lea edx, [ecx + eax]
add ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
add ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x64]
cmp ecx, edx
jle 0x48fc57
sub eax, ecx
mov ecx, edx
add eax, edx
sub ecx, dword [esp + 0x48]
push esi
push dword [esp + 0x40]
push eax
mov eax, dword [ebx + 4]
add eax, dword [edi + 4]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x6c]
add eax, dword [esp + 0x7c]
push ecx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x50]
call dword [0x4ebe10]
sub dword [esp + 0x44], 1
je 0x48fc9a
mov ecx, dword [esp + 0x4c]
jmp 0x48fc30
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
sub dword [esp + 0x30], 1
mov edx, dword [esp + 0x50]
mov dword [esp + 0x34], edx
jne 0x48fbe2
jmp 0x48fd7b
mov ecx, dword [edi + 8]
sub ecx, dword [ebx]
sub ecx, dword [edi]
sub ecx, dword [ebx + 8]
mov edx, dword [esp + 0x64]
mov eax, ecx
sub eax, dword [esp + 0x5c]
dec edx
add eax, edx
mov dword [esp + 0x48], ecx
cdq
idiv ecx
mov dword [esp + 0x44], eax
test eax, eax
jle 0x48fd7b
xor eax, eax
mov edx, dword [esp + 0x5c]
lea esi, [eax + edx]
add eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x20]
lea ecx, [eax + edx]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
jle 0x48fd1e
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
sub eax, dword [ebx + 0xc]
mov ecx, dword [edi + 4]
sub eax, ecx
mov edx, dword [ebx + 4]
sub eax, edx
push esi
push eax
push dword [esp + 0x38]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [ebx]
add eax, dword [edi]
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x80]
sub eax, ecx
push eax
push dword [esp + 0x80]
push ecx
push dword [esp + 0x50]
call dword [0x4ebe10]
sub dword [esp + 0x44], 1
je 0x48fd7b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
jmp 0x48fce6
mov ebx, edi
mov edx, dword [ebx]
mov edi, dword [esp + 0x14]
test edx, edx
jle 0x48fe0c
cmp dword [ebx + 4], 0
jle 0x48fecf
mov eax, dword [edi]
add edx, eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x6c], edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48fe0c
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
sub eax, ecx
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
sub edx, edi
push esi
push dword [ebx + 4]
mov esi, dword [esp + 0x20]
push dword [ebx]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
push dword [esi + 4]
push dword [esi]
push dword [esp + 0x30]
push eax
push edx
push ecx
push edi
push dword [esp + 0x50]
call dword [0x4ebe10]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
cmp dword [ebx + 4], 0
jle 0x48fecf
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [edi]
mov edx, dword [ebx]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
mov edi, dword [edi + 4]
sub eax, ecx
sub eax, edx
mov dword [esp + 0x60], edi
lea ebx, [ecx + edx]
add eax, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
add eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x48fecb
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
push dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x68]
sub edi, ebx
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub eax, ecx
mov dword [esp + 0x70], edi
sub eax, edx
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 4]
lea eax, [ecx + edx]
push eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x80]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
mov edi, dword [esp + 0x14]
test edx, edx
jle 0x48ff72
cmp dword [ebx + 4], 0
jle 0x48ff72
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
sub ecx, edx
add edx, ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 4]
add ecx, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], edx
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x48ff72
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
sub edx, edi
mov ebx, dword [esp + 0x64]
mov ecx, dword [eax + 8]
sub ebx, dword [esp + 0x5c]
push esi
push dword [eax + 4]
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 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 dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp dword [ebx], 0
jle 0x490036
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ebx, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [edi + 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [esi + 0xc]
sub ecx, eax
mov dword [esp + 0x5c], ebx
lea edi, [eax + edx]
sub ecx, edx
mov eax, dword [esi]
add ecx, edi
add eax, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x490032
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
sub edi, ebx
mov dword [esp + 0x6c], 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 + 0x28]
push dword [eax]
push dword [esp + 0x30]
push edi
push dword [esp + 0x80]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 8]
test eax, eax
jle 0x49010c
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ebx, dword [ecx + 8]
sub ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
mov edx, dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
sub ecx, dword [esi + 0xc]
sub ecx, eax
lea edi, [eax + edx]
sub ecx, edx
mov eax, dword [esi + 8]
add ecx, edi
add eax, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x490108
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
push esi
mov edi, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x14]
sub ebx, dword [esp + 0x64]
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x6c], ebx
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 + 0x30]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
test eax, eax
jle 0x4901b7
mov edx, dword [ebx + 0xc]
test edx, edx
jle 0x4901b7
mov eax, dword [edi]
add dword [esp + 0x24], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x5c], eax
sub ecx, edx
mov eax, dword [esp + 0x24]
add edx, ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x68], ecx
push eax
mov dword [esp + 0x74], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4901b7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
sub edx, edi
mov ebx, dword [esp + 0x64]
mov ecx, dword [eax + 0xc]
push esi
sub ebx, dword [esp + 0x60]
push ecx
push dword [eax]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edx
mov eax, dword [eax + 0xc]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
push dword [esp + 0x30]
push edx
push ebx
push edi
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x49027d
mov ecx, dword [edi]
mov edi, dword [edi + 0xc]
mov edx, dword [ebx]
sub edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], edi
lea ebx, [ecx + edx]
mov eax, dword [eax + 8]
sub eax, ecx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x10]
sub eax, edx
sub eax, dword [ecx + 8]
add eax, ebx
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0xc]
add eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x490279
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [esp + 0x1c]
sub ebx, dword [esp + 0x64]
push ecx
mov dword [esp + 0x70], ebx
mov edx, dword [eax]
mov eax, dword [eax + 8]
sub eax, edx
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 + 0x30]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x49031e
mov edi, dword [ebx + 0xc]
test edi, edi
jle 0x49031e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
sub eax, edi
mov dword [esp + 0x5c], ecx
add edi, eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x68], edi
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x74]
add edx, ecx
push eax
mov dword [esp + 0x70], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x49031e
mov eax, dword [esp + 0x5c]
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
sub edi, ebx
push esi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x74], edi
mov eax, dword [esi + 0xc]
sub eax, ecx
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push dword [esp + 0x30]
push edi
push dword [esp + 0x80]
push ebx
push dword [esp + 0x80]
push dword [esp + 0x50]
call dword [0x4ebe10]
push dword [esp + 0x58]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00493122
mov esp, ebp
pop ebp
ret 0x28
push 0x4ebe0c
call fcn.00493541
add esp, 4
cmp dword [0x4ebe0c], 0xffffffff
jne 0x48ef59
push str.AlphaBlend
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ebe0c
mov dword [0x4ebe10], eax
call fcn.00493502
add esp, 4
jmp 0x48ef59