Function at 0x486a5c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], eax
mov eax, 0x50d923
mov dword [ebp - 0x2c], 0x6bebac
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x30], eax
mov word [ebp - 0x24], 0
mov esi, edx
xor edx, edx
mov dword [ebp - 0x18], edx
lea ebx, [ebp - 4]
mov ecx, dword fs:[0]
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
mov dword fs:[0], eax
mov word [ebp - 0x24], 8
mov eax, dword [ebx]
xor edx, edx
add eax, 0x18
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x10], edx
lea edx, [eax + 0x18]
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov dword [edx + 8], ecx
xor ecx, ecx
mov dword [edx + 0xc], ecx
xor ecx, ecx
mov dword [edx + 0x10], ecx
xor ecx, ecx
mov dword [edx + 0x14], ecx
xor edx, edx
mov dword [eax + 0x30], edx
xor edx, edx
mov dword [eax + 0x34], edx
lea edx, [eax + 0x38]
xor ecx, ecx
mov dword [edx + 8], ecx
xor edx, edx
inc dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebx]
add eax, 0x64
mov dword [eax + 4], edx
lea edx, [eax + 0x10]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [edx + 8], ecx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], 0x40
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x40]
jbe 0x486b1d
lea ecx, [ebp - 0x3c]
jmp 0x486b20
lea ecx, [ebp - 0x40]
mov edx, dword [ecx]
xor ecx, ecx
mov dword [eax], edx
xor edx, edx
inc dword [ebp - 0x18]
mov eax, dword [ebx]
add eax, 0x8c
mov dword [eax + 4], edx
lea edx, [eax + 0x10]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [edx + 8], ecx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0x100
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x48]
jbe 0x486b5b
lea ecx, [ebp - 0x44]
jmp 0x486b5e
lea ecx, [ebp - 0x48]
mov edx, dword [ecx]
mov dword [eax], edx
inc dword [ebp - 0x18]
call fcn.00486030
mov eax, dword [ebx]
mov dword [eax + 0x84], esi
mov eax, dword [ebx]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0xd], dl
mov ecx, dword [ebx]
mov al, byte [ebp + 8]
mov byte [ecx + 0xe], al
mov edx, dword [ebx]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x38]
call fcn.004564b8
mov esi, eax
lea eax, [esi + 2]
add eax, eax
push eax
call fcn.00508ec8
pop ecx
mov edi, eax
mov eax, dword [ebx]
mov dword [eax + 0x88], edi
mov eax, edi
mov edx, dword [ebp - 0x38]
call fcn.0045649c
mov ecx, dword [ebx]
cmp byte [ecx + 0xd], 0
je 0x486bd4
mov eax, dword [ebx]
mov eax, dword [eax + 0x88]
mov word [eax + esi*2], 0x3b
mov word [eax + esi*2 + 2], 0
jmp 0x486bf4
mov edx, dword [ebx]
mov eax, dword [edx + 0x88]
cmp word [eax], 0x23
jne 0x486bf4
cmp word [eax + 2], 0x21
jne 0x486bf4
mov word [eax], 0x2f
mov word [eax + 2], 0x2f
cmp byte [0x6be37c], 0
je 0x486c34
mov edx, dword [ebx]
mov byte [edx + 0x14], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0xd], 0
je 0x486c34
mov eax, dword [ebx]
mov edx, dword [eax + 0x88]
cmp word [edx], 0x5b
je 0x486c2e
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x88]
cmp word [eax], 0x25
jne 0x486c34
cmp word [eax + 2], 0x5b
jne 0x486c34
mov edx, dword [ebx]
mov byte [edx + 0x14], 1
mov ecx, dword [ebx]
mov edx, dword [ebx]
mov eax, dword [ecx + 0x88]
mov dword [edx], eax
xor eax, eax
mov ecx, dword [ebx]
mov dword [ecx + 0xac], eax
xor ecx, ecx
mov edx, dword [ebx]
mov dword [edx + 4], ecx
xor edx, edx
mov eax, dword [ebx]
mov dword [eax + 0x10], edx
mov ecx, dword [ebx]
mov byte [ecx + 0xc], 1
mov eax, dword [ebx]
xor ecx, ecx
mov byte [eax + 0x60], 0
mov edx, dword [ebx]
mov byte [edx + 0x61], 0
mov word [ebp - 0x24], 0x50
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x18]
mov eax, dword [ebx]
call fcn.00489650
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405500
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8