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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
fld dword [0x1007fcb8]
push ebx
fcomp dword [0xe7c3d4]
push esi
push edi
mov edi, dword [0x100e236c]
mov dword [esp + 0x18], 1
fnstsw ax
test ah, 1
je 0x1002e765
mov dword [esp + 0x18], 0
fild dword [esp + 0x18]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1002e77c
fld dword [0xe7c3d4]
jmp 0x1002e782
fld dword [0xe7c3d8]
fld qword [0x1007ffc8]
xor eax, eax
fmul st(1), st(0)
cmp edi, 4
fmul dword [0xe7c3d4]
sete al
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fxch st(1)
fstp dword [esp + 0x20]
fsub dword [esp + 0x20]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x14]
fild dword [esp + 0x20]
fld st(0)
fldz
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x1002e7cf
fld qword [0x10081060]
jmp 0x1002e7d5
fld qword [0x1007fef0]
fstp dword [esp + 0x34]
fld st(1)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1002e7ee
fld qword [0x10081058]
jmp 0x1002e7f4
fld qword [0x10080640]
fstp dword [esp + 0x30]
fld st(1)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1002e80d
fld qword [0x10081050]
jmp 0x1002e813
fld qword [0x10080718]
fstp dword [esp + 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1002e828
fld dword [0x100801e0]
jmp 0x1002e82e
fld dword [0x1007fe30]
mov eax, dword [0x105da1b8]
fstp dword [esp + 0x20]
mov ecx, dword [0x8128ac8]
cmp byte [ecx + 0x76], 0
mov ebx, eax
mov dword [esp + 0x24], ebx
jbe 0x1002ec86
cmp byte [eax + 0x14], 0
mov dword [esp + 0x1c], 1
je 0x1002e863
mov dword [esp + 0x1c], 6
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x1002e878
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea esi, [eax + edx]
cmp esi, 0xa
jne 0x1002e886
xor esi, esi
cmp eax, 4
ja case.default.0x1002e88f
jmp dword [eax*4 + 0x1002ec90]
cmp edi, 4
jne 0x1002e8a3
fld qword [0x10081048]
jmp 0x1002e8a9
fld qword [0x100808b8]
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.10066230
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x1002e990
cmp edi, 4
jne 0x1002e8d8
fld qword [0x10081040]
jmp 0x1002e8de
fld qword [0x10081038]
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.10066230
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x1002e990
xor eax, eax
cmp edi, 4
setne al
push ecx
lea eax, [eax + eax + 0x17b]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp]
call fcn.10066230
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x1002e990
cmp edi, 4
jne 0x1002e93b
fld qword [0x10081030]
jmp 0x1002e941
fld qword [0x10081028]
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.10066230
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x1002e990
cmp edi, 4
jne 0x1002e96d
fld qword [0x10081020]
jmp 0x1002e973
fld qword [0x10080b98]
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.10066230
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov eax, 0xe7c3d4
fdiv dword [eax]
add esp, 4
fstp dword [esp + 0x10]
mov eax, dword [ebx + esi*4 + 0x18]
cmp eax, 0xffffffff
je 0x1002eb23
cmp eax, 0x78
jb 0x1002e9c8
cmp eax, 0x7c
jae 0x1002e9c8
mov ecx, dword [0x7bc4f04]
cmp dword [ecx + 0x2a4], 0
je 0x1002eb23
mov ecx, 0x8128ac8
mov edx, dword [ecx]
movzx ecx, word [edx + eax*2 + 0x78]
imul ecx, ecx, 0x58
add ecx, dword [0x8128abc]
je 0x1002e9e9
cmp byte [ecx + 0x37], 3
je 0x1002eb23
cmp edi, 4
jne 0x1002e9fc
fld qword [0x10081018]
fld qword [0x10081010]
jmp 0x1002ea08
fld qword [0x100800b0]
fld qword [0x10081008]
sub esp, 0x18
fxch st(1)
fstp dword [esp + 0x40]
lea ecx, [edi - 4]
fld dword [esp + 0x40]
neg ecx
fstp dword [esp + 0x14]
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x5a
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
fld dword [esp + 0x44]
fstp dword [esp + 0xc]
fld dword [esp + 0x38]
fstp dword [esp + 8]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
push eax
call fcn.1002ba80
mov edx, dword [0x7bc4f04]
movzx eax, byte [edx + 0x32]
add esp, 0x1c
cmp eax, dword [ebx + esi*4 + 0x18]
jne 0x1002eb23
fldz
push ecx
fst dword [esp]
fld1
push 1
push 1
sub esp, 0x18
fst dword [esp + 0x14]
fstp dword [esp + 0x10]
fst dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [0xe7c3d8]
fmul qword [0x100801a8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fdiv dword [0xe7c3d8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp + 4]
fld dword [0x10080150]
fstp dword [esp]
call fcn.10066230
mov ecx, 0xe7c3d4
fdiv dword [ecx]
sub esp, 8
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esp + 8]
fld dword [0x10081004]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp qword [esp + 0x64]
fld dword [0x1007fdd0]
fstp dword [esp]
call fcn.10066230
fdiv dword [ecx]
mov ecx, 0x637c60
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fsubr qword [esp + 0x64]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fstp dword [esp]
push 0xc92c
call ecx
add esp, 0x30
fld dword [0x10081000]
push ecx
fstp dword [esp]
push esi
fld dword [0x100806ac]
sub esp, 8
fstp dword [esp + 4]
mov ebx, 0x1aad
fld dword [esp + 0x20]
fadd qword [0x10080140]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp]
call fcn.1002b5a0
mov eax, dword [esp + 0x28]
fstp st(0)
inc eax
add esp, 0x10
mov dword [esp + 0x18], eax
cmp eax, 5
jl 0x1002e870
mov edx, dword [0x7bc4f04]
movzx ecx, byte [edx + 0x32]
mov eax, dword [0x8128ac8]
movzx eax, word [eax + ecx*2 + 0x78]
imul eax, eax, 0x58
add eax, dword [0x8128abc]
je 0x1002ec86
cmp byte [eax + 0x37], 3
je 0x1002ec86
cmp edi, 4
jne 0x1002ebbd
fld qword [0x10080ff8]
fld qword [0x10080ff0]
fld qword [0x10080fe8]
fld qword [0x10080fe0]
jmp 0x1002ebd5
fld qword [0x10080fd8]
fld qword [0x1007ffa8]
fld qword [0x10080730]
fld qword [0x10080fd0]
fstp dword [esp + 0x1c]
mov dword [esp + 0x20], 1
fld dword [0x1007fcb8]
fcomp dword [0xe7c3d4]
fnstsw ax
test ah, 1
je 0x1002ebfc
mov dword [esp + 0x20], 0
fild dword [esp + 0x20]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1002ec13
fld dword [0xe7c3d4]
jmp 0x1002ec19
fld dword [0xe7c3d8]
fmul dword [esp + 0x1c]
sub esp, 0x18
fxch st(3)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0x14]
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fstp dword [esp + 0xc]
fld dword [esp + 0x4c]
fstp dword [esp + 8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp + 4]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fdiv dword [0xe7c3d4]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp]
push ecx
call fcn.1002ba80
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret