Function at 0x100041e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068f7d
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x10468f40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [0x10531940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10531944]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov ebx, eax
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x100046d0
push ebx
call fcn.1003fc30
mov esi, eax
add esp, 4
test esi, esi
je 0x100046d0
mov ecx, dword [0x10531aac]
mov eax, dword [0x10531ad0]
push esi
movq xmm0, qword [ecx + ebx]
mov ecx, dword [ecx + ebx + 8]
movq qword [ebp - 0x38], xmm0
movss xmm2, dword [ebp - 0x38]
movss xmm1, dword [ebp - 0x34]
addss xmm2, dword [eax + ebx]
addss xmm1, dword [eax + ebx + 4]
mov dword [ebp - 0x30], ecx
movss xmm0, dword [ebp - 0x30]
addss xmm0, dword [eax + ebx + 8]
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
call fcn.1003fd60
mov ebx, dword [ebp + 8]
add esp, 4
cmp byte [0x1052cb8a], 0
mov byte [ebp - 0xd], al
je 0x10004308
mov eax, dword [0x10531aa0]
movq xmm0, qword [eax + ebx]
mov eax, dword [eax + ebx + 8]
movq qword [ebp - 0x24], xmm0
movss xmm1, dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x20]
mulss xmm1, xmm1
mov dword [ebp - 0x1c], eax
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x100042f3
sqrtsd xmm0, xmm0
jmp 0x100042f8
call fcn.10047870
cvtsd2ss xmm0, xmm0
mov byte [ebp - 0x14], 1
xorps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1000430c
mov byte [ebp - 0x14], 0
cmp byte [ebp - 0xd], 0
mov edx, dword [0x10531b54]
jne 0x10004339
cmp dword [edx + esi], 2
jle 0x10004339
cvttss2si edi, dword [0x1052cbac]
mov ecx, dword [0x10531a98]
mov eax, dword [ecx + ebx]
add eax, 0xa
cmp edi, eax
cmovg edi, eax
jmp 0x10004351
cmp byte [ebp - 0xd], 0
mov ecx, dword [0x10531a98]
mov eax, dword [ecx + ebx]
lea edi, [eax + 0xa]
jne 0x10004369
cmp dword [edx + esi], 2
jle 0x10004369
mov eax, dword [ecx + ebx]
cvttss2si ecx, dword [0x1052cbb0]
add eax, 0xa
cmp ecx, eax
cmovg ecx, eax
mov dword [ebp - 0x40], ecx
jmp 0x1000436f
add eax, 0xa
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov cl, byte [ebp - 0xd]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movq xmm0, qword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x78]
push esi
mov byte [ebp - 0x80], cl
mov byte [ebp - 0x1c], cl
lea ecx, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], ebx
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ebx
call fcn.10002660
push 1
push 1
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x98]
call fcn.10002660
push esi
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10001f90
mov eax, dword [ebp - 0x74]
or ebx, 0xffffffff
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movq xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp + 0xc], edx
movq qword [ebp - 0x5c], xmm0
cmp esi, eax
je 0x100044ca
xor eax, eax
cmp byte [ebp - 0xd], al
setne al
dec eax
mov dword [ebp - 0x2c], eax
movq xmm0, qword [esi]
push eax
push dword [ebp + 8]
mov eax, dword [esi + 8]
push dword [ebp - 0x3c]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x38]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x30]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x1051ad18
call fcn.1000a020
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
jle 0x100044b4
cmp byte [ebp - 0x90], 0
mov ebx, eax
movq xmm0, qword [esi]
mov eax, edi
cmovne eax, dword [ebp - 0x40]
mov edx, dword [esi + 8]
movq qword [ebp - 0x5c], xmm0
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x14], eax
jmp 0x100044bc
movq xmm0, qword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
add esi, 0x10
cmp esi, dword [ebp - 0x18]
jne 0x10004448
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x4c]
or ebx, 0xffffffff
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x60], eax
cmp esi, eax
je 0x100045d5
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp byte [ebp - 0xd], cl
movq xmm0, qword [ebp - 0x24]
setne cl
mov dword [ebp - 0x18], eax
dec ecx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x54], ecx
movq xmm0, qword [esi]
mov eax, dword [esi + 8]
push ecx
push dword [ebp + 8]
push dword [ebp - 0x3c]
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x38]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x30]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
lea eax, [ebp - 0xc0]
push eax
mov ecx, 0x1051ad18
call fcn.1000a020
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
jle 0x10004582
cmp byte [ebp - 0xb4], 0
mov ebx, eax
movq xmm0, qword [esi]
mov eax, edi
cmovne eax, dword [ebp - 0x40]
mov edx, dword [esi + 8]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], eax
jmp 0x1000458d
movq xmm0, qword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x54]
add esi, 0x10
cmp esi, dword [ebp - 0x60]
jne 0x10004516
cmp ebx, eax
jl 0x100045ca
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x14]
jl 0x100045b9
cmp ebx, ecx
jg 0x100045b9
movq xmm0, qword [ebp - 0x5c]
mov ebx, ecx
mov edx, dword [ebp + 0xc]
movq qword [eax], xmm0
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov esi, dword [ebp - 0x50]
jmp 0x100045f0
mov esi, dword [ebp - 0x50]
movq xmm0, qword [ebp - 0x5c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x14]
jge 0x100045e1
xor bl, bl
jmp 0x100045f2
mov eax, dword [ebp + 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov bl, 1
test esi, esi
je 0x1000463b
mov ecx, dword [ebp - 0x48]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x1000461c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100046e6
push ecx
push esi
call fcn.10041fcb
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x6c]
test edx, edx
je 0x10004687
mov ecx, dword [ebp - 0x64]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x10004668
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100046e6
push ecx
push edx
call fcn.10041fcb
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x100046ba
mov ecx, dword [ebp - 0x70]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x100046b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100046e6
push ecx
push edx
call fcn.10041fcb
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.1004748f
int3