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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x8487f8
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push esi
mov esi, ecx
test dword [esi + 0x1c], 0x20000
jne 0x6de861
push ebx
mov ebx, dword [esi + 0x14]
test ebx, ebx
lea ecx, [ebx + 0x30]
jne 0x6de279
lea ecx, [esi + 4]
mov eax, dword [0xb6f03c]
test eax, eax
je 0x6de287
add eax, 0x30
jmp 0x6de28c
mov eax, 0xb6f02c
fld dword [eax + 8]
fsub dword [ecx + 8]
fld dword [eax + 4]
fsub dword [ecx + 4]
fld dword [eax]
fsub dword [ecx]
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)
fcom dword [0x858fb4]
fnstsw ax
test ah, 0x41
je 0x6de85e
fcomp dword [0x859a44]
fnstsw ax
test ah, 0x41
jne 0x6de2e5
mov edx, dword [0xb7cb4c]
xor eax, eax
mov al, byte [esi + 0x22]
add eax, edx
test al, 1
je 0x6de860
movsx ecx, word [esi + 0x22]
push edi
mov edi, dword [ecx*4 + 0xa9b0c8]
mov edx, dword [edi + 0x5c]
add edx, 0x48
mov eax, dword [edx]
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 4]
fld dword [esp + 0x64]
mov dword [esp + 0x68], ecx
mov edx, dword [edx + 8]
fmul dword [0x858c1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
push ebx
lea ecx, [esp + 0x80]
fstp dword [esp + 0x40]
mov dword [esp + 0x70], edx
mov dword [esp + 0x48], edx
call fcn.0059bcf0
mov eax, dword [esi + 0x384]
mov ebx, dword [eax + 0xcc]
mov eax, dword [esi + 0x594]
shr ebx, 0xd
and bl, 1
cmp eax, 9
mov dword [esp + 0xcc], 0
jne 0x6de3cf
mov ecx, esi
call fcn.006b7150
lea ecx, [esi + 0x5cc]
push ecx
lea ecx, [esp + 0x80]
call fcn.0059bbc0
mov ax, word [esi + 0x22]
cmp ax, 0x209
jne 0x6de38a
mov al, byte [esi + 0x438]
cmp al, 1
je 0x6de3cd
jmp 0x6de3c9
cmp ax, 0x20a
jne 0x6de3bd
mov al, byte [esi + 0x438]
test al, al
je 0x6de39e
cmp al, 1
jne 0x6de3cf
mov edx, dword [edi + 0x5c]
add edx, 0x84
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x44], edx
jmp 0x6de3cf
cmp ax, 0x245
jne 0x6de3cf
mov al, byte [esi + 0x438]
cmp al, 2
jne 0x6de3cf
mov bl, 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00509760
add esp, 8
test al, al
je 0x6de832
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], 0
fld dword [eax + 0x18]
fmul dword [esi + 0x4c]
push ebp
fld dword [eax + 0x14]
lea ebp, [esi + 0x44]
fmul dword [ebp + 4]
faddp st(1)
fld dword [eax + 0x10]
fmul dword [ebp]
faddp st(1)
fcomp dword [0x858c28]
fnstsw ax
test ah, 5
jp 0x6de47e
test byte [0xc1cdb8], 1
jne 0x6de463
mov edi, dword [0xc1cdb8]
push 0xbf666666
or edi, 1
push 0xbfe66666
mov dword [0xc1cdb8], edi
call fcn.0041bd90
fstp dword [0xc1cdb4]
add esp, 8
mov eax, dword [esi + 0x14]
fld dword [0xc1cdb4]
fmul dword [eax + 0x10]
fstp dword [esp + 0x1c]
fld dword [0xc1cdb4]
fmul dword [eax + 0x14]
jmp 0x6de494
fld dword [ebp]
fmul dword [0x858ca4]
fstp dword [esp + 0x1c]
fld dword [esi + 0x48]
fmul dword [0x858ca4]
lea edx, [esp + 0x68]
fstp dword [esp + 0x20]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0059c890
mov eax, dword [esi + 0x40]
mov edi, 0x8000000
add esp, 0xc
test edi, eax
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
je 0x6de500
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0
push 1
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.006eb690
add esp, 0x18
test al, al
je 0x6de500
fld dword [esp + 0x18]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x6de500
mov byte [esp + 0x12], 1
test bl, bl
je 0x6de563
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.0059c890
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 8]
add esp, 0xc
test dword [esi + 0x40], edi
mov dword [esp + 0x30], eax
je 0x6de563
push 0
push 1
lea edi, [esp + 0x20]
push edi
push eax
push edx
push ecx
call fcn.006eb690
add esp, 0x18
test al, al
je 0x6de563
fld dword [esp + 0x18]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x6de563
mov byte [esp + 0x13], 1
mov eax, dword [esi + 0x49c]
mov dword [esp + 0x14], eax
call fcn.00821b1e
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [0x858c7c]
fld st(0)
fadd st(1)
fadd dword [0x858624]
fld dword [esp + 0x14]
fadd dword [0x858f14]
fmulp st(1)
fcomp dword [0x8d3680]
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x6de831
mov ecx, ebp
call fcn.004082c0
fmul dword [0x858b8c]
fld dword [0x858c84]
fsub st(1)
fld dword [0x858b50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6de5d9
fstp st(0)
mov dword [esp + 0x14], 0
jmp 0x6de5dd
fstp dword [esp + 0x14]
fsubr dword [0x858cc4]
fld dword [0x858b50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x6de5fe
fstp st(0)
mov dword [esp + 0x18], 0
jmp 0x6de602
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push 0x3f800000
push 0x3e4ccccd
push edx
push 0x3f800000
push 0x3f666666
push 0x3f666666
lea ecx, [esp + 0x68]
call fcn.004ab290
mov edi, 2
mov al, byte [esp + 0x12]
test al, al
push 0
push 0x3f19999a
je 0x6de67d
mov eax, dword [esi + 0x12c]
fld dword [esp + 0x1c]
fmul dword [0x858b8c]
push eax
push 0xbf800000
lea ecx, [esp + 0x5c]
push ecx
fstp dword [esp + 0x6c]
mov ecx, dword [0xa9ae08]
push 0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x78], 0x3f19999a
push eax
jmp 0x6de6a0
mov ecx, dword [esi + 0x12c]
push ecx
push 0xbf800000
lea edx, [esp + 0x5c]
push edx
push 0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [0xa9ae24]
call fcn.004aa440
test bl, bl
je 0x6de71b
mov al, byte [esp + 0x13]
test al, al
push 0
push 0x3f19999a
je 0x6de6f3
mov edx, dword [esi + 0x12c]
fld dword [esp + 0x1c]
fmul dword [0x858b8c]
push edx
push 0xbf800000
lea eax, [esp + 0x5c]
push eax
fstp dword [esp + 0x6c]
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0xa9ae08]
lea edx, [esp + 0x44]
mov dword [esp + 0x78], 0x3f19999a
push edx
jmp 0x6de716
mov eax, dword [esi + 0x12c]
push eax
push 0xbf800000
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [0xa9ae24]
push 0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004aa440
fld dword [esi + 0x49c]
fcomp dword [0x8d367c]
fnstsw ax
test ah, 0x41
jne 0x6de82a
cmp byte [esi + 0x4b4], 3
jae 0x6de82a
call fcn.00821b1e
test al, 1
je 0x6de7b4
mov al, byte [esp + 0x12]
test al, al
push 0
push 0x3f19999a
je 0x6de795
mov ecx, dword [esi + 0x12c]
fld dword [esp + 0x1c]
fmul dword [0x858b8c]
push ecx
push 0xbf800000
lea edx, [esp + 0x5c]
push edx
fstp dword [esp + 0x6c]
push 0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [0xa9ae08]
mov dword [esp + 0x7c], 0x3f19999a
jmp 0x6de825
mov edx, dword [esi + 0x12c]
push edx
push 0xbf800000
lea eax, [esp + 0x5c]
push eax
push 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x50]
push edx
jmp 0x6de81f
test bl, bl
je 0x6de82a
mov al, byte [esp + 0x13]
test al, al
push 0
push 0x3f19999a
je 0x6de802
mov eax, dword [esi + 0x12c]
fld dword [esp + 0x1c]
fmul dword [0x858b8c]
push eax
push 0xbf800000
lea ecx, [esp + 0x5c]
push ecx
fstp dword [esp + 0x6c]
mov ecx, dword [0xa9ae08]
push 0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x44]
mov dword [esp + 0x78], 0x3f19999a
push eax
jmp 0x6de825
mov ecx, dword [esi + 0x12c]
push ecx
push 0xbf800000
lea edx, [esp + 0x5c]
push edx
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [0xa9ae24]
call fcn.004aa440
dec edi
jne 0x6de633
pop ebp
lea ecx, [esp + 0x7c]
mov dword [esp + 0xcc], 0xffffffff
call fcn.0059acd0
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
add esp, 0xc4
ret
fstp st(0)
pop ebx
mov ecx, dword [esp + 0xbc]
pop esi
mov dword fs:[0], ecx
add esp, 0xc4
ret