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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x100b1040]
xor eax, esp
mov dword [esp + 0x64], eax
mov edx, dword [0x100b2110]
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov edi, dword [edx + 0x3f8c]
mov dword [esp + 0x48], edi
cmp dword [esi + 0x48], 0xffffffff
je 0x100417ab
call fcn.10041de0
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x5e24], 0
je 0x100417c9
push 0
mov edx, 0x100a4c70
xor ecx, ecx
call fcn.1002b7b0
mov edx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esi + 0x54]
mov dword [edi + 0xfc], eax
movsx eax, word [esi + 0x1dc]
movss xmm1, dword [esi + 0x50]
movss xmm7, dword [esi + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x44]
inc eax
movss dword [esp + 0x34], xmm1
mov dword [esp + 0x18], eax
movsx eax, word [esi + 0x1da]
mov dword [esp + 0x4c], eax
movsx eax, word [esi + 0x4c]
movss dword [esp + 0x3c], xmm7
test eax, eax
jne 0x10041826
lea eax, [esi + 0x178]
mov dword [esp + 0x44], eax
lea ecx, [esi + 0x180]
lea eax, [esi + 0x174]
jmp 0x10041851
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x18c]
lea edi, [eax - 0xc]
lea edi, [edi + ecx*8]
mov dword [esp + 0x44], edi
lea edi, [eax - 4]
lea edi, [edi + ecx*8]
mov dword [esp + 0x14], edi
lea eax, [eax + ecx*8]
mov edi, dword [esp + 0x48]
add eax, 0xfffffff0
mov ecx, dword [esp + 0x14]
test byte [esi + 0x68], 1
je 0x10041875
cmp dword [esi + 0x44], 0
je 0x10041866
test dword [esi + 0x68], 0x10000
je 0x10041875
movaps xmm0, xmm7
subss xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0xf8]
movss xmm2, dword [0x100ab010]
jb 0x10041c26
movss xmm0, dword [esi + 0x100]
comiss xmm0, xmm1
jb 0x10041c26
cmp word [esi + 0x1be], 0xffff
je 0x100418c1
movss xmm0, dword [edx + 0xe04]
comiss xmm0, xmm1
jb 0x100418c1
comiss xmm7, xmm0
jbe 0x100418c1
cmp dword [ecx], 0
jge 0x100418c1
mov eax, dword [esi + 0x44]
mov dword [ecx], eax
mov eax, dword [esi + 0x70]
lea edx, [esi + 4]
mov dword [esp + 0x1c], 0
cmp eax, 0x1000000
jne 0x100418ec
test byte [edx], 0x40
je 0x100418f0
mov ecx, dword [esi + 0x6c]
movaps xmm1, xmm2
and ecx, 1
add ecx, 0x2d
call fcn.10015bd0
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x74]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x28], eax
cmove ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x44], eax
jle 0x10041925
test byte [edx], 0x80
je 0x10041925
test dword [esi + 0x68], 0x10000
je 0x1004191e
mov eax, dword [esi + 0x78]
jmp 0x10041921
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x28], eax
mov ax, word [esi + 0x1e2]
shr ax, 0xf
xor al, 1
mov word [esp + 0x26], ax
mov eax, ecx
or eax, dword [esp + 0x28]
or eax, dword [esp + 0x1c]
jne 0x10041954
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
je 0x10041954
cmp byte [esp + 0x26], 0
je 0x10041994
test dword [edx], 0x100000
jne 0x10041977
movups xmm0, xmmword [esi + 0x114]
mov eax, dword [edi + 0x270]
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x168]
push 0
push dword [edi + 0x270]
call fcn.10039f90
movss xmm7, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100419a4
test ecx, ecx
je 0x10041a63
movss xmm0, dword [esi + 0xe4]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x34]
maxss xmm0, dword [esi + 0x104]
maxss xmm1, dword [esi + 0x108]
minss xmm2, dword [esi + 0x110]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esi + 0xec]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x5c], xmm2
minss xmm0, dword [esi + 0x10c]
movss dword [esp + 0x58], xmm0
test eax, eax
je 0x10041a36
comiss xmm2, xmm1
jbe 0x10041a36
push 0
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10038dc0
movss xmm1, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10041a63
comiss xmm2, xmm1
jbe 0x10041a63
push 0
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10038dc0
cmp byte [esp + 0x26], 0
je 0x10041b3a
mov edx, dword [esi + 0x20]
movsx eax, word [esi + 0x1e2]
mov dword [esp + 0x14], edx
lea eax, [edx + eax*8]
mov dword [esp + 0x2c], eax
cmp edx, eax
ja 0x10041b3a
nop dword [eax + eax]
movsx eax, word [edx + 4]
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x108]
imul ecx, eax, 0x70
mov eax, dword [esi + 0x10]
push 0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x110]
push ecx
movss xmm2, dword [ecx + eax + 8]
movss xmm1, dword [ecx + eax + 0xc]
maxss xmm2, dword [esi + 0xe4]
minss xmm1, dword [esi + 0xec]
mov dword [esp], 0
push dword [edx]
movss dword [esp + 0x68], xmm0
maxss xmm2, dword [esi + 0x104]
minss xmm1, dword [esi + 0x10c]
maxss xmm2, dword [ecx + eax + 0x20]
minss xmm1, dword [ecx + eax + 0xc]
mov ecx, dword [edi + 0x270]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x6c], xmm1
call fcn.10038dc0
mov edx, dword [esp + 0x14]
add edx, 8
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x2c]
jbe 0x10041a90
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10041ba4
movss xmm1, dword [esp + 0x34]
comiss xmm1, dword [esi + 0x108]
jb 0x10041ba4
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x10041ba4
movss xmm0, dword [esi + 0x84]
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x48], xmm1
call fcn.10038bc0
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x10041dc4
movss xmm1, dword [esp + 0x3c]
comiss xmm1, dword [esi + 0x108]
jb 0x10041dc4
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x10041dc4
movss xmm0, dword [esi + 0x84]
lea eax, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x270]
mov dword [esp], 0x3f800000
push dword [esi + 0x78]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x3c], xmm1
push eax
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm1
call fcn.10038bc0
movss xmm2, dword [0x100ab010]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x4c]
jne 0x10041c55
xor edx, edx
cmp dword [esi + 0x40], edx
jle 0x10041c55
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov byte [eax + ecx - 6], 0
cmp edx, dword [esi + 0x40]
jl 0x10041c40
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x10041da3
movss xmm1, dword [esi + 0x54]
mov eax, dword [esp + 0x44]
addss xmm1, xmm2
maxss xmm1, dword [edi + 0x1f0]
mov byte [esi + 0x1f6], 1
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xc8]
movss dword [eax], xmm0
minss xmm1, dword [edi + 0x1f8]
mov ax, word [esi + 0x1e8]
movss dword [esi + 0x128], xmm1
movss dword [esi + 0x108], xmm1
movss xmm0, dword [edi + 0x1f8]
movss xmm1, dword [esi + 0x54]
movss dword [esi + 0x130], xmm0
movss dword [esi + 0x110], xmm0
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe8]
subss xmm0, dword [esi + 0x50]
mov word [esi + 0x1e6], ax
subss xmm1, dword [esi + 0xc8]
movss dword [edi + 0xfc], xmm1
xor edi, edi
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edi
jle 0x10041d24
xor edx, edx
mov ecx, dword [esi + 0x10]
lea edx, [edx + 0x70]
inc edi
mov ax, word [ecx + edx - 0x10]
mov word [ecx + edx - 0x14], ax
mov eax, dword [esi + 0x128]
mov dword [ecx + edx - 0x4c], eax
cmp edi, dword [esi + 0x40]
jl 0x10041d04
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x48]
movss xmm1, dword [eax + 0x20]
movss xmm2, dword [eax + 0x24]
movss xmm3, dword [eax + 0x28]
movss xmm4, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [edx + 0x270]
movups xmmword [edx + 0x21c], xmm0
movss dword [eax + 0x60], xmm1
movss dword [eax + 0x64], xmm2
movss dword [eax + 0x68], xmm3
movss dword [eax + 0x6c], xmm4
mov eax, dword [edx + 0x270]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss dword [eax + ecx*8 - 0x10], xmm1
movss dword [eax + ecx*8 - 0xc], xmm2
movss dword [eax + ecx*8 - 8], xmm3
movss dword [eax + ecx*8 - 4], xmm4
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x168]
movzx eax, word [eax + 0x5c]
push eax
push dword [edx + 0x270]
call fcn.10039f90
test byte [esi + 0x68], 1
mov byte [esi + 0x1eb], 0
jne 0x10041db3
inc dword [esi + 0x6c]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.1007c18b
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x100ab010]
jmp 0x10041c2a