Function at 0x47125c
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, 0x56498f
mov dword [ebp - 0x2c], 0x6be274
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], 0x40
mov dword [ebp - 0x40], 1
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x3c]
jbe 0x47131d
lea ecx, [ebp - 0x40]
jmp 0x471320
lea ecx, [ebp - 0x3c]
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], 0x100
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
jbe 0x47135b
lea ecx, [ebp - 0x48]
jmp 0x47135e
lea ecx, [ebp - 0x44]
mov edx, dword [ecx]
mov dword [eax], edx
inc dword [ebp - 0x18]
call fcn.00470830
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.0043a9bc
mov esi, eax
lea eax, [esi + 2]
add eax, eax
push eax
call fcn.00560068
pop ecx
mov edi, eax
mov eax, dword [ebx]
mov dword [eax + 0x88], edi
mov eax, edi
mov edx, dword [ebp - 0x38]
call fcn.0043a9a0
mov ecx, dword [ebx]
cmp byte [ecx + 0xd], 0
je 0x4713d4
mov eax, dword [ebx]
mov eax, dword [eax + 0x88]
mov word [eax + esi*2], 0x3b
mov word [eax + esi*2 + 2], 0
jmp 0x4713f4
mov edx, dword [ebx]
mov eax, dword [edx + 0x88]
cmp word [eax], 0x23
jne 0x4713f4
cmp word [eax + 2], 0x21
jne 0x4713f4
mov word [eax], 0x2f
mov word [eax + 2], 0x2f
cmp byte [0x6bda44], 0
je 0x471434
mov edx, dword [ebx]
mov byte [edx + 0x14], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0xd], 0
je 0x471434
mov eax, dword [ebx]
mov edx, dword [eax + 0x88]
cmp word [edx], 0x5b
je 0x47142e
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x88]
cmp word [eax], 0x25
jne 0x471434
cmp word [eax + 2], 0x5b
jne 0x471434
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.00473e50
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