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

Disassembly:
sub esp, 0x164
push ebx
push esi
push edi
mov edi, dword [esp + 0x174]
mov esi, ecx
mov ecx, dword [edi]
call fcn.005c985c
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x98], ebx
je 0x5ace6c
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x834]
push ebp
push eax
mov dword [esp + 0x3c], eax
call dword [fcn.005f62b8]
mov ebp, dword [esp + 0x17c]
movsx ecx, word [ebp + 0x24]
fld dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0xbc], ecx
fild dword [esp + 0x50]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0xcc], ecx
movzx ecx, word [ebp + 0x26]
fmul dword [0x5fa904]
mov edx, eax
imul ecx, ecx, 0x1c
fstp dword [esp + 0x20]
fst dword [esp + 0xb0]
fstp dword [esp + 0xc8]
mov dword [esp + 0xac], edx
mov edx, dword [edi + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
movzx edx, byte [edi + 0x54]
mov dword [esp + 0xc4], eax
movzx eax, byte [edi + 0x55]
mov dword [esp + 0xd0], edx
mov edx, dword [edi + 0x44]
mov dword [esp + 0xd4], eax
lea eax, [ecx + edx]
mov dword [esp + 0xb8], 0x48
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0xe0], eax
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x210]
xor edx, edx
cmp eax, edx
mov byte [esp + 0x50], 0
jne 0x5ac80d
call fcn.005d85cc
xor edx, edx
cmp eax, 9
jl 0x5ac817
mov byte [esp + 0x50], 1
fld dword [0x644b04]
mov byte [esp + 0x1f], 1
fld dword [edi + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5ac83a
mov dword [esp + 0xd4], edx
mov byte [esp + 0x1f], 0
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
movzx ecx, word [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], eax
mov al, byte [esp + 0x1f]
test al, al
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
je 0x5ac9ec
fld dword [esp + 0x54]
fmul dword [0x5f96e0]
fst dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
fmul dword [0x5f96e0]
mov eax, dword [esp + 0x24]
and ecx, 0xffff
shl eax, 0x10
fstp dword [esp + 0x18]
or ecx, eax
mov dword [esp + 0x7c], ecx
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x3c]
fmul dword [0x5f96e0]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x40]
mov eax, dword [esp + 0x14]
fmul dword [0x5f96e0]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov ah, byte [edi + 0x54]
mov dword [esp + 0x88], ecx
movzx ecx, word [ebp + 0x26]
imul ecx, ecx, 0x1c
mov al, byte [edi + 0x55]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x44]
fld dword [ecx + eax + 0x14]
fmul dword [0x5f96e0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx eax, word [ebp + 0x26]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x1c
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0x44]
fld dword [eax + ecx + 0x18]
fmul dword [0x5f96e0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx ecx, word [ebp + 0x26]
mov eax, dword [esp + 0x14]
imul ecx, ecx, 0x1c
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x44]
fld dword [ecx + eax + 0x10]
fmul dword [0x5f96e0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
cmp dword [esi + 0xc], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
jne 0x5ac9b5
mov ecx, esi
call fcn.005a9aac
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x7c]
push ecx
push eax
push edx
call fcn.006aa4fc
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], ebx
jne 0x5acdc7
mov ebx, dword [esp + 0x9c]
xor edx, edx
fld dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
fmul dword [edi + 0x40]
mov ecx, dword [eax + 0x22c]
mov dword [esp + 0x14], ecx
fcomp dword [0x5fa858]
fnstsw ax
test ah, 1
jne 0x5aca19
mov dword [esp + 0x14], 7
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x38]
fld dword [esi + 0x38]
fmul dword [0x5f96e0]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0xa0], ecx
fstp dword [esp + 0x20]
mov dword [esp + 0xa4], eax
fld dword [esp + 0x20]
fistp dword [esp + 0x54]
fld dword [esi + 0x34]
fmul dword [0x5f96e0]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fistp dword [esp + 0x20]
cmp dword [esi + 8], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
jne 0x5aca7e
mov ecx, esi
call fcn.005a9a4c
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.006aa4fc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
add esp, 0x14
test eax, eax
jne 0x5accc2
mov ecx, dword [esp + 0x14]
mov eax, 7
cmp ecx, eax
jne 0x5acb2b
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x22c]
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x48], ecx
jne 0x5acad2
mov ecx, esi
call fcn.005a9a4c
mov ecx, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x44]
push eax
push ecx
push edx
call fcn.006aa4fc
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x5acb21
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.005a9b0c
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.006aa7ac
mov eax, dword [0x680ee0]
xor ecx, ecx
add esp, 0xc
dec eax
mov dword [esp + 0x24], ecx
mov dword [0x680ee0], eax
mov dword [esp + 0x48], 7
jmp 0x5acb6e
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x5acb3d
mov ecx, esi
call fcn.005a9a4c
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.006aa4fc
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x5acb66
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
test ecx, ecx
jne 0x5accc2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x2c]
mov dx, word [ebp + 0x14]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0xd4]
push ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0x5fa874
mov dword [esp + 0xec], esi
mov word [esp + 0xf4], dx
mov dword [esp + 0xf8], 0
mov byte [esp + 0xfc], 0
call fcn.005aa77c
mov eax, dword [esp + 0xf4]
cmp dword [eax + 0x1c], 1
ja 0x5acc03
mov dword [esp + 0xe4], 0x5fa874
lea ecx, [esp + 0xe4]
call fcn.005a9dac
mov edx, dword [esp + 0x38]
push edx
call dword [fcn.005f62b4]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx + 0xd4]
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.005ab8cc
mov edx, dword [esp + 0xf4]
mov eax, dword [esi + 4]
lea ecx, [esp + 0xa0]
push ecx
push edx
push eax
call fcn.006a8fdc
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x5acc6a
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], 0x5fa874
call fcn.005a9dac
mov ecx, dword [esp + 0x38]
push ecx
call dword [fcn.005f62b4]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8
mov edx, dword [0x680ed8]
mov eax, dword [esp + 0x20]
inc edx
mov dword [0x680ed8], edx
push ebx
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.005a9b0c
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.006aa61c
add esp, 0x14
test eax, eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], 0x5fa874
jne 0x5acbe6
mov dword [esp + 0x20], ebx
call fcn.005a9dac
mov ebx, dword [esp + 0x9c]
jmp 0x5accc8
inc dword [0x680ed4]
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc0]
push edx
push eax
push ecx
call fcn.006aaeec
mov edx, dword [esp + 0x52]
mov eax, dword [esp + 0x50]
push 0xb
push edx
mov dl, byte [edi + 0x54]
xor ecx, ecx
test dl, dl
mov edx, dword [esi + 4]
setne cl
push eax
push ecx
push edx
call fcn.006aa13c
mov edi, eax
add esp, 0x34
test edi, edi
je 0x5ace60
mov ebx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0xd4]
call fcn.005eca0c
cmp eax, 9
mov eax, dword [esp + 0x20]
setge cl
lea edx, [esp + 0x13c]
push ecx
mov ecx, dword [esi + 4]
push edi
push edx
push eax
push ecx
call fcn.006abd0c
mov al, byte [esp + 0x33]
add esp, 0x14
test al, al
je 0x5acd9b
inc dword [edi + 0x10]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x5acd72
mov ecx, esi
call fcn.005a9aac
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push edi
lea edx, [esp + 0x78]
push edx
mov edx, dword [esi + 4]
push ecx
push eax
push edx
call fcn.006aa61c
add esp, 0x14
test eax, eax
jne 0x5ace60
inc dword [0x680ee0]
mov dword [esp + 0x18], edi
xor eax, eax
jmp 0x5acdac
mov edx, dword [esp + eax + 0x110]
mov ecx, dword [edi + 8]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x2c
jl 0x5acdac
mov ebx, dword [esp + 0x18]
jmp 0x5acdcd
inc dword [0x680edc]
test ebx, ebx
je 0x5ace60
mov al, byte [esp + 0x1f]
test al, al
je 0x5ace2e
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xe4]
xor eax, eax
sub ecx, edx
nop
lea edx, [ecx + eax*4]
mov edx, dword [esp + edx + 0xe4]
mov dword [esp + eax*4 + 0xe4], edx
inc eax
cmp eax, 0xb
jl 0x5acdec
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 4]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xbc]
push ecx
push edx
call fcn.006ab98c
add esp, 0x18
mov eax, dword [esp + 0x28]
mov word [ebp], ax
mov cx, word [ebx + 2]
add cx, ax
xor eax, eax
mov word [ebp + 2], cx
mov ax, word [ebx + 4]
add ax, word [esp + 0x2c]
neg eax
mov word [ebp + 4], ax
mov dx, word [ebx + 4]
add dx, ax
mov word [ebp + 6], dx
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x38]
push eax
call dword [fcn.005f62b4]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8