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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov al, byte [ebp + 0x238]
test al, al
mov dword [esp + 0x48], ebp
jne 0x5feffb
mov ecx, dword [ebp + 0x214]
mov eax, 0x192
cmp ecx, eax
je 0x5feffb
mov dword [ebp + 0x214], eax
mov eax, dword [ebp + 0x2a8]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], ebx
jle 0x5feffb
mov dword [esp + 0x3c], ebx
mov eax, dword [0x106a558]
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x2a4]
mov ecx, dword [ebx + ecx]
push 1
push 0x192
lea ecx, [ecx + ecx*8]
push 8
shl ecx, 2
push ecx
push eax
call dword [edx + 0x5c]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
xor esi, esi
push esi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push eax
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x250]
mov eax, dword [ebx + edx]
mov edx, dword [eax]
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x2b0]
mov ecx, dword [ebx + ecx]
lea ecx, [ecx + ecx*2]
shl ecx, 1
push ecx
push esi
push eax
call dword [edx + 0x2c]
mov edx, dword [ebp + 0x244]
mov eax, dword [ebx + edx]
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x20]
push edx
push esi
push esi
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x2b0]
cmp dword [ebx + eax], esi
mov dword [esp + 0x34], esi
jle 0x5fed6c
mov edi, edi
mov edx, dword [esp + 0x18]
movzx eax, word [esi + edx]
mov edi, dword [esp + 0x1c]
lea ecx, [eax + eax*8]
movzx eax, word [esi + edx + 2]
movzx edx, word [esi + edx + 4]
lea edx, [edx + edx*8]
lea edx, [edi + edx*4]
lea eax, [eax + eax*8]
lea eax, [edi + eax*4]
fld dword [edx + 8]
lea ecx, [edi + ecx*4]
sub esp, 8
fsub dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [edx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x38]
fld dword [edx]
fsub dword [eax]
fstp dword [esp + 0x6c]
fld dword [eax + 8]
fsub dword [ecx + 8]
fstp dword [esp + 0x28]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x30]
fld dword [eax]
fsub dword [ecx]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x38]
fld dword [esp + 0x30]
fmul dword [esp + 0x6c]
fsubp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
fmul dword [esp + 0x6c]
mov dword [esp + 0x68], ecx
fld dword [esp + 0x78]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x30]
mov eax, dword [esp + 0x48]
fmul dword [esp + 0x2c]
mov dword [esp + 0x64], eax
fld dword [esp + 0x28]
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x68]
mov edx, dword [esp + 0x84]
fmul dword [esp + 0x68]
mov dword [esp + 0x60], edx
fld dword [esp + 0x64]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x60]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp qword [esp]
call fcn.00693b94
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcomp dword [0x6d1030]
fnstsw ax
test ah, 0x41
jp 0x5feb37
xor edi, edi
xor ecx, ecx
xor edx, edx
jmp 0x5feb75
fld dword [0x6d4fc8]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x20]
fld dword [esp + 0x58]
fmul dword [esp + 0x20]
fstp dword [esp + 0x58]
mov edi, dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul dword [esp + 0x20]
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
add ebx, eax
add eax, ebp
mov ebp, dword [ebx]
mov dword [eax], ebp
mov ebp, dword [ebx + 4]
mov dword [eax + 4], ebp
mov ebx, dword [ebx + 8]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
mov ebx, dword [eax + ebx + 0x14]
mov dword [eax + ebp + 0x1c], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
mov ebx, dword [eax + ebx + 0x18]
mov dword [eax + ebp + 0x20], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax]
mov ebx, dword [esp + 0x14]
lea eax, [eax + eax*8]
mov dword [ebx + eax*4 + 0x18], 0
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax]
mov ebx, dword [esp + 0x14]
lea eax, [eax + eax*8]
lea eax, [ebx + eax*4 + 0xc]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 2]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
add ebx, eax
add eax, ebp
mov ebp, dword [ebx]
mov dword [eax], ebp
mov ebp, dword [ebx + 4]
mov dword [eax + 4], ebp
mov ebx, dword [ebx + 8]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 2]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
mov ebx, dword [eax + ebx + 0x14]
mov dword [eax + ebp + 0x1c], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 2]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
mov ebx, dword [eax + ebx + 0x18]
mov dword [eax + ebp + 0x20], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 2]
mov ebx, dword [esp + 0x14]
lea eax, [eax + eax*8]
mov dword [ebx + eax*4 + 0x18], 0
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 2]
lea eax, [eax + eax*8]
mov ebx, dword [esp + 0x14]
lea eax, [ebx + eax*4 + 0xc]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 4]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
add ebx, eax
add eax, ebp
mov ebp, dword [ebx]
mov dword [eax], ebp
mov ebp, dword [ebx + 4]
mov dword [eax + 4], ebp
mov ebx, dword [ebx + 8]
mov dword [eax + 8], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 4]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
mov ebx, dword [eax + ebx + 0x14]
mov dword [eax + ebp + 0x1c], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 4]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [eax + eax*8]
shl eax, 2
mov ebx, dword [eax + ebx + 0x18]
mov dword [eax + ebp + 0x20], ebx
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 4]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x48]
lea eax, [eax + eax*8]
mov dword [ebx + eax*4 + 0x18], 0
mov eax, dword [esp + 0x18]
movzx eax, word [esi + eax + 4]
mov ebx, dword [esp + 0x14]
lea eax, [eax + eax*8]
lea eax, [ebx + eax*4 + 0xc]
mov ebx, dword [esp + 0x3c]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x2b0]
mov edx, dword [ebx + ecx]
inc eax
add esi, 6
cmp eax, edx
mov dword [esp + 0x34], eax
jl 0x5fea20
mov edx, dword [ebp + 0x2a4]
mov eax, dword [ebx + edx]
shl eax, 2
push eax
call fcn.0069197a
mov ecx, dword [ebp + 0x2a4]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + ecx]
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [esp + 0x30], esi
jle 0x5fef8c
mov dword [esp + 0x28], esi
mov edx, dword [ebp + 0x2a4]
mov ecx, dword [ebx + edx]
mov edi, dword [esp + 0x20]
shl ecx, 2
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x2a4]
mov ecx, dword [ebx + eax]
xor edx, edx
xor edi, edi
cmp ecx, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], edx
jle 0x5feea1
mov ecx, dword [esp + 0x14]
lea esp, [esp]
fld dword [esi + ecx]
fld dword [edx + ecx]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5fee82
fld dword [esi + ecx + 4]
fld dword [edx + ecx + 4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5fee82
fld dword [esi + ecx + 8]
fld dword [edx + ecx + 8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x5fee82
fld dword [edx + ecx + 0x14]
fmul dword [esi + ecx + 0x14]
fld dword [edx + ecx + 0x10]
fmul dword [esi + ecx + 0x10]
faddp st(1)
fld dword [edx + ecx + 0xc]
fmul dword [esi + ecx + 0xc]
faddp st(1)
fcomp dword [0x6d126c]
fnstsw ax
test ah, 1
jne 0x5fee82
mov ecx, dword [esp + 0x20]
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x14]
fadd dword [edx + ecx + 0xc]
inc edi
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fadd dword [edx + ecx + 0x10]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd dword [edx + ecx + 0x14]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 0x2a4]
inc eax
add edx, 0x24
cmp eax, dword [ebx + esi]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
jl 0x5fedf0
fld dword [esp + 0x54]
sub esp, 8
fmul dword [esp + 0x5c]
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
faddp st(1)
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp qword [esp]
call fcn.00693b94
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fcomp dword [0x6d1030]
fnstsw ax
test ah, 0x41
jp 0x5fef00
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jmp 0x5fef34
fld dword [0x6d4fc8]
xor eax, eax
fdiv dword [esp + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul dword [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul dword [esp + 0x24]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
fstp dword [esp + 0x54]
cmp edi, eax
jle 0x5fef6b
jmp 0x5fef40
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
lea edx, [ecx + ecx*8]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + edx*4 + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x54]
inc eax
cmp eax, edi
mov dword [edx + 8], ecx
jl 0x5fef40
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x2a4]
mov ecx, dword [ebx + edx]
inc eax
add esi, 0x24
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
jl 0x5feda0
mov eax, dword [esp + 0x20]
push eax
call fcn.00693d31
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
add esp, 4
push eax
call dword [ecx + 0x30]
mov edx, dword [ebp + 0x250]
mov eax, dword [ebx + edx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edx, dword [ebp + 0x244]
mov eax, dword [ebx + edx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edx, dword [ebp + 0x244]
mov eax, dword [ebx + edx]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x244]
mov dword [ebx + edx], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x2a8]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
jl 0x5fe992
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret