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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018cbb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [0x101f9ff4]
mov dword [esp + 0x24], esi
call fcn.100978e0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x1009f747
lea eax, [esp + 0x40]
push 8
push eax
push 0x20
mov ecx, ebx
call fcn.10098ff0
mov ecx, dword [0x101f9ff4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 0
call fcn.10097100
sub eax, 0
je 0x1009f1fd
dec eax
je 0x1009f1cd
dec eax
jne 0x1009f211
lea ecx, [esp + 0x50]
push 0x10
push ecx
push 0xd
jmp 0x1009f206
lea edx, [esp + 0x50]
push 0x10
push edx
push 0xd
mov ecx, ebx
call fcn.10098ff0
mov edi, eax
mov eax, 0x10
sub eax, edi
lea ecx, [esp + edi + 0x50]
push eax
push ecx
push 0xa
mov ecx, ebx
call fcn.10098ff0
add edi, eax
mov dword [esp + 0x14], edi
jmp 0x1009f211
lea edx, [esp + 0x50]
push 0x10
push edx
push 0xa
mov ecx, ebx
call fcn.10098ff0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
push 8
push eax
push 0xc
mov ecx, ebx
call fcn.10098ff0
mov ecx, dword [0x101f9ff4]
mov dword [esp + 0x3c], eax
call fcn.10097130
mov dword [esp + 0x38], eax
mov eax, dword [esi]
test eax, eax
je 0x1009f319
mov edi, dword [esi + 0x60]
test edi, edi
je 0x1009f724
push 8
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x68], esi
je 0x1009f26a
mov ecx, eax
call fcn.1008f7d0
mov esi, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x30]
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x78], 0xffffffff
call fcn.1009f9f0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ecx
push edx
push eax
call ebx
add esp, 0xc
test esi, esi
je 0x1009f2b0
mov ecx, esi
call fcn.1008fbb0
push esi
call fcn.10054626
add esp, 4
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x1009f2f2
fld qword [ecx + 0x28]
fsub qword [edi + 0x28]
fabs
fld qword [edi + 0x50]
fmul qword [0x101930a0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x1009f2f2
fld qword [edi + 0x50]
fmul qword [0x10193140]
fadd qword [edi + 0x10]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 1
je 0x1009f305
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x40]
push ecx
jmp 0x1009f2fb
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
mov eax, dword [ebp + 8]
push edx
push eax
call ebx
add esp, 0xc
mov edi, dword [edi + 0x5c]
test edi, edi
jne 0x1009f249
mov ebx, dword [esp + 0x1c]
jmp 0x1009f724
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1009f5b4
push 0x40
push 0x100
mov dword [esp + 0x34], 0x100
call fcn.100af8e0
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x18], eax
add esp, 8
xor edi, edi
xor eax, eax
mov dword [esp + 0x18], edi
test ecx, ecx
mov dword [esp + 0x20], eax
jle 0x1009f3dd
jmp 0x1009f35c
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x50]
mov ecx, dword [ecx + eax*4]
mov esi, dword [ecx + 0x3c]
test esi, esi
je 0x1009f3cb
mov ebx, edi
shl ebx, 6
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jne 0x1009f394
mov edx, dword [esp + 0x10]
add eax, eax
push 0x40
push eax
push edx
mov dword [esp + 0x38], eax
call fcn.100af970
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x44]
push ecx
push 0
lea edi, [ebx + eax]
push esi
mov ecx, edi
call fcn.1009a090
push 1
mov ecx, edi
call fcn.1009a0c0
mov edx, dword [esp + 0x18]
mov esi, dword [esi + 0x50]
inc edx
add ebx, 0x40
test esi, esi
mov dword [esp + 0x18], edx
jne 0x1009f36e
mov eax, dword [esp + 0x20]
mov edi, edx
mov edx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [edx + 0x54]
jl 0x1009f358
mov eax, dword [esp + 0x10]
push 0x1009a5b0
push 0x40
push edi
push eax
call fcn.101836e9
add esp, 0x10
xor ecx, ecx
test edi, edi
jle 0x1009f45f
mov eax, dword [esp + 0x10]
mov edx, ecx
shl edx, 6
lea esi, [ecx + 1]
lea ebx, [edx + eax]
cmp esi, edi
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
fld qword [eax + 0x50]
fmul qword [0x101930a0]
fstp qword [esp + 0x2c]
jge 0x1009f444
mov eax, dword [esp + 0x10]
mov edx, esi
shl edx, 6
lea edx, [edx + eax + 0x30]
fld qword [edx]
fsub qword [ebx + 0x30]
fabs
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x1009f444
inc esi
add edx, 0x40
cmp esi, edi
jl 0x1009f42a
mov edx, esi
push 0x1009a860
sub edx, ecx
push 0x40
push edx
push ebx
call fcn.101836e9
add esp, 0x10
cmp esi, edi
mov ecx, esi
jl 0x1009f3f8
xor ebx, ebx
test edi, edi
mov dword [esp + 0x20], ebx
jle 0x1009f59e
mov eax, dword [esp + 0x10]
lea edi, [eax + 0x38]
cmp ebx, dword [edi]
jge 0x1009f493
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x40]
push ecx
push edx
push eax
call dword [ebp + 0xc]
mov eax, dword [edi]
add esp, 0xc
inc ebx
cmp ebx, eax
jl 0x1009f478
push 8
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x68], 1
je 0x1009f4b8
mov ecx, eax
call fcn.1008f7d0
mov esi, eax
jmp 0x1009f4ba
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi - 0x30]
mov eax, dword [edi - 0x34]
push esi
push ecx
mov ecx, dword [edi - 0x38]
push edx
mov dword [esp + 0x74], 0xffffffff
mov edx, dword [ecx + 0x38]
mov ecx, dword [esp + 0x30]
lea eax, [edx + eax*4]
push eax
call fcn.1009f9f0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add ebx, eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x1009f509
mov ecx, esi
call fcn.1008fbb0
push esi
call fcn.10054626
add esp, 4
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
dec ecx
cmp esi, ecx
je 0x1009f558
cmp dword [edi + 0x40], ebx
jl 0x1009f53b
fld qword [edi + 0x38]
fsub qword [edi - 8]
mov edx, dword [edi - 0x38]
mov eax, dword [edx + 0x30]
fabs
fld qword [eax + 0x50]
fmul qword [0x101930a0]
fcompp
fnstsw ax
test ah, 1
je 0x1009f58a
cmp esi, ecx
jge 0x1009f558
fld qword [edi + 0x38]
mov ecx, dword [edi - 0x38]
fsub qword [edi - 8]
mov edx, dword [ecx + 0x30]
fdiv qword [edx + 0x50]
call fcn.10056138
cmp eax, 1
jge 0x1009f55f
mov eax, 1
jmp 0x1009f56f
cmp eax, 5
jle 0x1009f56b
mov eax, 5
jmp 0x1009f56f
test eax, eax
jle 0x1009f588
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x50]
push eax
push ecx
push edx
call dword [ebp + 0xc]
add esp, 0xc
dec ebx
jne 0x1009f571
xor ebx, ebx
mov eax, dword [esp + 0x18]
inc esi
add edi, 0x40
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x1009f474
mov eax, dword [esp + 0x10]
push eax
call fcn.100afa10
mov ebx, dword [esp + 0x20]
add esp, 4
jmp 0x1009f724
mov esi, dword [esi + 0x4c]
test esi, esi
mov dword [esp + 0x18], esi
je 0x1009f724
jmp 0x1009f5c9
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [esp + 0x20], eax
je 0x1009f6ee
jmp 0x1009f5de
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x3c]
test edi, edi
je 0x1009f6df
mov ecx, dword [edi + 0x4c]
mov ebx, dword [edi + 0x44]
test ecx, ecx
je 0x1009f602
mov ecx, dword [edi + 0x50]
test ecx, ecx
jne 0x1009f601
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x1009f602
dec ebx
push 8
call fcn.1005473e
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x68], 2
je 0x1009f627
mov ecx, eax
call fcn.1008f7d0
mov esi, eax
jmp 0x1009f629
xor esi, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x38]
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
push edx
mov dword [esp + 0x78], 0xffffffff
call fcn.1009f9f0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
push ecx
push edx
call ebx
add esp, 0xc
test esi, esi
je 0x1009f66c
mov ecx, esi
call fcn.1008fbb0
push esi
call fcn.10054626
add esp, 4
mov eax, dword [edi + 0x4c]
test eax, eax
jne 0x1009f6cc
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1009f68a
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
jmp 0x1009f6c7
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x1009f6cc
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 0x30]
mov eax, dword [ecx + 0x3c]
mov ecx, dword [eax + 0x30]
fld qword [edx + 0x50]
fcomp qword [ecx + 0x50]
fnstsw ax
test ah, 0x40
je 0x1009f6b9
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x40]
push edx
jmp 0x1009f6c2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push edx
mov ecx, dword [ebp + 8]
push eax
push ecx
call ebx
add esp, 0xc
mov edi, dword [edi + 0x50]
mov eax, dword [esp + 0x20]
test edi, edi
jne 0x1009f5e9
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + 0x54]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x1009f5da
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x50]
push edx
push eax
push edi
call esi
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x5c]
push ecx
push edx
push edi
call esi
mov eax, dword [esp + 0x30]
add esp, 0x18
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x1009f5c5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1009f740
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x48]
push ecx
push edx
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, ebx
call fcn.10098f80
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc