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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fa57
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x481028]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x24]
push dword [ebx + 0x28]
lea esi, [esp + 0x44]
lea edi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x28]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x24]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x38]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebx + 0xb8], 0
je 0x45104e
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
lea esi, [ebx + 0x94]
push dword [esi]
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push 0xcc0020
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esi]
push eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push eax
push dword [esp + 0x4c]
mov eax, dword [ebp + 0xc]
push dword [esp + 0x4c]
push dword [eax]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x45115d
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
lea edx, [esp + 0x30]
lea ebx, [esp + 0x50]
call fcn.0045017e
and dword [esp + 0x80], 0
push 0xffffff
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp eax, 0xffffffff
je 0x451089
push eax
lea eax, [esp + 0x34]
push eax
mov esi, ebx
call fcn.00411090
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xbc], 0
je 0x4510aa
push dword [edi]
lea esi, [esp + 0x20]
call fcn.00413134
mov dword [esp + 0x14], 0xffedf3f6
jmp 0x4510e3
lea edi, [ebx + 0x90]
cmp dword [edi], 0xffffffff
je 0x451127
push dword [esp + 0x50]
lea esi, [esp + 0x20]
call fcn.00413134
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
or eax, 0xfffffe00
shl eax, 8
or eax, ecx
movzx ecx, byte [ebx + 0x92]
shl eax, 8
or eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea esi, [esp + 0x24]
call fcn.00429e0a
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
push eax
push ecx
push 0
push 0
push dword [esp + 0x38]
push dword [esp + 0x30]
call sub.gdiplus.dll_GdipFillRectangleI
push dword [esp + 0x28]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x451144
cmp dword [ebx + 0x68], 0
je 0x451144
push dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
push dword [esp + 0x18]
mov ecx, dword [eax]
push dword [ebx + 4]
push dword [esp + 0x5c]
push eax
call dword [ecx]
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
push dword [esp + 0x54]
mov ecx, ebx
call dword [eax + 0x18]
lea edi, [esp + 0x50]
call fcn.00450201
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8