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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov edx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 8]
sub esi, edx
push edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
sub eax, edi
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 8]
sub edx, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], edi
mov edi, dword [ebx + 8]
sub esi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ebx, dword [ebx + 0xc]
sub esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
sub esi, ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp + 0x10]
sub esi, ecx
mov dword [esp + 0x14], esi
mov esi, dword [ebx + 0xc]
sub esi, dword [ebx + 4]
xor ebx, ebx
sub esi, dword [esp + 0x1c]
sub edx, edi
sub edx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
lea ebx, [edx + eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], ebx
xor ebx, ebx
sub esi, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
lea ebx, [esi + ecx]
mov dword [esp + 0x84], esi
xor esi, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xa8], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], esi
xor edx, edx
xor ebx, ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x18]
lea ebx, [edx + eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xd8], ebx
xor ebx, ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x104], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x108], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x10c], ecx
add ecx, ebx
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x13c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x114], ebx
xor ebx, ebx
push ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xe4], edi
mov dword [esp + 0x104], edx
mov dword [esp + 0x114], edi
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x128], esi
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], eax
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [edx + 4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov cl, byte [ebp + 0x14]
mov dword [esp + 0x14], eax
xor eax, eax
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], cl
xor esi, esi
mov edx, dword [esp + esi + 0xb8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + esi + 0xbc]
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
add eax, edx
mov edx, dword [esp + 0x20]
add ecx, edx
mov edx, dword [esp + esi + 0x28]
add edx, ebx
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x18], edx
mov dword [esp + esi + 0x28], edx
mov edx, dword [esp + esi + 0x2c]
add edx, ebx
cmp dword [esp + esi + 0x30], 0
mov dword [esp + esi + 0xb8], eax
mov dword [esp + esi + 0xbc], ecx
mov dword [esp + esi + 0x2c], edx
jle 0x46f8a6
cmp dword [esp + esi + 0x34], 0
jle 0x46f8a6
cmp dword [esp + esi + 0xc0], 0
jle 0x46f8a6
cmp dword [esp + esi + 0xc4], 0
jle 0x46f8a6
mov ebx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + esi + 0x38]
push ebx
mov ebx, dword [esp + esi + 0x38]
push ebx
push edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + esi + 0xd8]
push edi
push edx
mov edx, dword [esp + esi + 0xdc]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
add esi, 0x10
cmp esi, 0x90
jl 0x46f807
mov ecx, dword [esp + 0x14]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x46f8cc
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret