Function at 0x10036790
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cbc5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1005f010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10111a70]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10111a7c]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0x736f7263
mov dword [ebp - 0x18], 0x69616873
mov word [ebp - 0x14], 0x72
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
mov ecx, dword [0x10111a6c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov ecx, dword [0x10111740]
mov eax, ecx
mov esi, dword [0x10111674]
cdq
sub eax, edx
movq qword [ebp - 0x1c], xmm0
mov ebx, eax
mov word [ebp - 0x14], 0
mov eax, esi
sar ebx, 1
cdq
sub eax, edx
mov dword [ebp - 0x2c], ebx
mov edi, eax
mov eax, 0xb60b60b7
imul ecx
mov eax, 0xb60b60b7
sar edi, 1
add edx, ecx
mov dword [ebp - 0x24], edi
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul esi
mov al, byte [0x1010eeae]
add edx, esi
mov byte [ebp - 0x1f], al
mov eax, dword [0x1010e834]
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp byte [0x1010e838], 0
mov dl, byte [0x1010eeac]
mov dh, byte [0x1010eead]
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1e], dh
je 0x100368dc
cmp eax, 4
je 0x100368dc
mov edx, dword [ebp - 0x38]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, ebx
mulss xmm0, dword [edx + 0xbb4]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
cvttss2si ebx, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0x2c], ebx
mulss xmm1, dword [edx + 0xbb0]
mov dl, byte [ebp - 0x1d]
mov dh, byte [ebp - 0x1e]
addss xmm1, xmm0
cvttss2si edi, xmm1
mov dword [ebp - 0x24], edi
cmp eax, 1
jne 0x100369d4
mov ecx, dword [0x10111b90]
lea esi, [ebx - 3]
push ecx
mov eax, esp
dec edi
mov dword [eax], 0x80000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
lea eax, [edi + 3]
push eax
lea eax, [esi + 7]
push eax
mov edx, dword [ecx]
push edi
push esi
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10111b90]
lea esi, [ebx - 1]
mov edi, dword [ebp - 0x24]
push ecx
mov eax, esp
add edi, 0xfffffffd
mov dword [eax], 0x80000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
lea eax, [edi + 7]
push eax
lea eax, [esi + 3]
push eax
mov edx, dword [ecx]
push edi
push esi
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10111b90]
lea esi, [ebx - 2]
mov dl, byte [ebp - 0x1d]
push ecx
mov eax, esp
mov byte [eax], dl
mov dl, byte [ebp - 0x1e]
mov byte [eax + 1], dl
mov dl, byte [ebp - 0x1f]
mov byte [eax + 2], dl
mov byte [eax + 3], 0xdc
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edi, dword [ebp - 0x24]
mov ecx, dword [0x10111b90]
lea eax, [edi + 1]
mov edx, dword [ecx]
push eax
lea eax, [esi + 5]
push eax
mov eax, dword [edx + 0x30]
push edi
push esi
call eax
mov ecx, dword [0x10111b90]
lea esi, [edi - 2]
mov dl, byte [ebp - 0x1d]
push ecx
mov eax, esp
mov byte [eax], dl
mov dl, byte [ebp - 0x1e]
mov byte [eax + 1], dl
mov dl, byte [ebp - 0x1f]
mov byte [eax + 2], dl
mov byte [eax + 3], 0xdc
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
lea eax, [esi + 5]
mov edx, dword [ecx]
push eax
lea eax, [ebx + 1]
push eax
mov eax, dword [edx + 0x30]
push esi
push ebx
call eax
mov eax, dword [0x1010e834]
jmp 0x10036a52
cmp eax, 2
jne 0x10036a4f
mov ecx, dword [0x10111b90]
lea esi, [edi + 3]
push ecx
mov eax, esp
add ebx, 0xfffffffe
mov byte [eax], dl
mov dl, byte [ebp - 0x1f]
mov byte [eax + 1], dh
mov byte [eax + 2], dl
mov byte [eax + 3], 0xdc
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
lea edi, [ebx + 5]
mov edx, dword [ebp - 0x24]
push esi
push edi
mov eax, dword [ecx]
add edx, 0xfffffffe
push edx
push ebx
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10111b90]
push ecx
mov eax, esp
mov dword [eax], 0x80000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
lea edi, [ebx + 5]
push esi
push edi
mov edi, dword [ebp - 0x24]
mov eax, dword [ecx]
lea edx, [edi - 2]
mov eax, dword [eax + 0x38]
push edx
push ebx
call eax
mov eax, dword [0x1010e834]
jmp 0x10036a52
mov edi, dword [ebp - 0x24]
cmp eax, 3
jne 0x10036a9e
mov ecx, dword [0x10111b90]
mov dl, byte [ebp - 0x1d]
push ecx
mov eax, esp
mov byte [eax], dl
mov dl, byte [ebp - 0x1e]
mov byte [eax + 1], dl
mov dl, byte [ebp - 0x1f]
mov byte [eax + 2], dl
mov byte [eax + 3], 0xdc
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
lea eax, [edi + 1]
push 0x64
push 4
push eax
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
inc eax
push eax
mov eax, dword [edx + 0x180]
call eax
mov eax, dword [0x1010e834]
cmp eax, 4
jne 0x10036f51
movss xmm1, dword [0x102feb60]
xorps xmm0, xmm0
comiss xmm1, xmm0
movss xmm2, dword [0x102feb5c]
movss xmm4, dword [0x10054194]
movss xmm3, dword [0x10054160]
jb 0x10036aeb
comiss xmm3, xmm1
jbe 0x10036aeb
mov dword [0x102feb6c], 0
movss dword [0x102feb84], xmm2
jmp 0x10036be2
comiss xmm1, xmm3
movss xmm0, dword [0x1005417c]
jb 0x10036b25
comiss xmm0, xmm1
jbe 0x10036b25
movaps xmm0, xmm3
mov dword [0x102feb6c], 0
subss xmm0, xmm2
mov dword [0x102feb84], 0x437f0000
movss dword [0x102feb58], xmm0
jmp 0x10036bec
comiss xmm1, xmm0
movss xmm0, dword [0x10054180]
jb 0x10036b58
comiss xmm0, xmm1
jbe 0x10036b58
mov dword [0x102feb58], 0
movss dword [0x102feb6c], xmm2
mov dword [0x102feb84], 0x437f0000
jmp 0x10036bec
comiss xmm1, xmm0
movss xmm0, dword [0x1005418c]
jb 0x10036b8f
comiss xmm0, xmm1
jbe 0x10036b8f
movaps xmm0, xmm3
mov dword [0x102feb58], 0
subss xmm0, xmm2
mov dword [0x102feb6c], 0x437f0000
movss dword [0x102feb84], xmm0
jmp 0x10036bec
comiss xmm1, xmm0
movss xmm0, dword [0x10054190]
jb 0x10036bbf
comiss xmm0, xmm1
jbe 0x10036bbf
movss dword [0x102feb58], xmm2
mov dword [0x102feb6c], 0x437f0000
mov dword [0x102feb84], 0
jmp 0x10036bec
comiss xmm1, xmm0
jb 0x10036bec
comiss xmm4, xmm1
jbe 0x10036bec
movaps xmm0, xmm3
mov dword [0x102feb84], 0
subss xmm0, xmm2
movss dword [0x102feb6c], xmm0
mov dword [0x102feb58], 0x437f0000
movss xmm0, dword [0x10053fe4]
addss xmm2, xmm0
comiss xmm2, xmm3
movss dword [0x102feb5c], xmm2
jb 0x10036c0f
mov dword [0x102feb5c], 0
addss xmm1, xmm0
comiss xmm1, xmm4
movss dword [0x102feb60], xmm1
jbe 0x10036c2a
mov dword [0x102feb60], 0
mov ecx, dword [0x10111a70]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ecx, 1
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x50], ebx
call fcn.1003b660
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x102feb74]
addss xmm0, dword [0x10054000]
movss dword [ebp - 0x34], xmm1
comiss xmm0, dword [0x1005411c]
movss dword [0x102feb74], xmm0
jbe 0x10036cb1
mov dword [0x102feb74], 0
xorps xmm0, xmm0
cvttss2si esi, xmm0
mov dword [ebp - 0x38], 0
movaps xmm0, xmm1
mov dword [ebp - 0x2c], esi
call fcn.1002bf80
movss xmm1, dword [ebp - 0x34]
cvtps2pd xmm1, xmm1
mulsd xmm1, qword [0x10054098]
cvtpd2ps xmm1, xmm1
movss dword [ebp - 0x4c], xmm1
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movss dword [ebp - 0x34], xmm1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [ebp - 4], 1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x10054018]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
call fcn.10026690
movd xmm1, ebx
lea ecx, [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0
call fcn.10028450
movss xmm0, dword [ebp - 0x28]
call fcn.1002bf80
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movd xmm1, ebx
mov dword [ebp - 0x24], edi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x28], eax
cmp esi, edi
je 0x10036d7f
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x10036d95
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10028450
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
movd xmm1, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x4c]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x10054018]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
call fcn.10026690
mulss xmm0, dword [ebp - 0x34]
cvttss2si eax, xmm0
mov dword [ebp - 0x28], eax
cmp esi, edi
je 0x10036dd9
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x10036def
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10028450
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x24], edi
movss xmm0, dword [ebp - 0x30]
call fcn.1002bf80
mulss xmm0, dword [ebp - 0x34]
cvttss2si eax, xmm0
mov dword [ebp - 0x30], eax
cmp esi, edi
je 0x10036e13
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x18], esi
jmp 0x10036e26
lea eax, [ebp - 0x30]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10028450
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x1c]
cvttss2si edx, dword [0x102feb58]
mov ecx, dword [0x10111b90]
mov edi, dword [ebp - 0x40]
mov esi, dword [eax]
sub edi, dword [eax + 4]
add esi, dword [ebp - 0x3c]
push ecx
mov eax, esp
cvttss2si ebx, dword [0x102feb6c]
mov byte [eax], dl
mov byte [eax + 3], 0xff
cvttss2si edx, dword [0x102feb84]
mov byte [eax + 1], bl
mov byte [eax + 2], dl
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
push edi
mov edi, dword [ebp - 0x40]
push esi
mov eax, dword [ecx]
mov esi, dword [ebp - 0x3c]
push edi
push esi
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [ebp - 0x1c]
mov eax, edi
cvttss2si edx, dword [0x102feb58]
sub eax, dword [ecx + 0xc]
sub edi, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
add eax, esi
mov esi, dword [ecx]
mov ecx, dword [0x10111b90]
cvttss2si ebx, dword [0x102feb6c]
add esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
push ecx
mov eax, esp
mov byte [eax], dl
cvttss2si edx, dword [0x102feb84]
mov byte [eax + 1], bl
mov byte [eax + 3], 0xff
mov byte [eax + 2], dl
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10111b90]
push dword [ebp - 0x30]
push dword [ebp - 0x28]
mov eax, dword [ecx]
push edi
push esi
mov eax, dword [eax + 0x3c]
call eax
mov ebx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x2c]
inc ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0x5a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xfffffffc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], esi
mov eax, edx
cmp ecx, 0x1000
jb 0x10036f1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036f4b
push ecx
push edx
call fcn.100434cb
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp ebx, 4
jge 0x10036f51
mov ebx, dword [ebp - 0x50]
jmp 0x10036cf0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004305e
mov esp, ebp
pop ebp
ret