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

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, dword [esp + 0xcc]
push ebp
mov ebp, dword [esp + 0xcc]
push esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0xd0]
lea eax, [ebp + 5]
lea ecx, [esi + ebp]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
lea edx, [edi + ebx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
push dword [eax + 0x84]
mov dword [esp + 0x18], edx
push 0x5ebe12
push dword [eax + 0x78]
add eax, 0x170
push ebx
push eax
call fcn.00592fa4
test eax, eax
je 0x5faeb3
push eax
lea eax, [esi - 5]
push eax
push ebx
push dword [esp + 0x38]
mov ebx, dword [esp + 0xdc]
mov ecx, ebx
push edi
call fcn.0059adae
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
lea eax, [esp + 0x28]
push 0xf
push 2
push eax
push dword [ebx]
call esi
mov ebx, dword [esp + 0x10]
push 0x2007
push 2
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x94]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xd8]
push dword [eax]
call esi
mov esi, dword [esp + 0x20]
mov ecx, 0x3e8
mov eax, esi
mov dword [esp + 0x38], ecx
sub eax, dword [esp + 0x18]
xor edx, edx
imul eax, dword [esp + 0x40]
push 0xff5050
div ecx
mov ecx, dword [esp + 0xd0]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0059aa6e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0xfff0f0
push eax
mov dword [esp + 0x28], esi
call fcn.0059aa6e
mov eax, dword [ebx + 0x34]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x14], ecx
jbe 0x5fae55
mov esi, dword [esp + 0xd8]
push ecx
lea ecx, [eax + 4]
call fcn.0053d231
mov ebx, eax
mov edx, dword [ebx]
test edx, edx
je 0x5facb3
mov eax, dword [esp + 0x14]
lea ecx, [ebp + 6]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea ecx, [ebp + 9]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], edi
mov eax, dword [eax + 0x34]
push 0x50ff50
mov ecx, dword [eax + 0x78]
imul eax, edx, 0x3e8
xor edx, edx
div ecx
xor edx, edx
mov esi, eax
imul eax, dword [ebx + 4], 0x3e8
imul esi, dword [esp + 0xdc]
div ecx
xor edx, edx
mov ecx, 0x3e8
imul eax, dword [esp + 0xdc]
div dword [esp + 0x3c]
xor edx, edx
add eax, edi
mov dword [esp + 0x4c], eax
mov eax, esi
div ecx
mov ecx, dword [esp + 0xd0]
add eax, edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0059aa6e
mov esi, dword [esp + 0xd8]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x5fad14
lea eax, [ebp + 6]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
lea eax, [edi + esi]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
push 0xe070e0
mov ecx, dword [eax + 0x34]
imul eax, edx, 0x3e8
xor edx, edx
div dword [ecx + 0x78]
xor edx, edx
mov ecx, 0x3e8
imul eax, esi
div ecx
mov ecx, dword [esp + 0xd0]
add eax, edi
mov dword [esp + 0x5c], eax
inc eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
push eax
call fcn.0059aa6e
mov edx, dword [ebx + 8]
test edx, edx
je 0x5fada4
lea eax, [ebp + 6]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
lea eax, [ebp + 9]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
push 0x70ffff
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x78]
imul eax, edx, 0x3e8
xor edx, edx
div ecx
xor edx, edx
mov esi, eax
imul eax, dword [ebx], 0x3e8
imul esi, dword [esp + 0xdc]
div ecx
xor edx, edx
mov ecx, 0x3e8
inc eax
imul eax, dword [esp + 0xdc]
div dword [esp + 0x3c]
xor edx, edx
add eax, edi
mov dword [esp + 0x6c], eax
mov eax, esi
div ecx
mov ecx, dword [esp + 0xd0]
add eax, edi
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
push eax
call fcn.0059aa6e
mov esi, dword [esp + 0xd8]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x5fae3c
lea eax, [ebp + 6]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
lea eax, [ebp + 9]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
push 0x8070ff
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x78]
imul eax, edx, 0x3e8
xor edx, edx
div ecx
xor edx, edx
mov esi, eax
imul eax, dword [ebx + 8], 0x3e8
mov ebx, 0x3e8
imul esi, dword [esp + 0xdc]
div ecx
xor edx, edx
mov ecx, dword [esp + 0xd0]
inc eax
imul eax, dword [esp + 0xdc]
div ebx
xor edx, edx
add eax, edi
mov dword [esp + 0x7c], eax
mov eax, esi
div ebx
add eax, edi
mov dword [esp + 0x84], eax
lea eax, [esp + 0x7c]
push eax
call fcn.0059aa6e
mov esi, dword [esp + 0xd8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x34]
cmp ecx, dword [eax + 0x14]
jb 0x5fac19
push dword [esp + 0x40]
lea eax, [esp + 0x8c]
push str._:.1d___
push 0x20
push eax
call fcn.004651b2
mov eax, dword [esp + 0x40]
add esp, 0x10
sub dword [esp + 0x2c], 2
add eax, 8
mov dword [esp + 0x28], eax
push 0x60
push dword [0x7c1ee0]
push 0x30
call dword [sym.imp.KERNEL32.DLL_MulDiv]
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push 0
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0059aa03
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x14