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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x10120140]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [0x10147614]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
lea ecx, [eax + 0x4688]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp byte [edi + 0x67], 0
je 0x1008f8a6
movups xmm0, xmmword [ecx]
mov esi, dword [ecx + 0x10]
mov ecx, edi
movaps xmmword [esp + 0x60], xmm0
call fcn.1008e7b0
mov eax, dword [esp + 0x1c]
movaps xmm0, xmmword [esp + 0x60]
mov edx, dword [esp + 0x2c]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0x14]
jmp 0x1008f8aa
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x3e28]
mov dword [esp + 0x20], eax
cmp byte [eax + 0xab], 0
je 0x1008f8d3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100c0eca
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, edi
call fcn.1008efc0
add esp, 4
mov dword [esp + 0x18], eax
mov edx, eax
mov ecx, edi
call fcn.1008f020
mov esi, eax
mov byte [esp + 0x11], 0
test esi, esi
jne 0x1008f922
lea ecx, [esp + 0x80]
call fcn.10085600
push eax
mov ecx, edi
call fcn.10090660
mov ecx, edi
call fcn.100906e0
mov ecx, dword [esp + 0x18]
mov esi, eax
mov byte [esp + 0x11], 1
mov dword [esi], ecx
mov byte [edi + 0x69], 1
push esi
mov ecx, edi
call fcn.10090640
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
push 0
mov word [edi + 0x6c], ax
call fcn.1008ff60
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [esi + 0x1c], 0xbf800000
test byte [eax], 1
je 0x1008f963
movss xmm1, dword [edx + 0x468c]
movss dword [esi + 0x1c], xmm1
jmp 0x1008f969
movss xmm1, dword [esp + 0x58]
cmp byte [esp + 0x11], 0
movss xmm0, dword [0x10117148]
je 0x1008f982
call fcn.10074900
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm1
movzx ecx, word [edi + 0x6a]
lea eax, [ecx + 1]
mov word [edi + 0x6a], ax
mov word [esi + 0x24], cx
mov eax, dword [edi + 0x24]
mov ecx, dword [edx + 0x3dc8]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], ecx
lea ecx, [edi + 0x84]
mov dword [esp + 0x28], eax
mov dword [esi + 4], 0x100000
call fcn.1005f570
mov ecx, dword [esp + 0x2c]
mov edx, ecx
mov dword [esi + 0x20], eax
lea eax, [edx + 1]
mov dword [esp + 0x34], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1008f9e4
sub edx, dword [esp + 0x34]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [edi + 0x84]
call fcn.10062b80
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x28], eax
jge 0x1008fa2c
test byte [edi + 0xc], 2
je 0x1008fa2c
cmp dword [edi + 0x18], 0
jne 0x1008fa2c
cmp dword [esp + 0x24], eax
jge 0x1008fa23
cmp dword [edi + 0x14], 0
jne 0x1008fa2c
mov edx, esi
mov ecx, edi
call fcn.1008f1a0
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x1c], edx
mov dword [esp + 0x50], 1
sete cl
mov dword [esp + 0x30], ecx
mov byte [esp + 0x54], cl
jne 0x1008fa98
mov byte [edi + 0x68], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x28], ecx
jge 0x1008fac3
cmp eax, ecx
jge 0x1008fa65
cmp byte [esp + 0x11], 0
je 0x1008fac3
push 8
push 0
lea ecx, [esp + 0x68]
call fcn.1005fc50
mov edx, dword [esp + 0x20]
mov ecx, eax
call fcn.1006d770
mov al, byte [esp + 0x38]
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100c0eca
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 0
jne 0x1008fa4c
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jge 0x1008fa50
cmp dword [edi], 1
jne 0x1008fa50
test byte [edi + 0xc], 2
movzx ecx, cl
cmove ecx, dword [esp + 0x50]
mov dword [esp + 0x30], ecx
mov byte [esp + 0x54], cl
jmp 0x1008fa50
cmp dword [edi + 0x14], edx
jne 0x1008fad5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x3dc8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
lea edx, [edi + 0x28]
movss xmm1, dword [esi + 0x10]
xorps xmm2, xmm2
movss xmm0, dword [eax + 0xec]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0xf0]
mov eax, dword [esi + 4]
movss dword [esp + 0x34], xmm0
and eax, 0xc0
movss xmm0, dword [esi + 0x14]
mov dword [esp + 0x48], eax
movss dword [esp + 0x58], xmm0
jne 0x1008fb3b
subss xmm1, dword [edi + 0x48]
lea ecx, [esp + 0x38]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.1005f470
lea ecx, [esp + 0xac]
jmp 0x1008fb48
lea ecx, [esp + 0x78]
call fcn.1005f470
lea ecx, [esp + 0x60]
push eax
call fcn.1005f980
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x3c]
add esp, 4
movss xmm0, dword [eax + 4]
mov eax, dword [eax]
mov dword [ecx + 0xec], eax
movss dword [ecx + 0xf0], xmm0
mov eax, dword [ecx + 0xec]
mov ecx, dword [ecx + 0xf0]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x60]
push eax
call fcn.1005f980
add esp, 4
lea ecx, [esp + 0xac]
push eax
mov eax, edx
push eax
call fcn.1005fc70
cmp dword [esp + 0x48], 0
jne 0x1008fc1f
movss xmm3, dword [edi + 0x58]
movss xmm4, dword [esp + 0xac]
comiss xmm3, xmm4
movss xmm1, dword [edi + 0x5c]
ja 0x1008fbd0
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
jbe 0x1008fc1f
movss xmm2, dword [esp + 0xb8]
lea ecx, [esp + 0x60]
mov byte [esp + 0x11], 1
call fcn.1005f470
movss xmm2, dword [esp + 0xb0]
movaps xmm1, xmm3
subss xmm2, dword [0x10117148]
movaps xmm0, xmm4
mov edx, eax
call fcn.10074900
movaps xmm1, xmm0
lea ecx, [esp + 0x78]
call fcn.1005f470
push 1
mov ecx, eax
call fcn.10065d10
add esp, 4
jmp 0x1008fc24
mov byte [esp + 0x11], 0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xac]
movss xmm0, dword [eax + 0x104]
movss xmm7, dword [eax + 0x108]
mov eax, dword [esp + 0x14]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [eax + 0x37d8]
lea eax, [esp + 0x60]
push eax
call fcn.1005fcf0
movaps xmm1, xmm0
mov ecx, eax
call fcn.1006d600
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xac]
movss xmm0, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
push 0
push 0
movss dword [eax + 0x104], xmm0
movss dword [eax + 0x108], xmm7
call fcn.1006d770
add esp, 8
test al, al
jne 0x1008fcdd
cmp byte [esp + 0x11], al
je 0x1008fca5
call fcn.10065d60
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x24]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 0xf0], xmm0
mov al, byte [esp + 0x30]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100c0eca
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x4930], 0
lea ecx, [esp + 0xac]
cmove eax, edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x1b]
push eax
call fcn.10085bc0
add esp, 0xc
test al, al
je 0x1008fd20
mov edx, esi
mov ecx, edi
call fcn.1008f1a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp dword [ecx + 0x3e74], eax
je 0x1008fd39
call fcn.10066840
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x1008fdbb
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
jl 0x1008fdbb
movss xmm1, dword [0x1011758c]
call fcn.1006bff0
test al, al
je 0x1008fdbb
cmp byte [ecx + 0x4930], 0
jne 0x1008fdbb
test byte [edi + 0xc], 1
je 0x1008fdbb
movss xmm1, dword [ecx + 0xb4]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1008fd8c
movss xmm0, dword [esp + 0xac]
comiss xmm0, dword [ecx + 0xdb8]
ja 0x1008fda3
comiss xmm1, xmm2
jbe 0x1008fdbb
movss xmm0, dword [ecx + 0xdb8]
comiss xmm0, dword [esp + 0xb4]
jbe 0x1008fdbb
push dword [ecx + 0xdbc]
mov edx, esi
push dword [ecx + 0xdb8]
mov ecx, edi
call fcn.1008f1c0
add esp, 8
cmp byte [esp + 0x12], 0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x260]
mov dword [esp + 0x28], eax
jne 0x1008fe05
cmp byte [esp + 0x13], 0
jne 0x1008fe05
cmp byte [esp + 0x30], 0
je 0x1008fdf1
mov eax, dword [esp + 0x4c]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x1008fe0a
cmp byte [esp + 0x4c], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x1008fe0a
mov ecx, 0x22
movss xmm1, dword [0x10117148]
call fcn.10062d60
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xac]
push eax
push 0x100000
call fcn.10090010
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xb4]
push 1
call fcn.100638c0
add esp, 0xc
mov ecx, 0x20
call fcn.10064850
test al, al
je 0x1008fe6f
mov ecx, dword [esp + 0x50]
call fcn.1006be30
test al, al
jne 0x1008fe66
call fcn.1006beb0
test al, al
je 0x1008fe6f
mov edx, esi
mov ecx, edi
call fcn.1008f1a0
movss xmm0, dword [edi + 0x74]
lea eax, [esp + 0x13]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xac]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edi + 0x78]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
lea eax, [esp + 0x53]
push eax
push dword [esp + 0x64]
mov eax, dword [edi + 0xc]
push 0
push dword [esp + 0x30]
and eax, 8
push dword [esp + 0x48]
or eax, 0x200000
shr eax, 1
push eax
call fcn.10090230
add esp, 0x24
cmp byte [esp + 0x11], 0
je 0x1008fed2
call fcn.10065d60
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x24]
movss dword [eax + 0xec], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 0xf0], xmm0
je 0x1008ff48
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [eax + 0x3e60], ecx
jne 0x1008ff48
cmp byte [esp + 0x12], 0
jne 0x1008ff48
test byte [edi + 0xc], 0x20
jne 0x1008ff48
test byte [esi + 4], 0x10
jne 0x1008ff48
mov ecx, 0x800
call fcn.10064850
test al, al
je 0x1008ff48
mov esi, dword [esp + 0x2c]
xor edx, edx
push esi
mov ecx, esi
call fcn.10063000
sub eax, esi
push eax
push str._.s
call fcn.1006e7c0
add esp, 0xc
mov ecx, dword [esp + 0xbc]
mov al, byte [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.100c0eca
mov esp, ebp
pop ebp
ret