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

Disassembly:
push 0xffffffffffffffff
push 0x1011a208
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
mov eax, dword [0x1015dfe0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x1014109c
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0
call fcn.10004140
push 0x101410a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.10004140
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
push eax
call fcn.10004c80
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 3
call fcn.1000a640
push 0x101410a4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x4c], 4
lea esi, [esp + 0x30]
call fcn.10004550
add esp, 8
mov edx, esp
mov byte [esp + 0x44], 5
mov dword [esp + 0x20], esp
lea ecx, [esp + 0x10]
push ecx
push eax
push edx
call fcn.10004490
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebp, esp
push eax
call fcn.10004c80
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x48], 5
call fcn.10005d40
mov esi, eax
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100059b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
dec esi
push esi
push 0x101410a8
push edi
call fcn.10006370
add esp, 0xc
cmp dword [edi + 0xc], 0
je 0x100059d6
mov eax, dword [edi]
push 0
push 0
push eax
call fcn.1000876c
cmp dword [esp + 0x2c], 0
jg 0x100059e2
call fcn.100088f6
mov edx, dword [esp + 0x28]
lea ecx, [edi + 0x24]
push edx
call fcn.10004940
cmp dword [esp + 0x2c], 1
jg 0x100059fb
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 4
lea ecx, [edi + 0x28]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 2
jg 0x10005a17
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 8
lea ecx, [edi + 0x2c]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 3
jg 0x10005a33
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0xc
lea ecx, [edi + 0x30]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 4
jg 0x10005a4f
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x10
lea ecx, [edi + 0x34]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 5
jg 0x10005a6b
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x14
lea ecx, [edi + 0x38]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 6
jg 0x10005a87
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x18
lea ecx, [edi + 0x3c]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 7
jg 0x10005aa3
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x1c
lea ecx, [edi + 0x40]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 8
jg 0x10005abf
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x20
lea ecx, [edi + 0x44]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 9
jg 0x10005adb
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x24
lea ecx, [edi + 0x48]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0xa
jg 0x10005af7
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x28
lea ecx, [edi + 0x4c]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0xb
jg 0x10005b13
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x2c
lea ecx, [edi + 0x50]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0xc
jg 0x10005b2f
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x30
lea ecx, [edi + 0x54]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0xd
jg 0x10005b4b
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x34
lea ecx, [edi + 0x58]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0xe
jg 0x10005b67
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x38
lea ecx, [edi + 0x5c]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0xf
jg 0x10005b83
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x3c
lea ecx, [edi + 0x60]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x10
jg 0x10005b9f
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x40
lea ecx, [edi + 0x64]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x11
jg 0x10005bbb
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x44
lea ecx, [edi + 0x68]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x12
jg 0x10005bd7
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x48
lea ecx, [edi + 0x6c]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x13
jg 0x10005bf3
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x4c
lea ecx, [edi + 0x70]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x14
jg 0x10005c0f
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x50
lea ecx, [edi + 0x74]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x15
jg 0x10005c2b
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x54
lea ecx, [edi + 0x78]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x16
jg 0x10005c47
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x58
lea ecx, [edi + 0x7c]
push eax
call fcn.10004940
cmp dword [esp + 0x2c], 0x17
jg 0x10005c63
call fcn.100088f6
mov eax, dword [esp + 0x28]
add eax, 0x5c
lea ecx, [edi + 0x80]
push eax
call fcn.10004940
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 3
call fcn.1000a86c
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005ca9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005cce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005cf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10005d1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x38
ret 4