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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56e3a0]
push ebx
push esi
push edi
mov esi, dword [eax + 0x416c]
mov dword [ebp - 0x14], eax
cmp byte [esi + 0x1b9], 0
jne 0x4315c7
mov ecx, esi
call fcn.00430490
cmp byte [esi + 0x1ba], 0
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x168]
mov ebx, dword [esi + 0x164]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
je 0x4315f8
mov ecx, esi
call fcn.00431e40
mov edx, dword [ebp - 0xc]
test dl, 0x20
je 0x431633
mov cl, byte [esi + 0x1a4]
cmp cl, 0xff
je 0x431633
mov eax, dword [0x56e3a0]
cmp dword [eax + 0x3dcc], 0
jne 0x431633
cmp dword [eax + 0x3dd0], 0
jne 0x431633
cmp byte [eax + 0x3607], 0
je 0x431633
movsx ecx, cl
call fcn.00433ca0
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [edi + 0x104], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x100], eax
mov eax, dword [ecx + 0x4c]
mov ecx, dword [ecx + 0x50]
mov dword [edi + 0xfc], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0xf8], eax
mov eax, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x58]
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], ecx
movss xmm1, dword [esi + 0x68]
movss dword [ebp - 0x18], xmm1
cmp edi, ebx
je 0x43168a
movss dword [edi + 0xec], xmm1
jmp 0x4316ae
test edx, 0x20000
jne 0x4316ae
movss xmm0, dword [esi + 0xe0]
maxss xmm0, xmm1
movss dword [esi + 0xf0], xmm0
movss dword [esi + 0xe0], xmm0
movss xmm1, dword [esi + 0xe0]
movss xmm0, dword [esi + 0x100]
mov eax, dword [esi + 4]
maxss xmm0, xmm1
movss xmm2, dword [0x492d90]
movss dword [esi + 0x100], xmm0
subss xmm1, dword [esi + 0xd8]
movss dword [esi + 0xb4], xmm1
test eax, 0x1000000
je 0x431758
test eax, 0x400
jne 0x4316f6
xorps xmm2, xmm2
mov ebx, dword [esi + 0x168]
mov al, byte [esi + 0x1ad]
movss xmm1, dword [ebx + 0xe8]
cmp al, 0xff
je 0x431738
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 + 0x1a7], 0xff
je 0x431750
movss xmm0, dword [esi + 0xcc]
maxss xmm0, xmm1
movaps xmm1, xmm0
movss dword [ebx + 0xe8], xmm1
test edx, 0x100000
jne 0x431793
mov ecx, dword [edi + 0x244]
mov edx, dword [ecx + 0x3c]
sub edx, 1
mov dword [ecx + 0x3c], edx
jne 0x431779
mov eax, dword [ecx + 0x2c]
add eax, 0x18
jmp 0x431784
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.004277a0
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0x244]
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 + 0x1f0], eax
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x1f8], xmm1
movss dword [edi + 0x1fc], xmm2
test edx, 0x780
je 0x4317e4
mov ecx, esi
call fcn.004333e0
mov ebx, dword [esi + 0x178]
mov ecx, ebx
push 0
push dword [edi + 0x244]
call fcn.0042a970
test dword [esi + 4], 0x100000
jne 0x431809
mov ecx, esi
call fcn.00432c40
push dword [edi + 0x244]
mov ecx, ebx
call fcn.0042a4a0
movsx ecx, byte [esi + 0x1a1]
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 + 0xc4], xmm1
cmp dword [esi + 0x54], ebx
jle 0x43193b
xor edi, edi
xorps xmm3, xmm3
nop
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 0x43192b
mov ecx, dword [esi + 0x10]
add ecx, edi
mov edx, dword [ecx]
mov eax, edx
and al, 0x30
cmp al, 0x10
jne 0x4318cb
movss xmm0, dword [ecx + 0x10]
addss xmm0, dword [esi + 0xc4]
movss dword [esi + 0xc4], xmm0
jmp 0x43192b
movss xmm1, dword [ecx + 0x40]
movss xmm2, dword [ecx + 0x34]
maxss xmm1, dword [ecx + 0x44]
subss xmm1, xmm2
test edx, 0x2000
jne 0x4318f6
movss xmm0, dword [ecx + 0x4c]
subss xmm0, xmm2
maxss xmm0, xmm1
movaps xmm1, xmm0
test dl, 0x10
je 0x431913
movss xmm0, dword [ecx + 0x1c]
comiss xmm0, xmm3
jbe 0x431913
test byte [esi + 4], 1
je 0x431910
test dl, 0x20
je 0x431913
movaps xmm1, xmm0
maxss xmm1, dword [esi + 0x9c]
addss xmm1, dword [esi + 0xc4]
movss dword [esi + 0xc4], xmm1
inc ebx
add edi, 0x68
cmp ebx, dword [esi + 0x54]
jl 0x431880
mov edi, dword [ebp - 0x10]
test dword [esi + 4], 0x1000000
mov edx, dword [ebp - 8]
jne 0x431957
cmp edi, edx
je 0x431957
mov dword [edi + 0x58], 0
jmp 0x4319f6
mov cl, byte [esi + 0x1a8]
cmp cl, 0xff
je 0x4319f6
cmp byte [esi + 0x1a7], 0xff
jne 0x4319f6
cmp byte [edi + 0x88], 0
je 0x4319f6
mov ax, word [esi + 0x62]
cmp ax, word [esi + 0x60]
jne 0x4319f6
movss xmm2, dword [esi + 0xa4]
movss xmm0, dword [esi + 0x104]
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 0x4319c1
subss xmm1, dword [edi + 0xc]
subss xmm1, xmm2
jmp 0x4319d3
comiss xmm1, dword [esi + 0x10c]
jbe 0x4319f6
subss xmm1, dword [edi + 0xc]
addss xmm1, xmm2
addss xmm1, dword [edi + 0x58]
mov dword [edi + 0x78], 0
mov dword [edi + 0x70], 0x3f800000
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x68], xmm0
mov cl, byte [esi + 0x1a7]
cmp cl, 0xff
je 0x431a60
mov ax, word [esi + 0x60]
cmp ax, word [esi + 0x62]
jne 0x431a60
mov eax, dword [ebp - 0x14]
movss xmm1, dword [esi + 0xa4]
addss xmm1, xmm1
movss xmm0, dword [eax + 0xcc8]
subss xmm0, dword [eax + 0x3e10]
movsx eax, cl
imul ecx, eax, 0x68
mov eax, dword [esi + 0x10]
addss xmm0, dword [0x492e18]
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 + 0xc8], xmm0
mov eax, dword [0x56e3a0]
lea ebx, [esi + 0xd4]
mov eax, dword [eax + 0x3da8]
dec dword [eax + 0xc4]
movss xmm0, dword [edx + 0xe8]
mov eax, dword [ebp - 4]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edx + 0xec]
movss dword [ebp - 0x10], xmm0
movups xmm0, xmmword [eax + 0x24]
movups xmmword [edi + 0x1d0], xmm0
movups xmm0, xmmword [eax + 0x34]
movups xmmword [edi + 0x1e0], xmm0
mov al, byte [esi + 0x1c7]
mov byte [edi + 0x8f], al
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx + 0xd4], ecx
mov ecx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
mov eax, dword [ecx + 0x60]
mov dword [edx + 0x180], eax
mov eax, dword [ecx + 0x64]
mov dword [edx + 0x188], eax
mov eax, dword [ecx + 0x5c]
mov dword [edx + 0x114], eax
cmp edi, edx
je 0x431af0
call fcn.004114b0
jmp 0x431b2d
movss xmm0, dword [ebx + 8]
lea ecx, [ebp - 0x20]
subss xmm0, dword [ebx]
movss xmm1, dword [0x492f10]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebx + 0xc]
subss xmm0, dword [ebx + 4]
movss dword [ebp - 0x1c], xmm0
call fcn.004175e0
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.00417710
add esp, 8
mov eax, dword [esi + 4]
xorps xmm3, xmm3
mov ecx, dword [ebp - 4]
test eax, 0x10000
je 0x431b54
movss xmm0, dword [esi + 0xc4]
addss xmm0, dword [ebx]
movss xmm2, dword [ebp - 0xc]
maxss xmm2, xmm0
jmp 0x431bcd
movss xmm2, dword [ecx + 8]
comiss xmm3, xmm2
jb 0x431bc0
test eax, 0x1000000
je 0x431b6f
movss xmm0, dword [edi + 0x80]
jmp 0x431b72
xorps xmm0, xmm0
movss xmm1, dword [esi + 0xc4]
addss xmm1, dword [ebx]
mov eax, dword [ebp - 8]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xf0]
subss xmm1, xmm2
movss xmm2, dword [ebp - 0xc]
maxss xmm0, xmm1
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esi + 0xc4]
addss xmm0, dword [ebx]
movss xmm1, dword [esi + 0xdc]
minss xmm1, xmm0
maxss xmm2, xmm1
jmp 0x431bcd
movss xmm2, dword [ebp - 0xc]
maxss xmm2, dword [esi + 0xdc]
mov ebx, dword [ebp - 8]
movss dword [ebx + 0xe8], xmm2
movss xmm0, dword [ecx + 0xc]
comiss xmm3, xmm0
jb 0x431c28
test dword [esi + 4], 0x2000000
je 0x431bf3
movss xmm3, dword [edi + 0x84]
addss xmm3, dword [ebp - 0x18]
movss xmm1, dword [ebp - 0x10]
subss xmm3, xmm0
movss xmm0, dword [ebx + 0xf4]
maxss xmm0, xmm3
movss dword [ebx + 0xf4], xmm0
movss xmm0, dword [esi + 0xe0]
minss xmm0, dword [ebp - 0x18]
maxss xmm1, xmm0
jmp 0x431c35
movss xmm1, dword [ebp - 0x10]
maxss xmm1, dword [esi + 0xe0]
movss dword [ebx + 0xec], xmm1
cmp byte [esi + 0x1c0], 0
je 0x431c4d
mov ecx, esi
call fcn.004340d0
mov edx, dword [ebp - 0x14]
mov byte [esi + 0x1bb], 0
mov eax, dword [edx + 0x4170]
dec eax
mov dword [edx + 0x4170], eax
test eax, eax
jle 0x431ca0
imul ecx, eax, 0x68
mov eax, dword [edx + 0x417c]
add eax, 0xffffff98
add ecx, eax
je 0x431ca0
imul eax, dword [ecx], 0x1c8
add eax, dword [edx + 0x4188]
mov dword [edx + 0x416c], eax
je 0x431caa
mov dword [eax + 0xc], ecx
add ecx, 0x10
mov eax, dword [edx + 0x416c]
mov dword [eax + 0x178], ecx
jmp 0x431caa
mov dword [edx + 0x416c], 0
mov ecx, dword [edx + 0x416c]
test ecx, ecx
je 0x431cda
sub ecx, dword [edx + 0x4188]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x174], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov dword [ebx + 0x174], 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret