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

Disassembly:
sub esp, 0x2ac
mov eax, 1
push edi
mov edi, ecx
cmp dword [0x100dffb0], eax
je 0x1003fdd8
mov cl, byte [0x100dd531]
test cl, cl
je 0x1003fdd8
mov ecx, dword [edi + 0x218]
mov dword [esp + 0xc], eax
cmp ecx, eax
jl 0x1003fdd8
push ebx
push ebp
push esi
mov esi, 0x100ef9cc
mov dword [esp + 0x28], esi
lea ebp, [edi + 0x220]
mov eax, dword [ebp]
test eax, eax
jle 0x1003fdad
xor ebx, ebx
dec eax
test eax, eax
jle 0x1003fdad
fld dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
fsub dword [0x10008720]
mov dword [esp + 0x7c], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x7c]
push edx
push eax
mov dword [esp + 0x88], ecx
fstp dword [esp + 0x8c]
call fcn.100179c0
add esp, 8
test eax, eax
je 0x1003fd9d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1bc]
push ecx
push 0x10001818
push edx
call fcn.1004f029
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc8]
push eax
push 0x10002f68
push ecx
call fcn.1004f029
mov eax, dword [0x100dffb8]
add esp, 0x18
cmp eax, 4
jne 0x1003f9f0
fld dword [esp + 0x14]
lea edx, [esp + 0x1bc]
push edx
push 0xff
push 0
push 0
call fcn.1004ffa0
fld dword [esp + 0x20]
push eax
call fcn.1004ffa0
push eax
call fcn.10019650
add esp, 0x18
test ebx, ebx
je 0x1003f9c0
mov eax, dword [ebp]
dec eax
cmp ebx, eax
jne 0x1003f9f0
fld dword [esp + 0x14]
lea ecx, [esp + 0xbc]
push ecx
push 0
push 0
push 0xff
call fcn.1004ffa0
fld dword [esp + 0x20]
add eax, 0xc
push eax
call fcn.1004ffa0
push eax
call fcn.10019650
add esp, 0x18
cmp dword [0x100dffb8], 5
jne 0x1003fa5d
fld dword [esp + 0x14]
push 3
push 0xff
push 0
push 0
push 0xff
call fcn.1004ffa0
fld dword [esp + 0x24]
push eax
call fcn.1004ffa0
push eax
call fcn.10020f00
add esp, 0x1c
test ebx, ebx
je 0x1003fa31
mov edx, dword [ebp]
dec edx
cmp ebx, edx
jne 0x1003fa5d
fld dword [esp + 0x14]
push 3
push 0xff
push 0
push 0
push 0xff
call fcn.1004ffa0
fld dword [esp + 0x24]
push eax
call fcn.1004ffa0
push eax
call fcn.10020f00
add esp, 0x1c
cmp dword [0x100dffb8], 6
jne 0x1003fb26
fld dword [esi + 8]
fsub dword [0x1000864c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], ecx
fstp dword [esp + 0x4c]
fld dword [esi + 0x14]
fsub dword [0x1000864c]
push esi
mov ecx, edi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
fstp dword [esp + 0xac]
call fcn.1003e9d0
fcomp dword [0x10008a34]
fnstsw ax
test ah, 1
je 0x1003fb26
push 0x3f99999a
push 0x3f800000
push 0
push 0
lea ecx, [esp + 0xb0]
push 0xff
lea edx, [esp + 0x58]
push ecx
push edx
mov ecx, edi
call fcn.1003ffa0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.100179c0
add esp, 8
test eax, eax
je 0x1003fb26
fld dword [esp + 0x54]
push 4
push 0xff
push 0xff
push 0
push 0
call fcn.1004ffa0
fld dword [esp + 0x64]
push eax
call fcn.1004ffa0
push eax
call fcn.10020f00
add esp, 0x1c
cmp dword [0x100dffb8], 7
jne 0x1003fbc9
fld dword [esi + 8]
fsub dword [0x1000864c]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x64], edx
mov ecx, edx
mov dword [esp + 0x68], eax
mov edx, eax
fst dword [esp + 0x6c]
fstp dword [esp + 0x40]
fld dword [esi + 0x14]
mov eax, dword [esi + 0xc]
push 0x3f000000
fsub dword [0x1000864c]
push 0x3f800000
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x44], edx
push 0xff
mov dword [esp + 0x64], eax
fstp dword [esp + 0x6c]
push 0
lea edx, [esp + 0x68]
push 0
lea eax, [esp + 0x4c]
mov dword [esp + 0x70], ecx
push edx
push eax
mov ecx, edi
call fcn.1003ffa0
lea ecx, [esp + 0xac]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.100179c0
add esp, 8
test eax, eax
je 0x1003fbc9
push 5
lea eax, [esp + 0x68]
push 0xff0000ff
push eax
call fcn.10018ad0
add esp, 0xc
cmp dword [0x100dffb8], 8
jne 0x1003fce3
fld dword [esi + 8]
fsub dword [0x1000864c]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x70], ecx
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x74], edx
fstp dword [esp + 0x78]
fld dword [esi + 8]
fadd dword [0x1000864c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], ecx
push esi
mov ecx, edi
fstp dword [esp + 0x28]
fld dword [esi + 0x14]
fsub dword [0x1000864c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
fstp dword [esp + 0x38]
call fcn.1003e9d0
fcomp dword [0x10008650]
fnstsw ax
test ah, 1
je 0x1003fc8a
push 0x3f000000
push 0x3f800000
push 0xff
push 0
lea ecx, [esp + 0x3c]
push 0
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
call fcn.1003ffa0
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.100179c0
add esp, 8
test eax, eax
je 0x1003fc8a
push 5
lea edx, [esp + 0x74]
push 0xff0000ff
push edx
call fcn.10018ad0
add esp, 0xc
fld dword [esi + 8]
fsub dword [0x1000864c]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push 0x3f000000
push 0x3f800000
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x2c]
fld dword [esi + 0x14]
fadd dword [0x1000864c]
push 0
mov dword [esp + 0x38], edx
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x10]
fstp dword [esp + 0x44]
push 0xff
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.1003ffa0
cmp dword [0x100dffb8], 9
jne 0x1003fd9d
test ebx, ebx
je 0x1003fcfc
mov eax, dword [ebp]
dec eax
cmp ebx, eax
jne 0x1003fd2c
fld dword [esp + 0x14]
lea ecx, [esp + 0xbc]
push ecx
push 0
push 0xff
push 0
call fcn.1004ffa0
fld dword [esp + 0x20]
add eax, 0xc
push eax
call fcn.1004ffa0
push eax
call fcn.10019650
add esp, 0x18
fld dword [esi + 8]
fsub dword [0x1000864c]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push 0x3f000000
push 0x3f800000
mov dword [esp + 0xa0], eax
fstp dword [esp + 0xa4]
fld dword [esi + 0x14]
fsub dword [0x1000864c]
push 0
mov dword [esp + 0x94], ecx
push 0
lea eax, [esp + 0x98]
push 0xff
lea ecx, [esp + 0xa8]
fstp dword [esp + 0xa4]
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x10]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0xa8], edx
call fcn.1003ffa0
mov edx, dword [ebp]
inc ebx
add esi, 0xc
dec edx
cmp ebx, edx
jl 0x1003f912
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
mov ecx, dword [edi + 0x218]
inc eax
add esi, 0x2ed4
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
jle 0x1003f8fc
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2ac
ret