Function at 0x418a00
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f793
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58abb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
push edi
push 0x80
call fcn.00412e10
lea ebx, [esi + 0x64]
mov dword [esi], 0x54095c
mov eax, 1
mov ecx, 0x53f29c
mov dword [ebp - 4], edi
mov dword [ebx], ecx
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0x104], ecx
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x154], ecx
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x17c], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x1a4], ecx
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1d8], eax
mov dword [esi + 0x1dc], eax
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1e4], edi
mov byte [ebp - 4], 5
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418be5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1f4], eax
mov byte [ebp - 4], 6
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418c15
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1f8], eax
mov byte [ebp - 4], 7
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418c45
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1fc], eax
mov byte [ebp - 4], 8
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418c75
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x200], eax
mov byte [ebp - 4], 9
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418ca5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x204], eax
mov byte [ebp - 4], 0xa
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418cd5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x208], eax
mov byte [ebp - 4], 0xb
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418d05
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20c], eax
mov byte [ebp - 4], 0xc
call fcn.0041f9d5
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418d35
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x210], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 0xd
mov dword [esi + 0x21c], edi
mov dword [esi + 0x230], edi
mov dword [esi + 0x234], edi
cmp edx, edi
je 0x418dd6
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418d70
sub eax, dword [ebp + 8]
sar eax, 1
je 0x418dd6
push edx
lea ecx, [ebp + 8]
call fcn.00404630
lea edx, [esi + 0x10]
push edx
lea eax, [ebp + 8]
push eax
push ebx
mov byte [ebp - 4], 0xe
call fcn.00410040
add esp, 0xc
test eax, eax
je 0x418db3
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x1f4]
call fcn.00401b60
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x214], 0xffffff
mov dword [esi + 0x218], edi
mov ecx, dword [0x53e23c]
mov dword [esi + 0x220], ecx
mov edx, dword [0x53e240]
mov dword [esi + 0x224], edx
mov eax, dword [0x53e244]
mov dword [esi + 0x228], eax
mov ecx, dword [0x53e248]
mov dword [esi + 0x22c], ecx
mov dword [esi + 0xc], 0x3000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4