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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x106d663c]
push ebx
push esi
push edi
mov esi, dword [eax + 0x41f4]
mov dword [ebp - 0x14], eax
cmp byte [esi + 0x1c5], 0
jne 0x10137227
mov ecx, esi
call fcn.101360d0
cmp byte [esi + 0x1c6], 0
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x160]
mov ebx, dword [esi + 0x15c]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
je 0x10137258
mov ecx, esi
call fcn.10137c20
mov edx, dword [ebp - 0xc]
test dl, 0x20
je 0x10137293
mov cl, byte [esi + 0x1b0]
cmp cl, 0xff
je 0x10137293
mov eax, dword [0x106d663c]
cmp dword [eax + 0x3e54], 0
jne 0x10137293
cmp dword [eax + 0x3e58], 0
jne 0x10137293
cmp byte [eax + 0x368f], 0
je 0x10137293
movsx ecx, cl
call fcn.1013a7f0
mov edx, dword [ebp - 0xc]
movsx ecx, word [esi + 0x60]
test ecx, ecx
jne 0x101372a3
lea eax, [esi + 0x174]
jmp 0x101372af
mov eax, dword [esi + 0x184]
lea eax, [eax + ecx*8]
add eax, 0xfffffff8
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [edi + 0x114], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x110], eax
mov eax, dword [ecx + 0x4c]
mov ecx, dword [ecx + 0x50]
mov dword [edi + 0x10c], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x108], eax
mov eax, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x58]
mov dword [edi + 0xf8], eax
mov dword [edi + 0xfc], ecx
movss xmm1, dword [esi + 0x68]
movss dword [ebp - 0x20], xmm1
cmp edi, ebx
je 0x10137309
movss dword [edi + 0xfc], xmm1
jmp 0x1013732d
test edx, 0x20000
jne 0x1013732d
movss xmm0, dword [esi + 0xd8]
maxss xmm0, xmm1
movss dword [esi + 0xe8], xmm0
movss dword [esi + 0xd8], xmm0
movss xmm1, dword [esi + 0xd8]
movss xmm0, dword [esi + 0xf8]
mov eax, dword [ebp - 0x10]
maxss xmm0, xmm1
movss xmm2, dword [0x106541ec]
movss dword [esi + 0xf8], xmm0
subss xmm1, dword [esi + 0xd0]
movss dword [eax], xmm1
mov eax, dword [esi + 4]
test eax, 0x1000000
je 0x101373d6
test eax, 0x400
jne 0x10137374
xorps xmm2, xmm2
mov ebx, dword [esi + 0x160]
mov al, byte [esi + 0x1b9]
movss xmm1, dword [ebx + 0xf8]
cmp al, 0xff
je 0x101373b6
movsx eax, al
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
movss xmm0, dword [ecx + eax + 0x38]
addss xmm0, dword [esi + 0xa4]
addss xmm0, dword [esi + 0xa0]
subss xmm0, xmm2
maxss xmm0, xmm1
movaps xmm1, xmm0
cmp byte [esi + 0x1b3], 0xff
je 0x101373ce
movss xmm0, dword [esi + 0xc4]
maxss xmm0, xmm1
movaps xmm1, xmm0
movss dword [ebx + 0xf8], xmm1
test edx, 0x100000
jne 0x10137411
mov ecx, dword [edi + 0x254]
mov edx, dword [ecx + 0x3c]
sub edx, 1
mov dword [ecx + 0x3c], edx
jne 0x101373f7
mov eax, dword [ecx + 0x2c]
add eax, 0x18
jmp 0x10137402
mov eax, dword [ecx + 0x44]
shl edx, 4
add eax, 0xfffffff0
add eax, edx
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x60], xmm0
call fcn.1012b000
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0x254]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x200], eax
movss dword [edi + 0x204], xmm0
movss dword [edi + 0x208], xmm1
movss dword [edi + 0x20c], xmm2
test edx, 0x780
je 0x10137462
mov ecx, esi
call fcn.10139060
mov ebx, dword [esi + 0x170]
mov ecx, ebx
push 0
push dword [edi + 0x254]
call fcn.1012e180
test dword [esi + 4], 0x100000
jne 0x10137487
mov ecx, esi
call fcn.101388c0
push dword [edi + 0x254]
mov ecx, ebx
call fcn.1012dd70
movsx ecx, byte [esi + 0x1ad]
xor ebx, ebx
movss xmm1, dword [esi + 0xb0]
addss xmm1, dword [esi + 0xac]
movss xmm2, dword [esi + 0xa0]
lea eax, [ecx - 1]
movss xmm3, dword [esi + 0xa4]
addss xmm2, xmm2
movd xmm0, eax
addss xmm3, xmm3
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
mulss xmm3, xmm0
addss xmm1, xmm3
movss dword [esi + 0xbc], xmm1
cmp dword [esi + 0x54], ebx
jle 0x101375bb
xor edi, edi
xorps xmm3, xmm3
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esi + 0x30]
and ecx, dword [esi + 0x34]
or edx, ecx
je 0x101375ab
mov ecx, dword [esi + 0x10]
add ecx, edi
mov edx, dword [ecx]
mov eax, edx
and al, 0x30
cmp al, 0x10
jne 0x1013754b
movss xmm0, dword [ecx + 0x10]
addss xmm0, dword [esi + 0xbc]
movss dword [esi + 0xbc], xmm0
jmp 0x101375ab
movss xmm1, dword [ecx + 0x40]
movss xmm2, dword [ecx + 0x34]
maxss xmm1, dword [ecx + 0x44]
subss xmm1, xmm2
test edx, 0x2000
jne 0x10137576
movss xmm0, dword [ecx + 0x4c]
subss xmm0, xmm2
maxss xmm0, xmm1
movaps xmm1, xmm0
test dl, 0x10
je 0x10137593
movss xmm0, dword [ecx + 0x1c]
comiss xmm0, xmm3
jbe 0x10137593
test byte [esi + 4], 1
je 0x10137590
test dl, 0x20
je 0x10137593
movaps xmm1, xmm0
maxss xmm1, dword [esi + 0x9c]
addss xmm1, dword [esi + 0xbc]
movss dword [esi + 0xbc], xmm1
inc ebx
add edi, 0x68
cmp ebx, dword [esi + 0x54]
jl 0x10137500
mov edi, dword [ebp - 0x18]
test dword [esi + 4], 0x1000000
mov edx, dword [ebp - 8]
jne 0x101375d7
cmp edi, edx
je 0x101375d7
mov dword [edi + 0x68], 0
jmp 0x10137680
mov cl, byte [esi + 0x1b4]
cmp cl, 0xff
je 0x10137680
cmp byte [esi + 0x1b3], 0xff
jne 0x10137680
cmp byte [edi + 0x98], 0
je 0x10137680
mov ax, word [esi + 0x62]
cmp ax, word [esi + 0x60]
jne 0x10137680
movss xmm2, dword [esi + 0xa4]
movss xmm0, dword [esi + 0xfc]
addss xmm2, xmm2
movsx eax, cl
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
addss xmm2, dword [esi + 0x9c]
movss xmm1, dword [ecx + eax + 0xc]
comiss xmm0, xmm1
jbe 0x10137645
subss xmm1, dword [edi + 0x1c]
subss xmm1, xmm2
jmp 0x10137657
comiss xmm1, dword [esi + 0x104]
jbe 0x10137680
subss xmm1, dword [edi + 0x1c]
addss xmm1, xmm2
addss xmm1, dword [edi + 0x68]
mov dword [edi + 0x88], 0
mov dword [edi + 0x80], 0x3f800000
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x78], xmm0
mov cl, byte [esi + 0x1b3]
cmp cl, 0xff
je 0x101376ea
mov ax, word [esi + 0x60]
cmp ax, word [esi + 0x62]
jne 0x101376ea
mov eax, dword [ebp - 0x14]
movss xmm1, dword [esi + 0xa4]
addss xmm1, xmm1
movss xmm0, dword [eax + 0xd50]
subss xmm0, dword [eax + 0x3e98]
movsx eax, cl
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
addss xmm0, dword [0x106542c8]
subss xmm0, dword [ecx + eax + 8]
subss xmm0, dword [esi + 0xac]
subss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc0], xmm0
mov eax, dword [0x106d663c]
lea ebx, [esi + 0xcc]
mov eax, dword [eax + 0x3e30]
dec dword [eax + 0xd4]
movss xmm0, dword [edx + 0xf8]
mov eax, dword [ebp - 4]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edx + 0xfc]
movss dword [ebp - 0x10], xmm0
movups xmm0, xmmword [eax + 0x24]
movups xmmword [edi + 0x1e0], xmm0
movups xmm0, xmmword [eax + 0x34]
movups xmmword [edi + 0x1f0], xmm0
mov al, byte [esi + 0x1d3]
mov byte [edi + 0x9f], al
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx + 0xe4], ecx
mov ecx, dword [ebp - 4]
mov dword [edx + 0xe0], eax
mov eax, dword [ecx + 0x60]
mov dword [edx + 0x190], eax
mov eax, dword [ecx + 0x64]
mov dword [edx + 0x198], eax
mov eax, dword [ecx + 0x5c]
mov dword [edx + 0x124], eax
cmp edi, edx
je 0x1013777a
call fcn.10115080
jmp 0x101377b7
movss xmm0, dword [ebx + 8]
lea ecx, [ebp - 0x1c]
subss xmm0, dword [ebx]
movss xmm1, dword [0x10654448]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebx + 0xc]
subss xmm0, dword [ebx + 4]
movss dword [ebp - 0x18], xmm0
call fcn.1011b150
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.1011b280
add esp, 8
mov eax, dword [esi + 4]
xorps xmm3, xmm3
mov ecx, dword [ebp - 4]
test eax, 0x10000
je 0x101377de
movss xmm0, dword [esi + 0xbc]
addss xmm0, dword [ebx]
movss xmm2, dword [ebp - 0xc]
maxss xmm2, xmm0
jmp 0x10137857
movss xmm2, dword [ecx + 8]
comiss xmm3, xmm2
jb 0x1013784a
test eax, 0x1000000
je 0x101377f9
movss xmm0, dword [edi + 0x90]
jmp 0x101377fc
xorps xmm0, xmm0
movss xmm1, dword [esi + 0xbc]
addss xmm1, dword [ebx]
mov eax, dword [ebp - 8]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x100]
subss xmm1, xmm2
movss xmm2, dword [ebp - 0xc]
maxss xmm0, xmm1
movss dword [eax + 0x100], xmm0
movss xmm0, dword [esi + 0xbc]
addss xmm0, dword [ebx]
movss xmm1, dword [esi + 0xd4]
minss xmm1, xmm0
maxss xmm2, xmm1
jmp 0x10137857
movss xmm2, dword [ebp - 0xc]
maxss xmm2, dword [esi + 0xd4]
mov ebx, dword [ebp - 8]
movss dword [ebx + 0xf8], xmm2
movss xmm0, dword [ecx + 0xc]
comiss xmm3, xmm0
jb 0x101378b2
test dword [esi + 4], 0x2000000
je 0x1013787d
movss xmm3, dword [edi + 0x94]
addss xmm3, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x10]
subss xmm3, xmm0
movss xmm0, dword [ebx + 0x104]
maxss xmm0, xmm3
movss dword [ebx + 0x104], xmm0
movss xmm0, dword [esi + 0xd8]
minss xmm0, dword [ebp - 0x20]
maxss xmm1, xmm0
jmp 0x101378bf
movss xmm1, dword [ebp - 0x10]
maxss xmm1, dword [esi + 0xd8]
movss dword [ebx + 0xfc], xmm1
cmp byte [esi + 0x1cc], 0
je 0x101378d7
mov ecx, esi
call fcn.1013abd0
mov edx, dword [ebp - 0x14]
mov byte [esi + 0x1c7], 0
mov eax, dword [edx + 0x41f8]
dec eax
mov dword [edx + 0x41f8], eax
test eax, eax
jle 0x1013792a
imul ecx, eax, 0x68
mov eax, dword [edx + 0x4204]
add eax, 0xffffff98
add ecx, eax
je 0x1013792a
imul eax, dword [ecx], 0x1d8
add eax, dword [edx + 0x4210]
mov dword [edx + 0x41f4], eax
je 0x10137934
mov dword [eax + 0xc], ecx
add ecx, 0x10
mov eax, dword [edx + 0x41f4]
mov dword [eax + 0x170], ecx
jmp 0x10137934
mov dword [edx + 0x41f4], 0
mov ecx, dword [edx + 0x41f4]
test ecx, ecx
je 0x10137962
sub ecx, dword [edx + 0x4210]
mov eax, 0x22b63cbf
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x184], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [ebx + 0x184], 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret