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

Disassembly:
push 0xffffffffffffffff
push 0x45c430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
mov esi, ecx
lea eax, [esp + 0x54]
push edi
mov ecx, dword [esi + 0x1c]
push eax
push ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea edi, [esi + 0x54]
test edi, edi
je 0x427537
mov eax, dword [edi + 4]
test eax, eax
je 0x427537
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x64]
sub eax, ebp
sub ecx, ebx
test edi, edi
jne 0x4272e3
xor edx, edx
jmp 0x4272e6
mov edx, dword [edi + 4]
push 0xcc0020
push 0
push 4
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add eax, 0xfffffffc
mov dword [esp + 0x70], eax
mov eax, dword [edi]
push 0
mov ecx, edi
mov dword [esp + 0x80], edx
call dword [eax + 0x2c]
push 0x8000
push 0
lea ecx, [esp + 0x28]
call fcn.00453bad
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
lea ecx, [esp + 0x70]
and eax, edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push edx
mov dword [esp + 0x94], 0
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [0x51f700]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [0x51f700], eax
je 0x427400
push 0x8000
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.00453b5d
lea eax, [esp + 0x18]
mov ecx, edi
push eax
mov byte [esp + 0x8c], 1
call fcn.0045338d
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebx, eax
push edx
lea eax, [ecx - 2]
mov ecx, edi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0045367d
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push edx
lea eax, [ecx - 2]
mov ecx, edi
push eax
call fcn.004536c9
push ebx
mov ecx, edi
call fcn.0045338d
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.00453b47
mov byte [esp + 0x88], 0
mov eax, dword [esi + 0x48]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x18], eax
jle 0x427519
jmp 0x427417
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
mov ebp, dword [eax + ebx*4]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub esi, eax
dec ecx
dec edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x74]
xor eax, eax
sub ecx, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov edx, esi
fild qword [esp + 0x38]
fild dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
fild qword [esp + 0x40]
fdiv st(2)
fmul st(1)
call fcn.0043cb88
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x4c], 0
sub esi, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], esi
fild qword [esp + 0x48]
fdiv st(2)
fmul st(1)
call fcn.0043cb88
mov esi, eax
mov eax, dword [ebp + 4]
push eax
push 1
fstp st(0)
push 0
lea ecx, [esp + 0x3c]
fstp st(0)
call fcn.00453b5d
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 3
push ecx
mov ecx, edi
call fcn.0045338d
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.0045367d
mov edx, dword [esp + 0x50]
push esi
push edx
mov ecx, edi
call fcn.004536c9
push ebp
mov ecx, edi
call fcn.0045338d
mov dword [esp + 0x30], vtable.CGdiObject.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 4
call fcn.00453b47
mov byte [esp + 0x88], 0
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x427413
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x88], 5
call fcn.00453b47
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x7c
ret