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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [0x10317358]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ebx
mov al, byte [edi + 0x39d]
and al, 0xf8
mov byte [edi + 0x39d], al
cmp byte [ebx + 0x46], 0
jne 0x1006f151
cmp byte [edi + 0x2c], 0
je 0x1006f1a8
test dword [edi + 0xc], 0x1200001
jne 0x1006f1a8
cmp byte [edi + 0xe7], 0
jne 0x1006f1a8
cmp dword [edi + 0x3c0], 0
jne 0x1006f1dc
lea eax, [ebx + 0x5bb4]
mov esi, 1
push esi
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.1004c4e0
test eax, eax
je 0x1006f1a0
mov ebx, dword [ebp - 0xc]
nop dword [eax]
inc esi
mov ecx, ebx
push esi
call fcn.1004c4e0
test eax, eax
jne 0x1006f190
mov ebx, dword [ebp - 4]
mov dword [edi + 0x3c0], esi
jmp 0x1006f1dc
mov ecx, dword [edi + 0xc]
shr ecx, 0x15
and cl, 1
test byte [ebx + 0x47e8], 1
je 0x1006f1d6
movsx eax, byte [edi + 0x108]
test dword [ebx + 0x47ec], eax
je 0x1006f1d6
cmp byte [ebx + 0x4824], 0
je 0x1006f1d6
mov al, 1
jmp 0x1006f1d8
xor al, al
or al, cl
jne 0x1006f210
mov eax, dword [edi + 0x3c0]
mov esi, dword [edi + 0x3b8]
test eax, eax
je 0x1006f312
test esi, esi
jne 0x1006f312
push eax
lea ecx, [ebx + 0x5bb4]
call fcn.1004c4e0
mov esi, eax
test esi, esi
je 0x1006f225
cmp dword [esi + 0x1c], 0
je 0x1006f256
push 1
mov edx, edi
mov ecx, ebx
call fcn.100694a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x3c0]
mov ecx, ebx
call fcn.100687d0
mov esi, eax
mov eax, dword [esi + 0xa0]
and eax, 0xfffffe92
or eax, 0x92
mov dword [esi + 0xa0], eax
mov eax, dword [ebx + 0x3eb0]
mov dword [esi + 0x84], eax
test byte [esi + 0xa4], 1
jne 0x1006f2e6
mov ebx, esi
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1006f277
mov ebx, eax
test byte [ebx + 0xa4], 1
je 0x1006f265
mov eax, dword [ebx + 0x18]
mov edx, ebx
test eax, eax
je 0x1006f289
mov edx, eax
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x1006f280
and byte [edx + 0xa4], 0xdf
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x1006f29c
call fcn.1006a500
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x1006f2a8
call fcn.1006a500
cmp dword [edx + 0x18], 0
jne 0x1006f2ce
mov eax, dword [edx + 0x78]
test eax, eax
je 0x1006f2ce
nop word [eax + eax]
or byte [eax + 0xa4], 0x20
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1006f2c0
push dword [ebx + 0x40]
mov edx, esi
mov ecx, ebx
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
call fcn.1006de20
add esp, 0x10
mov bl, byte [esi + 0xa4]
mov edx, edi
push 1
mov ecx, esi
call fcn.10069b60
mov al, byte [esi + 0xa4]
add esp, 4
mov cl, al
xor cl, bl
mov ebx, dword [ebp - 4]
and cl, 1
xor cl, al
mov byte [esi + 0xa4], cl
mov eax, dword [esi + 0x84]
cmp eax, dword [ebx + 0x3eb0]
jge 0x1006f350
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1006f330
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1006f327
mov eax, dword [esi + 0x84]
cmp eax, dword [ebx + 0x3eb0]
jl 0x1006f210
or byte [edi + 0x39d], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm3, dword [0x102f38f4]
lea ecx, [edi + 0x3a0]
movss xmm4, dword [0x102f3abc]
mov eax, 0x1017af28
movss xmm5, dword [0x102f389c]
xorps xmm1, xmm1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
nop dword [eax]
mov ecx, dword [eax]
add ecx, ecx
movss xmm2, dword [ebx + ecx*8 + 0x390c]
comiss xmm1, xmm2
jbe 0x1006f397
movaps xmm0, xmm1
jmp 0x1006f39e
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3910]
comiss xmm1, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si edx, xmm0
jbe 0x1006f3bd
movaps xmm0, xmm1
jmp 0x1006f3c4
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3914]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm2
jbe 0x1006f3e8
movaps xmm0, xmm1
jmp 0x1006f3ef
movaps xmm0, xmm3
minss xmm0, xmm2
movss xmm2, dword [ebx + ecx*8 + 0x3918]
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x10
or edx, eax
comiss xmm1, xmm2
jbe 0x1006f413
movaps xmm0, xmm1
jmp 0x1006f41a
movaps xmm0, xmm3
minss xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si eax, xmm0
shl eax, 0x18
or eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
add edx, 4
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp eax, 0x1017af40
jl 0x1006f380
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x1006f495
cmp dword [esi + 0x14], 2
jne 0x1006f45e
or byte [edi + 0x39d], 1
cmp dword [esi + 0x24], 1
jle 0x1006f21e
cmp byte [edi + 0xe5], 0
je 0x1006f21e
cmp byte [edi + 0xdf], 0
mov byte [edi + 0xe6], 1
sete al
inc al
mov byte [edi + 0x104], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0x10], 1
mov dword [esi + 0x14], 3
jne 0x1006f4b6
mov ax, word [edi + 0xf2]
cmp ax, word [ecx + 0xf2]
jl 0x1006f210
mov eax, dword [0x10317358]
mov ebx, dword [0x10317358]
mov edx, dword [eax + 0x47e8]
or edx, 1
mov dword [eax + 0x47e8], edx
or edx, 2
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [ebx + 0x47fc], eax
mov eax, ebx
mov dword [eax + 0x47e8], edx
mov edx, ebx
mov ebx, dword [ebp - 4]
mov dword [eax + 0x4800], ecx
mov dword [eax + 0x4804], 0
mov dword [eax + 0x4808], 0
mov dword [eax + 0x47ec], 1
mov byte [eax + 0x4824], 1
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [edx + 0x480c], eax
mov dword [edx + 0x4810], ecx
mov dword [edx + 0x47f0], 1
mov byte [ebx + 0x4824], 0
mov al, byte [edi + 0x39d]
or al, 3
and al, 0xfb
mov byte [edi + 0x39d], al
test byte [esi + 0x10], 1
jne 0x1006f21e
cmp dword [esi + 0x74], edi
jne 0x1006f561
or al, 4
mov byte [edi + 0x39d], al
mov edx, dword [edi + 0xc]
or edx, 0x1010002
mov dword [edi + 0xc], edx
mov eax, edx
or eax, 1
and edx, 0xfffffffe
test dword [esi + 0x10], 0x3000
cmovne edx, eax
mov dword [edi + 0xc], edx
cmp dword [esi + 0x30], 0
je 0x1006f5d0
cmp byte [edi + 0xe0], 0
je 0x1006f5d0
mov eax, dword [edi + 0x3b8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1006f5c6
mov ebx, dword [edi + 0xa4]
test ebx, ebx
je 0x1006f5c6
mov edx, dword [ecx]
xor eax, eax
test edx, edx
jle 0x1006f5c6
mov ecx, dword [ecx + 8]
cmp dword [ecx], ebx
je 0x1006f643
inc eax
add ecx, 0x30
cmp eax, edx
jl 0x1006f5b6
or eax, 0xffffffff
mov word [edi + 0x39e], ax
test byte [esi + 0xa4], 0x40
jne 0x1006f5e7
mov eax, dword [esi + 0x98]
cmp eax, dword [edi + 0xa4]
jne 0x1006f5f1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1006f5f1
mov byte [eax], 0
mov eax, dword [edi + 0x3b8]
xor edx, edx
mov esi, dword [eax + 0x70]
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, dword [edi + 4]
call fcn.1004bb50
mov ecx, dword [esi]
mov ebx, eax
add esp, 4
cmp dword [ecx + 0x3f68], ebx
jne 0x1006f636
push ecx
push dword [edi + 4]
mov edx, 0xb
mov ecx, ebx
call fcn.1007a060
add esp, 8
mov dword [edi + 0xa8], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x1006f5c6
mov eax, dword [ebp - 0xc]
sub ecx, dword [eax + 8]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1006f5c9