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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x100fd040]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, 0x1010bb3f
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x54], eax
call fcn.100b18e0
mov edx, dword [0x1010121c]
mov edi, edx
mov eax, dword [edi + 0x199c]
mov byte [eax + 0x7c], 1
mov eax, dword [edi + 0x199c]
mov dword [esp + 0xa8], eax
cmp byte [eax + 0x7f], 0
je 0x10081803
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100af2b0
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
mov ecx, eax
shr ecx, 1
and cl, 1
mov dword [esp + 0x68], ecx
jne 0x10081831
test eax, 0x400
jne 0x10081831
movss xmm2, dword [edi + 0x1534]
xorps xmm1, xmm1
movss dword [esp + 0x50], xmm2
jmp 0x10081847
movss xmm1, dword [edi + 0x1534]
movss dword [esp + 0x50], xmm1
movss xmm1, dword [edi + 0x1538]
movss dword [esp + 0x9c], xmm1
test esi, esi
jne 0x10081876
mov esi, dword [esp + 0x54]
cmp esi, 0xffffffff
jae 0x10081876
nop dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x10081876
cmp cl, 0x23
jne 0x10081870
cmp byte [esi + 1], cl
je 0x10081876
inc esi
cmp esi, 0xffffffff
jb 0x10081860
mov ecx, dword [esp + 0x54]
lea eax, [edx + 0x18bc]
movss xmm2, dword [eax]
mov dword [esp + 0x4c], eax
cmp ecx, esi
je 0x100818d9
movss xmm3, dword [0x100f4d88]
lea eax, [esp + 0x58]
push 0
push esi
push ecx
push ecx
mov ecx, dword [edx + 0x18b8]
mov dword [esp], 0xbf800000
push eax
call fcn.100686b0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100f4bd0]
movss xmm2, dword [esp + 0x5c]
mov edx, dword [0x1010121c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss xmm3, dword [esp + 0x9c]
movss xmm1, dword [eax]
movaps xmm6, xmm3
mov ecx, dword [esp + 0xa8]
movss xmm5, dword [0x100f4c2c]
mov eax, dword [edx + 0x199c]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 0x1538]
movss xmm4, dword [ecx + 0xec]
addss xmm0, xmm0
maxss xmm6, dword [ecx + 0xf0]
mulss xmm3, xmm5
mov dword [esp + 0x9c], eax
movss dword [esp + 0xa4], xmm2
addss xmm0, xmm1
addss xmm3, xmm2
movss dword [esp + 0x6c], xmm6
movss xmm2, dword [eax + 0x214]
subss xmm2, dword [eax + 0xc]
mov eax, dword [eax + 0x1bc]
minss xmm4, xmm0
maxss xmm4, xmm3
movss dword [esp + 0x30], xmm4
movaps xmm0, xmm4
addss xmm0, dword [ecx + 0xcc]
movss dword [esp + 0x28], xmm0
test eax, eax
je 0x100819bc
mov ecx, dword [eax + 0xc]
inc ecx
call fcn.1004c600
mov eax, dword [esp + 0x9c]
movaps xmm2, xmm0
movss xmm4, dword [esp + 0x30]
movss xmm5, dword [0x100f4c2c]
movss xmm0, dword [esp + 0x28]
subss xmm2, dword [eax + 0x3c]
mov eax, dword [esp + 0x4c]
movss xmm6, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa8]
movss xmm1, dword [eax]
cmp byte [esp + 0x68], 0
addss xmm2, dword [ecx + 0xc]
movss xmm3, dword [ecx + 0xc8]
movss xmm7, dword [ecx + 0xcc]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x9c], xmm7
movss dword [esp + 0x74], xmm7
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm0
je 0x10081a4c
movss xmm0, dword [ecx + 0x3c]
mulss xmm0, dword [0x100f4b94]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x100f4bd8]
subss xmm3, xmm0
addss xmm2, xmm0
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x70], xmm3
movss xmm3, dword [esp + 0x50]
movaps xmm0, xmm3
movss dword [esp + 0x78], xmm2
mulss xmm0, dword [0x100f4c68]
jmp 0x10081a59
movss xmm3, dword [esp + 0x50]
movaps xmm0, xmm3
mulss xmm0, xmm5
movaps xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esp + 0xa0]
comiss xmm2, xmm0
jbe 0x10081a82
movaps xmm0, xmm3
mulss xmm0, xmm5
addss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x5c], xmm4
lea ecx, [esp + 0x58]
movss dword [esp + 0x58], xmm1
movaps xmm1, xmm6
call fcn.10039750
cmp byte [esp + 0x68], 0
movaps xmm0, xmmword [esp + 0x70]
jne 0x10081b05
movss xmm1, dword [esp + 0x9c]
movss xmm0, dword [edi + 0x1544]
movss xmm2, dword [esp + 0x30]
addss xmm0, xmm0
movss dword [esp + 0x84], xmm1
movss xmm1, dword [esp + 0x58]
addss xmm1, xmm2
movss dword [esp + 0x80], xmm2
addss xmm0, xmm1
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmmword [esp + 0x80]
mov eax, dword [esp + 0x20]
movaps xmmword [esp + 0x80], xmm0
test eax, 0x100
je 0x10081b39
mov edx, eax
mov byte [esp + 0x98], 1
shr edx, 8
and edx, 0xffffff01
mov byte [esp + 0x16], 1
mov dword [esp + 0x28], edx
jmp 0x10081c97
mov eax, dword [0x1010121c]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0x199c]
mov edx, dword [eax + 0x1aa8]
mov dword [esp + 0x60], ecx
mov ecx, dword [ecx + 0x15c]
mov dword [esp + 0x28], ecx
test edx, edx
je 0x10081c02
test dl, 1
je 0x10081b9d
mov al, byte [eax + 0x1aa4]
mov dword [esp + 0x98], eax
movzx eax, al
push eax
push dword [esp + 0x1c]
call fcn.10036750
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1aa8], 0
jmp 0x10081c44
push 0xffffffffffffffff
push dword [esp + 0x1c]
call fcn.10036480
cmp eax, 0xffffffff
jne 0x10081be6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov al, byte [eax + 0x1aa4]
mov dword [esp + 0x98], eax
movzx eax, al
push eax
push dword [esp + 0x1c]
call fcn.10036750
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1aa8], 0
jmp 0x10081c44
test eax, eax
mov eax, dword [esp + 0x1c]
setne cl
mov dword [esp + 0x98], ecx
mov dword [eax + 0x1aa8], 0
jmp 0x10081c44
mov edx, dword [esp + 0x18]
call fcn.100363d0
mov edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
lea eax, [eax + ecx*8]
cmp edx, eax
je 0x10081c2a
mov eax, dword [esp + 0x18]
cmp dword [edx], eax
jne 0x10081c2a
mov eax, dword [edx + 4]
jmp 0x10081c34
mov eax, dword [esp + 0x20]
shr eax, 5
and eax, 1
test eax, eax
mov eax, dword [esp + 0x1c]
setne cl
mov dword [esp + 0x98], ecx
cmp byte [eax + 0x2c78], 0
mov edx, dword [esp + 0x20]
je 0x10081c80
test dl, 0x10
jne 0x10081c80
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
movzx ecx, cl
mov eax, dword [eax + 0x104]
cmp eax, dword [edx + 0x2c90]
mov eax, 1
mov edx, dword [esp + 0x20]
cmovl ecx, eax
mov dword [esp + 0x98], ecx
mov eax, edx
mov byte [esp + 0x16], cl
shr eax, 8
and al, 1
mov byte [esp + 0x28], al
test cl, cl
je 0x10081cc8
mov eax, dword [esp + 0x20]
cmp byte [edi + 0x1b0c], 0
jne 0x10081cc8
and eax, 0x2008
cmp eax, 0x2000
jne 0x10081cc8
mov edx, dword [esp + 0xa8]
mov ecx, dword [edx + 0x108]
mov eax, dword [edx + 0x104]
bts ecx, eax
mov dword [edx + 0x108], ecx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x80]
push 0
call fcn.100398d0
mov ecx, dword [esp + 0xac]
add esp, 4
movaps xmm0, xmmword [esp + 0x70]
or dword [ecx + 0x110], 2
movups xmmword [ecx + 0x124], xmm0
test al, al
jne 0x10081d39
mov eax, dword [esp + 0x98]
test al, al
je 0x100822db
test byte [esp + 0x20], 8
jne 0x100822db
mov ecx, dword [esp + 0x18]
call fcn.100823f0
mov eax, dword [esp + 0x98]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100af2b0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
mov edx, 0x440
mov eax, ecx
and eax, 4
mov dword [esp + 0x58], eax
mov eax, 0x400
cmove edx, eax
mov eax, ecx
and eax, 0x40
mov dword [esp + 0x60], eax
je 0x10081d6f
mov eax, ecx
and eax, 0x80
or eax, 0x400
shr eax, 6
or edx, eax
mov al, cl
lea ecx, [esp + 0x80]
and al, 1
mov byte [esp + 0x27], al
mov eax, edx
or eax, 0x1000
cmp byte [esp + 0x28], 0
cmovne eax, edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x33]
push eax
lea eax, [esp + 0x1f]
push eax
call fcn.1006e760
xor cl, cl
add esp, 0xc
cmp byte [esp + 0x28], cl
jne 0x10081f01
test al, al
je 0x10081ecb
mov eax, dword [esp + 0x20]
test al, 0xc0
je 0x10081dd0
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x1ab4], ecx
je 0x10081dd0
xor cl, cl
jmp 0x10081dd2
mov cl, 1
mov dword [esp + 0x1c], ecx
test al, al
jns 0x10081e39
movss xmm0, dword [esp + 0x80]
lea edx, [esp + 0xb0]
addss xmm0, dword [esp + 0x4c]
push 1
lea ecx, [esp + 0x84]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0xb8], xmm0
call fcn.1003d860
add esp, 4
test al, al
je 0x10081e2d
cmp byte [edi + 0x1b0f], 0
jne 0x10081e2d
mov al, 1
jmp 0x10081e2f
xor al, al
mov ecx, dword [esp + 0x1c]
or cl, al
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x60], 0
je 0x10081e4a
or cl, byte [edi + 0x3d5]
mov dword [esp + 0x1c], ecx
cmp byte [edi + 0x1c78], 0
mov eax, dword [esp + 0x98]
je 0x10081e68
xor edx, edx
movzx ecx, cl
test al, al
cmovne ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x1ab0], edx
jne 0x10081e9c
cmp byte [edi + 0x1b29], 0
je 0x10081e9c
cmp dword [edi + 0x1b34], 0
jne 0x10081e9c
test al, al
je 0x10081e9c
mov byte [esp + 0x1c], 1
call fcn.10049690
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp dword [edi + 0x1ab0], eax
jne 0x10081ed4
cmp byte [edi + 0x1b29], 0
je 0x10081ed4
cmp dword [edi + 0x1b34], 1
jne 0x10081ed4
cmp byte [esp + 0x98], 0
jne 0x10081ed4
call fcn.10049690
jmp 0x10081ed8
mov eax, dword [esp + 0x98]
jmp 0x10081e6c
test cl, cl
je 0x10081f01
cmp byte [esp + 0x98], 0
mov edx, dword [esp + 0xa8]
sete al
mov byte [esp + 0x16], al
movzx eax, al
mov ecx, dword [edx + 0x15c]
push eax
push dword [esp + 0x1c]
call fcn.10036750
cmp dword [esp + 0x58], 0
je 0x10081f0d
call fcn.1003e490
cmp byte [esp + 0x2f], 0
mov al, byte [esp + 0x17]
je 0x10081f23
test al, al
je 0x10081f23
mov ecx, 0x1b
jmp 0x10081f2d
xor ecx, ecx
test al, al
setne cl
add ecx, 0x19
mov eax, dword [0x1010121c]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 + 0x15a8]
lea ecx, [esp + 0x80]
movaps xmmword [esp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1500]
movss dword [esp + 0x8c], xmm0
call fcn.10035fa0
cmp byte [esp + 0x68], 0
movss xmm1, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x30]
movaps xmm0, xmm1
movss xmm4, dword [esp + 0x9c]
addss xmm0, xmm2
movss xmm3, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
movss dword [esp + 0xa8], xmm0
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0x58], xmm0
movss dword [esp + 0xac], xmm0
je 0x10082125
push dword [esp + 0x7c]
movss xmm2, dword [edi + 0x153c]
mov dl, 1
push dword [esp + 0x7c]
mov ecx, eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.10037c00
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x80]
push 2
call fcn.10038280
movss xmm0, dword [esp + 0x64]
xor ecx, ecx
addss xmm0, dword [esp + 0x44]
movss xmm1, dword [0x100f4bd8]
add esp, 0x14
cmp byte [esp + 0x16], cl
setne cl
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
lea ecx, [ecx*2 + 1]
push dword [esp + 0x64]
call fcn.10037ee0
add esp, 8
lea ecx, [esp + 0xa8]
cmp byte [edi + 0x2c78], 0
je 0x100820e4
mov ax, word [0x100f215c]
lea edx, [esp + 0x9c]
mov word [esp + 0x98], ax
mov al, byte [0x100f215e]
mov byte [esp + 0x9a], al
lea eax, [esp + 0x9f]
push eax
mov dword [esp + 0xa0], 0x23230a
call fcn.1004e250
add esp, 4
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xb0]
mov dword [esp + 0xb4], 0
lea edx, [esp + 0x78]
lea ecx, [esp + 0xa8]
push 0
push eax
lea eax, [esp + 0xa8]
push eax
push esi
push dword [esp + 0x64]
call fcn.10037b60
add esp, 0x14
lea eax, [esp + 0x9b]
lea edx, [esp + 0x99]
lea ecx, [esp + 0xa8]
push eax
call fcn.1004e250
add esp, 4
jmp 0x100822bf
push 0
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], 0
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xbc], 0
push eax
push esi
push dword [esp + 0x64]
lea edx, [esp + 0x8c]
call fcn.10037b60
add esp, 0x14
jmp 0x100822bf
cmp byte [esp + 0x17], 0
jne 0x10082137
cmp byte [esp + 0x27], 0
je 0x100821c4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], eax
mov eax, dword [0x1010121c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x74]
push 0xf
mov dword [esp + 0xa8], ecx
mov ecx, dword [eax + 0x199c]
lea eax, [esp + 0xb4]
push ecx
mov dword [esp], 0
push dword [esp + 0x68]
mov ecx, dword [ecx + 0x274]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.10062030
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push 2
call fcn.10038280
movss xmm1, dword [esp + 0x50]
add esp, 4
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x6c]
movss xmm4, dword [esp + 0x9c]
test dword [esp + 0x20], 0x200
je 0x10082219
movss xmm0, dword [edi + 0x18bc]
mulss xmm0, dword [0x100f4b94]
mulss xmm1, dword [0x100f4b94]
addss xmm0, xmm3
addss xmm1, xmm2
addss xmm0, xmm4
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10038160
jmp 0x1008227f
cmp byte [esp + 0x28], 0
jne 0x10082282
movss xmm0, dword [esp + 0x50]
xor ecx, ecx
cmp byte [esp + 0x16], cl
addss xmm0, xmm2
movss xmm1, dword [0x100f4bac]
setne cl
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 0x18bc]
lea ecx, [ecx*2 + 1]
mulss xmm0, dword [0x100f4b54]
addss xmm0, xmm3
addss xmm0, xmm4
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.10037ee0
add esp, 8
cmp byte [edi + 0x2c78], 0
je 0x100822a1
push 0
mov edx, 0x100eca30
lea ecx, [esp + 0xac]
call fcn.1004e250
add esp, 4
push dword [esp + 0xac]
mov ecx, dword [esp + 0x58]
mov edx, esi
push dword [esp + 0xac]
push 0
call fcn.10037450
add esp, 0xc
mov al, byte [esp + 0x16]
test al, al
je 0x100822db
test byte [esp + 0x20], 8
jne 0x100822db
mov ecx, dword [esp + 0x18]
call fcn.100823f0
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.100af2b0
mov esp, ebp
pop ebp
ret