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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a45b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
add esi, 0x80
sub edi, edx
sub ebx, ecx
test esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], esi
je 0x45bf87
mov eax, dword [esi + 4]
test eax, eax
jne 0x45c139
lea ecx, [esp + 0x48]
call fcn.0047c961
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x84], 0
je 0x45bfa5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x4c]
call fcn.0047ce08
test eax, eax
je 0x45c125
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push edi
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.0047d105
test eax, eax
je 0x45c125
test esi, esi
jne 0x45bfe5
xor eax, eax
jmp 0x45bfe8
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.0047d18e
mov ecx, dword [0x4d0fd0]
xor ebx, ebx
cmp ecx, 8
setle bl
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0
dec ebx
and ebx, 0xfffffffd
add ebx, 4
test edi, edi
jle 0x45c10f
mov eax, ebx
neg eax
mov dword [esp + 0x1c], eax
sub edi, ebx
mov ecx, dword [esp + 0x28]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x18], esi
jle 0x45c0ed
fild dword [esp + 0x10]
fidiv dword [esp + 0x14]
fstp qword [esp + 0x38]
fild dword [esp + 0x28]
fstp qword [esp + 0x40]
lea esp, [esp]
fild dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
fdiv qword [esp + 0x44]
push eax
push 0x3fe00000
push 0
sub esp, 8
fstp qword [esp]
call fcn.00443250
mov ecx, dword [0x4d0fd0]
add esp, 0x18
cmp ecx, 8
push eax
jle 0x45c092
mov ecx, dword [esp + 0x50]
push edi
push esi
push ecx
call dword [sym.imp.GDI32.dll_SetPixelV]
jmp 0x45c0d7
lea ecx, [esp + 0x34]
call fcn.0047d2ed
mov ecx, dword [esp + 0x34]
lea edx, [esi + ebx]
mov dword [esp + 0x70], edx
lea eax, [edi + ebx]
push ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
push edx
push eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.CGdiObject.0
call fcn.0047d15c
mov eax, dword [esp + 0x28]
add esi, ebx
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x45c050
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, ebx
add edi, eax
cmp ecx, edx
mov dword [esp + 0x10], ecx
jl 0x45c026
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, edx
test eax, eax
je 0x45c116
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.0047d18e
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0xffffffff
call fcn.0047ce86
test esi, esi
je 0x45c140
mov esi, dword [esi + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push 4
push edi
push ebx
push 0
push 0
push 0
push esi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_DrawStateA]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4