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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x80
mov edi, ecx
mov ebp, dword [edi + 0xf8]
mov eax, ebp
add eax, 0x8d0
je 0x5f0d7e
mov eax, dword [ebp + 0x300]
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 0x304]
lea esi, [ebp + 0x300]
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0x308]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x8d0]
test eax, eax
jl 0x5f0ad5
cmp eax, 0xa
jg 0x5f0ad5
test eax, eax
je 0x5f0ad5
jl 0x5f0a7d
cmp eax, 0xa
jle 0x5f0a7f
xor eax, eax
movzx edx, word [ebp + eax*4 + 0x8d0]
lea ebx, [eax + eax]
movsx eax, word [ebp + eax*4 + 0x8d2]
push eax
push edx
call fcn.007b9df0
add esp, 8
test eax, eax
je 0x5f0ad5
movsx ebx, word [ebp + ebx*2 + 0x8d2]
lea ecx, [ebx + ebx]
add ecx, ecx
sub ecx, ebx
add ecx, ecx
add ecx, ecx
sub ecx, ebx
mov ebx, dword [eax + 0xa4]
mov eax, dword [ebx + ecx*4 + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + ecx*4 + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + ecx*4 + 0x24]
mov dword [esp + 0x18], eax
jmp 0x5f0b32
mov ecx, 0xa21740
call fcn.0082d990
push 2
push edi
call fcn.005e4ba8
add esp, 8
mov ebx, dword [edi + 0xf8]
mov edx, dword [ebx + 0x60]
mov dword [esp + 0x20], 0
xor ecx, ecx
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
mov dword [esp + 0x24], eax
call fcn.0082d8bc
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00835c3c
add esp, 8
call fcn.0082da80
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.0082ebac
lea eax, [esp + 0x10]
push 0x8100
push eax
push esi
call fcn.0077fffc
add esp, 0xc
test eax, eax
je 0x5f0d89
push dword [eax + 4]
push esi
call fcn.00836208
fstp st(0)
add esp, 8
mov eax, dword [ebp + 0x8d0]
xor ebx, ebx
test eax, eax
jl 0x5f0b6c
cmp eax, 0xa
jle 0x5f0b6e
xor eax, eax
test eax, eax
je 0x5f0ca7
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
movzx edx, word [ebp + ebx*4 + 0x8d4]
movsx eax, word [ebp + ebx*4 + 0x8d6]
push eax
lea esi, [ebx + ebx]
push edx
call fcn.007b9df0
add esp, 8
test eax, eax
je 0x5f0c83
movsx edi, word [ebp + esi*2 + 0x8d6]
mov edx, dword [eax + 0xa4]
movzx eax, word [eax + 0x1c]
mov dword [esp + 0x78], ebx
lea ebx, [edi + edi]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 0xf8]
mov word [esp + 0x36], ax
mov eax, dword [edx + 0xd8]
mov dword [esp + 0x30], eax
add ebx, ebx
sub ebx, edi
add ebx, ebx
mov dword [esp + 0x28], 0
add ebx, ebx
sub ebx, edi
movzx edi, word [ecx + 0x1c]
mov word [esp + 0x34], di
mov dword [esp + 0x2c], 1
movzx esi, word [ebp + esi*2 + 0x8d6]
mov word [esp + 0x38], si
movzx eax, word [ecx + 0x8a4]
mov eax, dword [eax*4 + 0x9cb9d0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
add ebx, ebx
add ebx, ebx
lea eax, [eax + ebx + 0x1c]
push eax
mov eax, dword [esp + 0x74]
push eax
mov ebx, dword [esp + 0x80]
call fcn.00836208
mov edx, dword [esp + 0x7c]
fdiv dword [edx + 0x208]
mov esi, dword [edx + 0xf8]
fnstcw word [esp + 0x60]
movzx eax, word [esp + 0x60]
or eax, 0xc00
mov dword [esp + 0x68], eax
fldcw word [esp + 0x68]
fistp dword [esp + 0x70]
fldcw word [esp + 0x60]
mov ecx, dword [esp + 0x70]
add esi, 0x38
lea eax, [esp + 0x30]
push eax
push ecx
push esi
push dword [0xaca36c]
call fcn.005c71f8
add esp, 0x18
mov eax, dword [ebp + 0x8d0]
add ebx, 1
test eax, eax
jl 0x5f0c95
cmp eax, 0xa
jle 0x5f0c97
xor eax, eax
cmp ebx, eax
jne 0x5f0b7e
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
push 2
push edi
call fcn.005e4ba8
add esp, 8
mov ebx, dword [edi + 0xf8]
mov ebp, dword [ebx + 0x60]
mov dword [esp + 0x78], eax
xor ebx, ebx
mov ecx, 0xa21740
call fcn.0082d990
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], 0
xor ecx, ecx
mov edx, ebp
mov dword [esp + 0x40], 0
mov eax, dword [eax]
mov dword [esp + 0x48], eax
call fcn.0082d8bc
lea ecx, [esp + 0x40]
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00835c3c
add esp, 8
lea ecx, [esp + 0x4c]
mov edx, esi
call fcn.0082ebac
call fcn.0082da80
lea eax, [esp + 0x4c]
push 0x8100
push eax
push esi
call fcn.0077fffc
add esp, 0xc
test eax, eax
je 0x5f0d3e
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.00836208
add esp, 8
fld dword [edi + 0x208]
fdivp st(1)
fstp dword [esp + 0xc]
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.005cf44c
add ebp, 0x4000
add ebx, 1
cmp ebx, 4
jl 0x5f0cc1
add esp, 0x80
pop ebx
pop ebp
pop esi
pop edi
ret
lea ebx, [esp + 0x10]
push ebx
push esi
call fcn.00836208
fstp st(0)
add esp, 8
jmp 0x5f0b5b