Function at 0x100505c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1009963d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
lea ecx, [esi + 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], 0x64
mov ebp, 1
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
push ebx
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x100a5f48
mov word [ecx + 4], bx
call fcn.10004560
mov eax, 0x400
lea ecx, [esi + 0x44]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebp
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x100a5f48
mov dword [esp + 0x44], ebx
mov word [ecx + 4], bx
call fcn.10004560
mov byte [esi + 0x60], 1
mov byte [esi + 0x61], 1
mov byte [esi + 0x62], bl
mov byte [esi + 0x63], 1
mov dword [esi + 0x64], ebp
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], ebx
mov word [esi + 0x6c], bx
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], ebx
mov word [esi + 0x88], bx
mov dword [esi + 0xb8], edi
mov dword [esi + 0xb4], ebx
mov word [esi + 0xa4], bx
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], ebx
mov word [esi + 0xc0], bx
mov dword [esi + 0xf0], edi
mov dword [esi + 0xec], ebx
mov word [esi + 0xdc], bx
mov dword [esi + 0x10c], edi
mov dword [esi + 0x108], ebx
mov word [esi + 0xf8], bx
mov dword [esi + 0x128], edi
mov dword [esi + 0x124], ebx
mov word [esi + 0x114], bx
mov dword [esi + 0x144], edi
mov dword [esi + 0x140], ebx
mov word [esi + 0x130], bx
mov dword [esi + 0x160], edi
mov dword [esi + 0x15c], ebx
mov word [esi + 0x14c], bx
mov dword [esi + 0x17c], edi
mov dword [esi + 0x178], ebx
mov word [esi + 0x168], bx
mov dword [esi + 0x198], edi
mov dword [esi + 0x194], ebx
mov word [esi + 0x184], bx
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1b0], ebx
mov word [esi + 0x1a0], bx
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1cc], ebx
mov word [esi + 0x1bc], bx
mov dword [esi + 0x1ec], edi
mov dword [esi + 0x1e8], ebx
mov word [esi + 0x1d8], bx
mov dword [esi + 0x208], edi
mov dword [esi + 0x204], ebx
mov word [esi + 0x1f4], bx
mov dword [esi + 0x224], edi
mov dword [esi + 0x220], ebx
mov word [esi + 0x210], bx
mov dword [esi + 0x240], edi
mov dword [esi + 0x23c], ebx
mov word [esi + 0x22c], bx
mov dword [esi + 0x25c], edi
mov dword [esi + 0x258], ebx
mov word [esi + 0x248], bx
mov dword [esi + 0x278], edi
mov dword [esi + 0x274], ebx
mov word [esi + 0x264], bx
mov byte [esi + 0x27c], 1
mov byte [esi + 0x27d], 1
mov byte [esi + 0x27e], 1
mov dword [esi + 0x298], edi
mov dword [esi + 0x294], ebx
mov word [esi + 0x284], bx
mov byte [esi + 0x29c], 1
mov byte [esi + 0x29d], bl
mov byte [esi + 0x29e], bl
mov byte [esi + 0x2a2], bl
mov byte [esi + 0x2a6], bl
mov byte [esi + 0x2aa], bl
mov dword [esi + 0x2ac], edi
mov dword [esi + 0x2c8], edi
mov dword [esi + 0x2c4], ebx
mov word [esi + 0x2b4], bx
mov byte [esi + 0x2cc], bl
mov dword [esi + 0x2e8], edi
mov dword [esi + 0x2e4], ebx
mov word [esi + 0x2d4], bx
mov dword [esi + 0x304], edi
mov dword [esi + 0x300], ebx
mov word [esi + 0x2f0], bx
mov dword [esi + 0x320], edi
mov dword [esi + 0x31c], ebx
mov word [esi + 0x30c], bx
mov dword [esi + 0x33c], edi
mov dword [esi + 0x338], ebx
mov word [esi + 0x328], bx
mov dword [esi + 0x358], edi
mov dword [esi + 0x354], ebx
mov word [esi + 0x344], bx
mov dword [esi + 0x374], edi
mov dword [esi + 0x370], ebx
mov word [esi + 0x360], bx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x394], edi
mov dword [esi + 0x390], ebx
mov word [esi + 0x380], bx
mov byte [esi + 0x398], 1
mov byte [esi + 0x399], 1
mov byte [esi + 0x39a], 1
mov byte [esi + 0x39b], 1
mov dword [esi + 0x39c], ebx
mov byte [esi + 0x3a0], 1
mov dword [esi + 0x3a4], ebp
mov byte [esi + 0x3a8], 1
mov byte [esi + 0x3a9], 1
mov byte [esi + 0x3aa], 1
mov byte [esi + 0x3ab], 1
mov byte [esi + 0x3ac], 1
mov byte [esi + 0x3ad], bl
mov byte [esi + 0x3ae], 1
mov dword [esi + 0x3c8], edi
mov dword [esi + 0x3c4], ebx
mov word [esi + 0x3b4], bx
mov dword [esi + 0x3e4], edi
mov dword [esi + 0x3e0], ebx
mov word [esi + 0x3d0], bx
lea ebp, [esi + 0x3f8]
mov byte [esi + 0x3e8], bl
mov byte [esi + 0x3e9], bl
mov byte [esi + 0x3f4], bl
mov byte [esi + 0x3f5], bl
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
mov dword [esi + 0x42c], edi
mov dword [esi + 0x428], ebx
mov word [esi + 0x418], bx
lea edi, [esi + 0x430]
mov ecx, edi
mov byte [esp + 0x3c], 0x21
call fcn.1001f960
mov dword [edi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x43c]
mov ecx, edi
mov byte [esp + 0x3c], 0x22
call fcn.1005f1d0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x448]
mov ecx, edi
mov byte [esp + 0x3c], 0x23
call fcn.1005f1d0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x40], 0x24
call fcn.1004ca00
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x48], 0x25
call fcn.10002490
mov edi, 8
cmp dword [esp + 0x30], edi
mov byte [esp + 0x3c], 0x24
jb 0x10050a45
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10079508
add esp, 4
lea edx, [esp + 0x18]
push edx
call fcn.1004bc40
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x414]
mov byte [esp + 0x48], 0x26
call fcn.10002490
cmp dword [esp + 0x30], edi
jb 0x10050a79
mov eax, dword [esp + 0x1c]
push eax
call fcn.10079508
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret