Function at 0x10004878
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10018246
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1001f0b0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x1001f0b0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x1001bf34
lea eax, [esp + 0x58]
mov dword [esp + 0x20], esi
call fcn.10003059
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push esi
mov edi, vtable.EncrypterRand2.0
push eax
mov dword [esp + 0x64], edi
call fcn.10001aa9
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.100031c0
and dword [esp + 0x90], 0
mov ebx, dword [esp + 0x1c]
lea esi, [esp + 0x24]
mov byte [esp + 0x24], 0
call fcn.10005eb6
mov esi, dword [esp + 0x20]
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x28]
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000491a
mov ecx, esi
lea eax, [esp + 0x30]
call fcn.10003059
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov ebx, str.A3875B
push ebx
push eax
mov dword [esp + 0x3c], edi
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x20]
mov byte [esp + 0x90], 2
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.B8C5A3F2CBE5A2A3F3C4DBCF8DEDC4EAC9
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
mov esi, dword [esp + 0x20]
lea edi, [esi + 0x24]
mov byte [esp + 0x90], 3
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ebx
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x28]
mov byte [esp + 0x90], 4
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push str.FoxyLyrics
lea eax, [esi + 0x2c]
push eax
call fcn.10001cd2
push str.SHBRT_Apps
lea eax, [esi + 0x30]
push eax
call fcn.10001cd2
push 0x7d
pop ebx
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.A3865AB082A28660
push eax
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], ebx
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x3c]
mov byte [esp + 0x90], 5
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.A3865AAF83A3865F
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x40]
mov byte [esp + 0x90], 6
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.B8C5A3F2CBE5A2A3F3C4DBCF8DEDC4EAC9
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x44]
mov byte [esp + 0x90], 7
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.B78B5CAD83B79C5FAE85A69857B18BA48857AA7FB58A60AF83A78A57BB94B49A57C07F9F8F5BAF93A79A5FAE88A68D5BC097B88A6DAF88AB
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x48]
mov byte [esp + 0x90], 8
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.DEB98EDFB6D9BF95E3B3E1C493E0C0D6C099E3B6D6C38FDEB3E0B798E1C0DEBC96E8B8DEBF8EE5BAD8BD93E6B6D9BA98E6BB
push eax
mov dword [esi + 0x4c], ebx
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x50]
mov byte [esp + 0x90], 9
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.B8C59CF2CBD5A2A3E3C4DB968DED94B2A976C294E1A87ECE80D5CF99BA9A
push eax
mov dword [esi + 0x54], ebx
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x58]
mov byte [esp + 0x90], 0xa
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.B8C5A3F2CBE5A2A3F3C4DBCF8DEDC4EAC9
push eax
mov dword [esi + 0x5c], ebx
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x60]
mov byte [esp + 0x90], 0xb
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.DCCA94EEBC
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x64]
mov byte [esp + 0x90], 0xc
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.DBCA93EEBB
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
mov byte [esp + 0x90], 0xd
lea edi, [esi + 0x68]
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.E7CA9FEEC7
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x6c]
mov byte [esp + 0x90], 0xe
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.E8BB9CECC5E0BF99ECC0E5BF
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x70]
mov byte [esp + 0x90], 0xf
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.DBBA93DEBB
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x74]
mov byte [esp + 0x90], 0x10
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.DBB793DBBB
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x78]
mov byte [esp + 0x90], 0x11
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.ABC599DDC6A28F5ADDC6AB
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x7c]
mov byte [esp + 0x90], 0x12
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.E6CF9AF280E6C68BDBB9D7BA8EEEC5E58458E8B7E6CA58A8
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x80]
mov byte [esp + 0x90], 0x13
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.E5BE9AED80E6C68BDBB9D7BA8EEEC5E58458E8B7E6CA58A8
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x84]
mov byte [esp + 0x90], 0x14
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.E7C699DE80E4C299DBB3D6C88FECC5D5C958ED80D9C59CA8B9A0C8
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x88]
mov byte [esp + 0x90], 0x15
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.B8C576F2CBD7A2A3F3B5E5C97FCAA2A0BBA3F2B7D7BBA2
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x8c]
mov byte [esp + 0x90], 0x16
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.DECF8DECB5D7C99EEDBFE2C358DF80EABB9CDFB7
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x90]
mov byte [esp + 0x90], 0x17
call fcn.10001ae6
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push str.7256
push eax
call fcn.10001aa9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100031c0
lea edi, [esi + 0x94]
mov byte [esp + 0x90], 0x18
call fcn.10001ae6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100021af
lea eax, [esp + 0x24]
call fcn.10005ee7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.100021af
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1000696c
mov esp, ebp
pop ebp
ret