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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x848128
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x594]
cmp ecx, 3
push edi
jne 0x6b06cb
fld dword [esi + 0x84c]
fcomp dword [0x87125c]
fnstsw ax
test ah, 0x41
je 0x6b06d4
cmp ecx, 4
jne 0x6b0a53
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], 0xc47a0000
je 0x6b06ea
add eax, 0x30
jmp 0x6b06ed
lea eax, [esi + 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x78]
push edx
push 0xc47a0000
push eax
call fcn.005674e0
movzx ecx, byte [esp + 0xa7]
mov eax, dword [esp + 0x8c]
add esp, 0x2c
push ecx
mov ecx, 0xb79538
mov dword [esp + 0x18], eax
call fcn.0055e6f0
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x14]
cmp eax, ebx
mov byte [esp + 0xe], bl
lea edx, [eax + 0x30]
jne 0x6b074c
lea edx, [esi + 4]
lea ecx, [esi + 4]
cmp eax, ebx
je 0x6b0751
add eax, 0x30
jmp 0x6b0754
lea ecx, [eax + 0x30]
jmp 0x6b0743
lea eax, [esi + 4]
mov edx, dword [edx + 8]
mov ecx, dword [ecx + 4]
push ebx
push ebx
lea edi, [esp + 0x20]
push edi
push edx
mov edx, dword [eax]
push ecx
push edx
call fcn.006eb690
add esp, 0x18
test al, al
je 0x6b078e
fld dword [esp + 0x18]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x6b078e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov byte [esp + 0xe], 1
mov di, word [esi + 0x22]
fld dword [0x858ca4]
cmp di, 0x1f5
je 0x6b07a6
cmp di, 0x1d1
jne 0x6b07ae
fstp st(0)
fld dword [0x858b3c]
fmul dword [esp + 0x98]
mov eax, dword [0xb6f03c]
cmp eax, ebx
lea edx, [eax + 0x30]
fstp dword [esp + 0x1c]
jne 0x6b07ca
mov edx, 0xb6f02c
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
lea eax, [ecx + 0x30]
jne 0x6b07d7
lea eax, [esi + 4]
fld dword [eax + 8]
fsub dword [edx + 8]
fld dword [eax + 4]
fsub dword [edx + 4]
fld dword [eax]
fsub dword [edx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fcomp dword [0x8598b0]
fnstsw ax
test ah, 5
jp 0x6b0a55
cmp ecx, ebx
lea eax, [ecx + 0x30]
jne 0x6b0818
lea eax, [esi + 4]
fld dword [eax + 8]
fsub dword [esp + 0x14]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x6b0a55
mov eax, dword [0xb7cb4c]
push ebp
xor edx, edx
mov ebp, 0x14
div ebp
pop ebp
test edx, edx
jne 0x6b08b1
cmp di, 0x208
mov dword [esp + 0x10], 0x41a00000
jne 0x6b0859
mov dword [esp + 0x10], 0x41f00000
cmp ecx, ebx
lea eax, [ecx + 0x30]
jne 0x6b0863
lea eax, [esi + 4]
fld dword [eax + 8]
fsub dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x6b08b1
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x44]
call fcn.004b2600
lea edx, [esp + 0x3c]
push ebx
push edx
mov dword [esp + 0x94], ebx
call fcn.004aba50
mov ecx, eax
call fcn.004ab420
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004b26a0
cmp dword [esi + 0x580], ebx
jne 0x6b0906
push 1
push ebx
lea eax, [esp + 0x38]
push eax
push 0x85aa04
mov ecx, 0xa9ae80
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.004a9be0
cmp eax, ebx
mov dword [esi + 0x580], eax
je 0x6b0906
push 1
mov ecx, eax
call fcn.004aa910
mov ecx, dword [esi + 0x580]
call fcn.004aa2f0
mov ecx, dword [esi + 0x580]
cmp ecx, ebx
je 0x6b0a70
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x6b0920
add eax, 0x30
jmp 0x6b0923
lea eax, [esi + 4]
fld dword [eax + 8]
fsub dword [esp + 0x14]
fsubr dword [esp + 0x1c]
fdiv dword [esp + 0x1c]
fmul dword [esp + 0x94]
fld st(0)
fmul st(1)
fstp dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [esi + 0x984]
fnstsw ax
test ah, 0x41
jne 0x6b096d
fld dword [esi + 0x984]
fadd dword [0x858cec]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x6b099b
jmp 0x6b0995
fld dword [esp + 0x10]
fcomp dword [esi + 0x984]
fnstsw ax
test ah, 5
jp 0x6b09a1
fld dword [esi + 0x984]
fsub dword [0x858cec]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x6b099b
fstp st(0)
fld dword [esp + 0x10]
fstp dword [esi + 0x984]
mov edx, dword [esi + 0x984]
push edx
push 1
call fcn.004aa6c0
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x6b09bb
add eax, 0x30
jmp 0x6b09be
lea eax, [esi + 4]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x580]
push edx
call fcn.004aa660
cmp byte [esp + 0xe], bl
mov ecx, dword [esi + 0x580]
je 0x6b0a1c
push ebx
push ebx
call fcn.004aa610
mov ecx, dword [esi + 0x580]
push ebx
push 1
call fcn.004aa610
mov ecx, dword [esi + 0x580]
push 1
push 2
call fcn.004aa610
jmp 0x6b0a70
cmp byte [esp + 0xf], bl
je 0x6b0a2d
push ebx
push ebx
call fcn.004aa610
push 1
jmp 0x6b0a36
push 1
push ebx
call fcn.004aa610
push ebx
mov ecx, dword [esi + 0x580]
push 1
call fcn.004aa610
mov ecx, dword [esi + 0x580]
push ebx
push 2
call fcn.004aa610
jmp 0x6b0a70
xor ebx, ebx
mov ecx, dword [esi + 0x580]
cmp ecx, ebx
je 0x6b0a70
call fcn.004aa3f0
mov dword [esi + 0x580], ebx
mov dword [esi + 0x984], ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8