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

Disassembly:
sub esp, 0xe4
mov eax, dword [0x10110480]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [0x10110f1c]
push esi
mov esi, dword [esp + 0xec]
mov dword [esp + 0x6c], eax
push edi
xor edi, edi
mov dword [esp + 0x60], esi
mov eax, dword [esi + 0x160]
mov dword [esp + 0x78], eax
movzx eax, word [esi + 0x1c8]
mov ecx, eax
mov dword [esp + 0x5c], eax
movzx eax, word [esi + 0x1cc]
mov dword [esp + 0x28], ecx
mov ecx, eax
push 0x60
mov dword [esp + 0x34], eax
lea eax, [esp + 0x8c]
push edi
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x8c], edi
call fcn.100958c0
add esp, 0xc
lea eax, [esp + 0x8c]
push 4
pop ecx
and dword [eax - 4], edi
and dword [eax], edi
lea eax, [eax + 0x18]
and dword [eax - 0x14], edi
and dword [eax - 0x10], edi
sub ecx, 1
jne 0x1004e43c
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x70]
add ecx, 0x5c0c
lea eax, [eax*2 + 0x23]
sar eax, 5
shl eax, 2
imul esi, eax, 5
mov dword [esp + 0x38], eax
push esi
call fcn.10022b89
mov eax, dword [esp + 0x70]
push esi
push edi
push dword [eax + 0x5c14]
call fcn.100958c0
add esp, 0xc
lea edx, [esp + 0x9c]
mov ecx, edi
mov edi, dword [esp + 0x38]
push 4
pop esi
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x5c14]
add eax, ecx
add ecx, edi
mov dword [edx], eax
lea edx, [edx + 0x18]
sub esi, 1
jne 0x1004e49a
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x60]
mov eax, dword [eax + 0x5c14]
lea eax, [eax + edi*4]
xor edi, edi
mov dword [esp + 0x58], eax
mov eax, edi
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x40], edi
jle 0x1004ea53
movaps xmm5, xmmword [0x100be040]
mov dword [esp + 0x6c], edi
xor edx, edx
mov ecx, eax
and ecx, 0x1f
inc edx
shl edx, cl
mov ecx, eax
mov eax, dword [esi + 0x30]
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x1004e6f8
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, dword [esp + 0x6c]
cmp word [esp + 0x5c], cx
mov dword [esp + 0x50], eax
setg cl
mov dword [esp + 0x84], edi
inc ecx
mov dword [esp + 0x54], ecx
mov ecx, edi
test ecx, ecx
jne 0x1004e52b
movzx ecx, word [eax + 0x5e]
jmp 0x1004e52f
movzx ecx, word [eax + 0x60]
movzx ecx, cx
imul edx, ecx, 0x18
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x78]
add edx, dword [ecx + 0x10]
mov dword [esp + 0x7c], edx
mov ecx, dword [edx]
mov edx, ecx
test ecx, ecx
jle 0x1004e595
imul edx, ecx, 0x28
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x68]
mov edx, dword [edx + 8]
mov dword [esp + 0x64], edx
mov edx, ecx
mov eax, dword [esp + 0x64]
cmp dword [esi + eax - 0xc], edi
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
jne 0x1004e595
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
cmp dword [esi + eax - 8], edi
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x60]
jne 0x1004e595
lea edx, [ecx - 1]
mov ecx, dword [esp + 0x7c]
mov dword [ecx], edx
cmp edx, 1
jne 0x1004e6d6
test dword [eax], 0x100
mov ecx, dword [esp + 0x84]
jne 0x1004e5e0
cmp word [esp + 0x5c], 0
jg 0x1004e5c1
movss xmm0, dword [eax + 0x48]
maxss xmm0, dword [eax + 0x44]
jmp 0x1004e5d6
test ecx, ecx
jne 0x1004e5d1
movss xmm0, dword [eax + 0x48]
maxss xmm0, dword [eax + 0x40]
jmp 0x1004e5d6
movss xmm0, dword [eax + 0x44]
comiss xmm0, dword [eax + 0x28]
ja 0x1004e6d6
cmp word [esp + 0x30], 0
jle 0x1004e5f9
movsx eax, word [esi + 0x1cc]
cmp dword [esp + 0x4c], eax
jge 0x1004e5f9
mov edx, edi
jmp 0x1004e5fc
xor edx, edx
inc edx
cmp word [esp + 0x5c], 0
jle 0x1004e60c
test ecx, ecx
jne 0x1004e60c
mov eax, edi
jmp 0x1004e60f
push 2
pop eax
add eax, edx
lea esi, [esp + 0x88]
mov dword [esp + 0x68], eax
imul eax, eax, 0x18
add esi, eax
mov dword [esp + 0x64], esi
cmp dword [esi + 0x10], edi
jne 0x1004e644
lea edi, [esp + 0x88]
add edi, eax
lea esi, [esp + 0x18]
movups xmmword [esp + 0x18], xmm5
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
mov ecx, eax
mov edx, dword [esi + 0x14]
and eax, 0x1f
shr ecx, 5
mov dword [esp + 0x74], eax
mov edi, dword [esp + 0x74]
push 0
mov eax, dword [edx + ecx*4]
bts eax, edi
mov dword [edx + ecx*4], eax
inc dword [esi + 0x10]
mov eax, dword [esp + 0x80]
movss xmm0, dword [esi]
pop edi
mov eax, dword [eax + 8]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x1004e694
movss dword [esi], xmm4
movss xmm0, dword [esi + 4]
comiss xmm0, xmm1
jbe 0x1004e6a3
movss dword [esi + 4], xmm1
comiss xmm2, dword [esi + 8]
jbe 0x1004e6ae
movss dword [esi + 8], xmm2
comiss xmm3, dword [esi + 0xc]
jbe 0x1004e6b9
movss dword [esi + 0xc], xmm3
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
bts eax, ecx
mov esi, dword [esp + 0x60]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x84]
inc ecx
mov dword [esp + 0x84], ecx
cmp ecx, dword [esp + 0x54]
jl 0x1004e521
mov ecx, 0xffff
mov word [eax + 0x5c], cx
mov eax, dword [esp + 0x4c]
add dword [esp + 0x6c], 0x70
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esi + 0x40]
jl 0x1004e4e3
cmp dword [esp + 0x80], 0
je 0x1004ea53
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov eax, dword [edi + 4]
sub eax, 2
lea ecx, [ecx + 0x4a24]
push eax
call fcn.1002300c
push dword [edi + 4]
mov ecx, dword [esp + 0x74]
push 2
push dword [esp + 0x60]
mov eax, dword [ecx + 0x4a2c]
mov dword [esp + 0x88], eax
call fcn.10050f89
movzx edx, word [esi + 0x1d4]
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
mov eax, dword [eax + ecx*4]
btr eax, edx
mov edx, dword [esp + 0x58]
mov dword [edx + ecx*4], eax
xor eax, eax
cmp word [esp + 0x5c], ax
mov ecx, dword [edi + 4]
lea edi, [esp + 8]
setg al
add esi, 0x12c
add eax, 2
sub ecx, eax
xor eax, eax
mov dword [esp + 0x84], ecx
mov edx, eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x74], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
imul ecx, edx, 0x18
mov esi, dword [esp + ecx + 0x98]
mov dword [esp + 0x80], esi
test esi, esi
je 0x1004e968
lea esi, [esp + 0x88]
add ecx, esi
lea edi, [esp + 0x3c]
mov esi, ecx
mov dword [esp + 0x64], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, edx
and esi, 1
je 0x1004e7ef
cmp word [esp + 0x2c], 0
jle 0x1004e7ef
movss xmm3, dword [esp + 0x3c]
jmp 0x1004e801
movss xmm3, dword [esp + 0x3c]
minss xmm3, dword [esp + 8]
movss dword [esp + 0x3c], xmm3
mov ecx, edx
and ecx, 2
je 0x1004e818
cmp word [esp + 0x5c], 0
jle 0x1004e818
movss xmm2, dword [esp + 0x40]
jmp 0x1004e82a
movss xmm2, dword [esp + 0x40]
minss xmm2, dword [esp + 0xc]
movss dword [esp + 0x40], xmm2
movss xmm1, dword [esp + 0x44]
test esi, esi
je 0x1004e840
maxss xmm1, dword [esp + 0x10]
movss dword [esp + 0x44], xmm1
test ecx, ecx
je 0x1004e865
mov ecx, dword [esp + 0x60]
test dword [ecx + 4], 0x20000
jne 0x1004e865
movss xmm0, dword [esp + 0x48]
maxss xmm0, dword [esp + 0x14]
movss dword [esp + 0x48], xmm0
jmp 0x1004e86b
movss xmm0, dword [esp + 0x48]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
sar esi, 2
sub ecx, dword [edi + 0x10]
mov dword [esp + 0x84], ecx
mov ecx, eax
test esi, esi
jle 0x1004e8a7
mov edx, dword [esp + 0x58]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
not eax
and dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x1004e891
mov edx, dword [esp + 0x74]
xor eax, eax
mov esi, dword [esp + 0x78]
mov dword [esp + 0x54], eax
cmp dword [esi + 4], eax
jle 0x1004e96c
mov dword [esp + 0x6c], eax
mov edx, eax
cmp dword [esp + 0x80], 0
je 0x1004e960
mov eax, dword [esp + 0x64]
mov edi, edx
mov esi, dword [esp + 0x78]
mov ecx, edx
sar edi, 5
and ecx, 0x1f
mov eax, dword [eax + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [eax + edi*4]
mov dword [esp + 0x68], eax
xor eax, eax
inc eax
shl eax, cl
test dword [esp + 0x68], eax
je 0x1004e951
mov eax, dword [esp + 0x68]
btr eax, ecx
movss dword [esp + 0x18], xmm3
mov ecx, dword [esp + 0x54]
dec dword [esp + 0x80]
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x20], xmm1
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 0x10]
lea esi, [esp + 0x18]
add eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
movss dword [esp + 0x24], xmm0
push 6
mov edi, dword [eax + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov esi, eax
add ecx, 0x18
mov dword [esp + 0x80], ecx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x78]
add dword [esp + 0x6c], 0x18
inc edx
cmp edx, dword [esi + 4]
jl 0x1004e8be
mov edx, dword [esp + 0x74]
xor eax, eax
jmp 0x1004e96c
mov esi, dword [esp + 0x78]
cmp edx, 1
jne 0x1004e9ac
cmp word [esp + 0x28], 0
jle 0x1004e9ac
mov eax, dword [esp + 0x7c]
mov edi, eax
add eax, 0x18
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
push 6
pop ecx
movzx eax, word [eax + 0x1d4]
imul esi, eax, 0x18
mov eax, dword [esp + 0x78]
add esi, dword [eax + 0x10]
inc edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x74], edx
xor eax, eax
jmp 0x1004e7a8
inc edx
mov dword [esp + 0x74], edx
cmp edx, 4
jl 0x1004e7a8
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x1004ea33
mov edi, dword [esp + 0x84]
mov dword [esp + 0x80], eax
test edi, edi
je 0x1004ea33
xor edx, edx
mov ecx, eax
and ecx, 0x1f
sar eax, 5
inc edx
shl edx, cl
mov ecx, dword [esp + 0x58]
test dword [ecx + eax*4], edx
mov edx, dword [esp + 0x80]
je 0x1004ea19
mov esi, dword [esi + 0x10]
mov eax, dword [esp + 0x7c]
add esi, edx
push 6
mov edi, eax
add eax, 0x18
dec dword [esp + 0x88]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x34]
add edx, 0x18
mov ecx, dword [esi + 4]
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x80], edx
cmp eax, ecx
jl 0x1004e9cf
imul eax, ecx, 0x18
sub eax, 0x30
push eax
mov eax, dword [esp + 0x74]
push dword [eax + 0x4a2c]
mov eax, dword [esi + 0x10]
add eax, 0x30
push eax
call fcn.10095340
add esp, 0xc
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
xor ecx, esp
call fcn.1009280f
add esp, 0xe4
ret