Function at 0x408180
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0xd8
xor eax, eax
mov byte [esp + 0xd1], 0x8a
movzx ecx, word [esp + 0xd2]
mov dx, cx
mov word [esp + 0xbc], 0x7634
mov bl, byte [esp + 0xbf]
mov bh, bl
add bh, 0x99
lea esi, [esp + 0x9c]
mov byte [esp + 0xbf], bh
lea edi, [esp + 0x5c]
mov byte [esp + 0x9c], 0x6e
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x54]
and eax, 0x5ce574cb
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x9d], 0x74
mov byte [esp + 0x9e], 0x64
mov dword [esp + 0x4c], eax
mov eax, 0x16b1
sub eax, ecx
mov word [esp + 0xd2], ax
mov eax, 0x30a28972
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
mov word [esp + 0x42], dx
mul ecx
mov ecx, dword [esp + 0x50]
imul ecx, ecx, 0x30a28972
add edx, ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
mov byte [esp + 0x9f], 0x6c
mov ax, word [esp + 0x42]
mov word [esp + 0xd2], ax
mov byte [esp + 0xa0], 0x6c
mov byte [esp + 0xa1], 0x2e
mov byte [esp + 0xa2], 0x64
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x7f5bf7f7
mov ecx, dword [esp + 0x44]
or ecx, 0xd378
mov ax, cx
mov word [esp + 0xd2], ax
mov byte [esp + 0xa3], 0x6c
mov bh, byte [esp + 0xd1]
mov al, 0xf6
sub al, bh
mov byte [esp + 0xa4], al
mov word [esp + 0xd2], 0x36f7
mov byte [esp + 0xa5], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x6a546d37
mov word [esp + 0xd2], 0x46e1
mov byte [esp + 0xa6], 0x5d
mov byte [esp + 0xbf], bl
movaps xmm0, xmmword [str.ntdll.dl]
movups xmmword [esp + 0x5c], xmm0
mov word [esp + 0x6c], 0x6c
mov ecx, dword [esp + 0x44]
or ecx, 0x42f4
mov ax, cx
mov word [esp + 0xd2], ax
mov word [esp + 0x6e], 0
mov word [esp + 0x70], 0x5d
mov word [esp + 0xd2], 0x811d
mov dword [esp + 0x76], 0
mov dword [esp + 0x72], 0
mov dword [esp + 0x7e], 0
mov dword [esp + 0x7a], 0
mov dword [esp + 0x86], 0
mov dword [esp + 0x82], 0
mov dword [esp + 0x8e], 0
mov dword [esp + 0x8a], 0
mov word [esp + 0x92], 0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
movsx ecx, byte [esp + 0xb8]
mov ax, cx
mov word [esp + 0x94], ax
mov ecx, dword [esp + 0x4c]
add ecx, 0xdba5fcc5
mov dword [esp + 0xcc], ecx
movsx ecx, byte [esp + 0xb9]
mov ax, cx
mov word [esp + 0x96], ax
and edx, 0x24b4741
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], 0
movsx ecx, byte [esp + 0xba]
mov ax, cx
mov word [esp + 0x98], ax
movsx ecx, byte [esp + 0xbb]
mov ax, cx
mov word [esp + 0x9a], ax
mov bh, bl
or bh, 7
mov byte [esp + 0xbf], bh
mov ecx, dword fs:[0x18]
mov dword [esp + 0xcc], 0
xor eax, eax
mov edx, ecx
sub edx, 0x1000
cmovb ecx, eax
mov eax, dword [esp + 0x54]
xor eax, 0x6dfda8f2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc0], eax
mov eax, dword [ecx + 0x30]
mov word [esp + 0xd2], 0xa75c
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
add eax, 0x48dbfeb
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
adc eax, 0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], edi
mov byte [esp + 0x2f], bl
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
je 0x408625
jmp 0x40861c
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x408518
mov al, byte [esp + 0x17]
test al, 1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x408625
jmp 0x408597
mov eax, dword [esp + 0x18]
mov cx, word [esp + 0xbc]
mov edx, dword [esp + 0xc]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, word [esp + 0x42]
xor bx, bx
xor cx, 0x7614
mov dx, si
add dx, cx
mov word [esp + 0xd2], bx
cmp di, 0x1a
cmovb si, dx
mov cx, word [esp + eax*2 + 0x5c]
mov dword [esp + 0xcc], 0x35b366d2
add eax, 1
mov edi, dword [esp + 8]
cmp eax, edi
setb dl
cmp cx, si
sete dh
cmp si, 0
setne cl
mov ch, dh
and ch, cl
and dl, ch
test dl, 1
mov byte [esp + 0x17], dh
mov dword [esp + 0x18], eax
jne 0x408518
jmp 0x408502
xor eax, eax
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov esi, dword [esp + 0x20]
cmp edx, esi
mov dword [esp], edx
mov dword [esp + 0x1c], eax
je 0x408625
mov eax, dword [esp]
mov cx, 0x7635
mov dx, word [esp + 0x42]
xor dx, 0x504a
mov si, word [esp + 0xbc]
mov word [esp + 0xd2], dx
sub cx, si
mov edi, dword [esp + 0x4c]
add edi, 0x63622a93
mov dword [esp + 0xcc], edi
mov dx, word [eax + 0x24]
shr dx, cl
mov cl, byte [esp + 0x2f]
xor cl, 0x98
mov edi, dword [eax + 0x28]
mov ebx, dword [eax + 0x10]
mov byte [esp + 0xbf], cl
movzx ecx, dx
cmp dx, 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
je 0x408597
jmp 0x4084fa
mov eax, dword [esp + 0x38]
mov dword [esp], eax
jmp 0x4085ae
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret