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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x616040]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x9c]
lea ebx, [esi + 0x9c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
push edi
test eax, eax
je 0x575827
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0xe8]
mov edi, 0x12c
mov ecx, dword [edx + 8]
test ecx, ecx
jle 0x575853
mov edx, dword [edx + 4]
xor eax, eax
mov edi, edi
cmp dword [eax + edx + 0x20], 0
je 0x57584b
mov edi, dword [eax + edx + 0x14]
add eax, 0x90
dec ecx
jne 0x575840
push 0x1b68
push 0x27e0
push 0
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x44]
mov eax, 0x1b4e81b5
imul ecx, edi
imul ecx
mov ecx, dword [esp + 0x4c]
sar edx, 6
mov eax, edx
imul ecx, edi
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x258
cdq
idiv edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], eax
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [esp + 0x48]
sar edx, 6
mov eax, edx
imul ecx, edi
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x258
cdq
idiv edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
mov eax, 0x1b4e81b5
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul eax, ecx, 0x258
mov ecx, dword [esp + 0x50]
imul ecx, edi
cdq
idiv edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [esi + 0xc4]
sar edx, 6
mov eax, edx
sub ecx, dword [esi + 0xbc]
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x258
cdq
idiv edi
mov edx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
mov dword [esp + 0x50], edx
cmp eax, ecx
jl 0x57595e
mov ecx, dword [esi + 0xc8]
mov eax, edx
mov edi, dword [esp + 0x10]
sub eax, edi
sub ecx, dword [esi + 0xc0]
cmp eax, ecx
jge 0x57597c
mov eax, dword [esi + 0xbc]
mov edi, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x18], eax
jmp 0x575980
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
sub edx, edi
sub eax, dword [esp + 0x34]
sub ecx, dword [esp + 0x18]
sub eax, 0x3c
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fdiv qword [esp + 0x10]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
sub eax, 0x3c
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fdiv qword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x5759e9
fstp st(0)
jmp 0x5759eb
fstp st(1)
fst qword [esi + 0xd0]
mov eax, dword [esi + 0xc8]
sub eax, dword [esi + 0xc0]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul st(1)
call fcn.0052ea60
push eax
mov eax, dword [esi + 0xc4]
sub eax, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp qword [esp + 0x14]
fmul qword [esp + 0x14]
call fcn.0052ea60
mov edi, dword [sym.imp.USER32.dll_SetRect]
push eax
push 0
push 0
push ebx
call edi
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x10], eax
cmp eax, 0x64
jle 0x575aa8
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fdiv qword [0x5eea78]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul st(1)
call fcn.0052ea60
push eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp qword [esp + 0x14]
fmul qword [esp + 0x14]
call fcn.0052ea60
push eax
push 0
push 0
push ebx
call edi
xor eax, eax
mov ecx, esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x54]
push 0x17
push eax
push 0
mov dword [esp + 0x60], 0x3c
mov dword [esp + 0x64], 0x17
call fcn.00410117
xor eax, eax
mov ecx, esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x70]
push 0x17
push eax
push 1
mov dword [esp + 0x7c], 0x3c
mov dword [esp + 0x80], 0x17
call fcn.00410117
mov eax, dword [esi + 0xe8]
cmp dword [eax + 0x44], 0x64
mov eax, dword [ebx + 8]
jne 0x575bab
sub eax, dword [ebx]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [ebx]
sub eax, dword [ebx + 8]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov dword [esp + 0x68], 0
mov ecx, eax
mov dword [esp + 0x84], 0
mov eax, dword [ebx + 4]
sub eax, dword [ebx + 0xc]
sub eax, dword [esp + 0x38]
add eax, dword [esp + 0x40]
cdq
sar ecx, 1
sub eax, edx
sar eax, 1
push eax
push ecx
jmp 0x575cc6
sub eax, dword [ebx]
mov ecx, dword [esi + 0xe0]
add eax, 0x3c
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
add eax, 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], eax
test ecx, ecx
js 0x575ca6
cmp dword [esi + 0xe4], 0
jl 0x575ca6
sub ecx, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
imul eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x2c]
cdq
idiv ecx
mov edi, eax
sub edi, dword [esi + 0xe0]
add edi, 0x1e
mov dword [esp + 0x68], edi
jns 0x575c33
xor edi, edi
jmp 0x575c41
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x10]
cmp edi, eax
jl 0x575c45
mov edi, eax
mov dword [esp + 0x68], edi
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov ecx, dword [esi + 0xe4]
sub ecx, dword [esp + 0x28]
imul eax, ecx
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
cdq
idiv ecx
mov edx, eax
sub edx, dword [esi + 0xe4]
add edx, 0x1e
mov dword [esp + 0x84], edx
jns 0x575c7b
xor edx, edx
jmp 0x575c89
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
cmp edx, eax
jl 0x575c90
mov edx, eax
mov dword [esp + 0x84], edx
mov dword [esi + 0xe0], 0xffffffff
mov dword [esi + 0xe4], 0xffffffff
jmp 0x575cb1
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x84]
mov ecx, 0x1e
mov eax, ecx
sub ecx, dword [esi + 0xa0]
sub eax, edi
sub eax, dword [ebx]
sub ecx, edx
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push 0
call fcn.0041269b
push 1
lea eax, [esp + 0x74]
mov ecx, esi
push eax
push 1
call fcn.0041269b
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00527e2c
mov esp, ebp
pop ebp
ret 4