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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, ecx
push esi
lea eax, [esp + 0x54]
mov ecx, dword [ebx + 0x1c]
push edi
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
sub edi, esi
lea esi, [ebx + 0x68]
sub eax, edx
mov dword [esp + 0x1c], edi
test esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], esi
je 0x556014
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x5561f4
lea ecx, [esp + 0x48]
call fcn.0059b3be
mov ebx, dword [ebp + 8]
mov dword [esp + 0x80], 0
test ebx, ebx
jne 0x556033
xor eax, eax
jmp 0x556036
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x4c]
call fcn.0059b475
test eax, eax
je 0x5561da
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 4]
push edi
push edx
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.0059c0b2
test eax, eax
je 0x5561da
test esi, esi
jne 0x556077
xor eax, eax
jmp 0x55607a
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.0059b5b6
mov ecx, dword [0x64ab58]
xor ebx, ebx
cmp ecx, 8
mov dword [esp + 0x28], eax
setle bl
dec ebx
mov dword [esp + 0x10], 0
and ebx, 0xfffffffd
add ebx, 4
test edi, edi
jle 0x5561c5
mov eax, ebx
mov dword [esp + 0x14], edi
neg eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x18], esi
jle 0x5561a1
fild dword [esp + 0x10]
mov edi, dword [esp + 0x14]
sub edi, ebx
fidiv dword [esp + 0x1c]
fstp qword [esp + 0x34]
fild dword [esp + 0xc]
fstp qword [esp + 0x3c]
fild dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
fdiv qword [esp + 0x44]
push 0x3fe00000
push 0
sub esp, 8
fstp qword [esp]
call fcn.00554950
mov ecx, dword [0x64ab58]
add esp, 0x18
cmp ecx, 8
push eax
jle 0x556128
mov ecx, dword [esp + 0x50]
push edi
push esi
push ecx
call dword [sym.imp.gdi32.dll_SetPixelV]
jmp 0x556187
lea ecx, [esp + 0x30]
call fcn.0059c16f
lea eax, [edi + ebx]
lea edx, [esi + ebx]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x2c]
neg eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x30]
sbb eax, eax
lea ecx, [esp + 0x68]
and eax, edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
call dword [sym.imp.user32.dll_FillRect]
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.0059c109
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0xc]
add esi, ebx
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x5560e6
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add ecx, ebx
add esi, eax
cmp ecx, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
jl 0x5560ba
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5561cc
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0059b5b6
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.0059b4f3
mov eax, dword [esp + 0xc]
jmp 0x5561f7
mov ebx, dword [ebp + 8]
test esi, esi
je 0x5561fe
mov esi, dword [esi + 4]
mov ecx, dword [ebx + 4]
push 4
push edi
push eax
push 0
push 0
push 0
push esi
push 0
push 0
push ecx
call dword [sym.imp.user32.dll_DrawStateA]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4