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

Disassembly:
sub esp, 0x9c
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x5feb67
xor eax, eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov word [esp + 0x5d], ax
mov byte [esp + 0x5f], al
mov eax, dword [ecx + 0x534c]
test eax, eax
mov byte [esp + 0x40], 0
je 0x5feb67
push esi
push edi
mov edi, 0x7958c8
mov esi, eax
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x5feb65
push eax
lea eax, [esp + 0x4c]
push 0x20
push eax
call fcn.0067acb0
mov eax, dword [ebp + 0x70]
add esp, 0xc
test eax, eax
je 0x5feb65
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x5feb65
fldz
push ebx
push 0x40
fst dword [esp + 0x44]
lea ebx, [ebp + 0x318]
fst dword [esp + 0x48]
mov al, 0xff
fstp dword [esp + 0x4c]
lea ecx, [esp + 0x70]
push 0
push ecx
mov byte [ebx], al
mov byte [ebx + 1], al
mov byte [ebx + 2], 0
mov byte [ebx + 3], al
call fcn.0074d440
mov ecx, dword [esp + 0xbc]
add esp, 0xc
lea edx, [esp + 0x6c]
push edx
push 1
call fcn.00444ed0
fld dword [esp + 0x78]
fstp dword [esp + 0x40]
lea eax, [esp + 0x18]
fld dword [esp + 0x88]
push eax
fstp dword [esp + 0x48]
lea ecx, [esp + 0x44]
fld dword [esp + 0x9c]
push ecx
fstp dword [esp + 0x50]
mov ecx, ebp
fldz
fst dword [esp + 0x20]
fst dword [esp + 0x24]
fstp dword [esp + 0x28]
call fcn.005dc6c0
fld dword [esp + 0x1c]
fsub qword [0x7bb4f8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
call fcn.0074d900
fld dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.0074d900
mov ecx, dword [ebp + 0x70]
add ecx, 0x54
mov edi, eax
call fcn.00439b60
sub edi, dword [eax + 0x10]
lea esi, [ebp + 0x2f4]
mov ecx, esi
call fcn.00435130
test eax, eax
je 0x5fe9b6
xor eax, eax
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
call fcn.0052feb0
mov edx, eax
mov eax, dword [esp + 0x10]
shr edx, 1
sub eax, edx
add edi, 0x32
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
call fcn.0052feb0
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0052fef0
mov dword [esp + 0x30], eax
call fcn.00534760
push 0
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00435130
push eax
call fcn.00534ac0
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x28]
push edx
push 1
call fcn.0047ff50
mov eax, dword [esp + 0xb0]
mov edi, dword [eax + 0x5350]
test edi, edi
mov dword [esp + 0x3c], edi
je 0x5feb64
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5fe9d4
mov ecx, dword [ebp + 0x70]
sub eax, edx
mov esi, eax
push edi
add ecx, 0x54
mov dword [esp + 0x3c], esi
call fcn.00439b60
mov ecx, eax
call fcn.0053a2e0
cmp eax, 0xdc
mov dword [esp + 0x34], eax
jb 0x5feafd
shr esi, 1
lea esp, [esp]
movsx eax, byte [edi]
push eax
call fcn.007511d3
add esp, 4
test eax, eax
je 0x5fea25
add edi, 2
jmp 0x5fea28
add edi, 1
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5fea30
sub eax, edx
cmp eax, esi
jb 0x5fea45
test edi, edi
jne 0x5fea10
jmp 0x5fea61
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5fea50
mov esi, dword [esp + 0x38]
sub eax, edx
sub esi, eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.004136b0
lea edx, [esp + 0x24]
push edx
call fcn.00534680
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
shr eax, 1
imul eax, esi
xor edx, edx
div dword [esp + 0x3c]
add esp, 4
test eax, eax
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jge 0x5fea9f
fadd dword [0x7bb540]
fsubp st(1)
call fcn.0074d900
fld dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.0074d900
mov edi, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x70]
push 9
push 0
push esi
mov dword [esp + 0x20], eax
push edi
lea eax, [esp + 0x20]
push eax
add ecx, 0x54
call fcn.00543db0
push eax
call fcn.005374f0
mov ecx, dword [ebp + 0x70]
add esp, 0x18
add ecx, 0x54
call fcn.00439b60
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x14]
push 9
lea eax, [edx + ecx + 2]
push 0
add esi, edi
mov dword [esp + 0x1c], eax
push esi
jmp 0x5feb4b
fld dword [esp + 0x18]
shr eax, 1
test eax, eax
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
jge 0x5feb15
fadd dword [0x7bb540]
fsubp st(1)
call fcn.0074d900
fld dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.0074d900
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004136b0
lea eax, [esp + 0x24]
push eax
call fcn.00534680
add esp, 4
push 9
push 0
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x70]
add ecx, 0x54
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x9c
ret 4