Function at 0x4a4d74
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4ffa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4a0b9c]
call fcn.004a4cb0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0xc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x10
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x6c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
call fcn.00407904
mov eax, dword [ebp - 8]
add eax, 0x24
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
call fcn.00407904
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x38]
mov byte [eax + 0x38], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x39]
mov byte [eax + 0x39], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x3a]
mov byte [eax + 0x3a], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x3b]
mov byte [eax + 0x3b], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x3c]
mov byte [eax + 0x3c], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x3d]
mov byte [eax + 0x3d], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x3e]
mov byte [eax + 0x3e], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x3f]
mov byte [eax + 0x3f], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x40]
mov byte [eax + 0x40], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
mov dword [eax + 0x50], edx
mov eax, dword [ebp - 8]
add eax, 0x54
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00407904
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00441acc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
call fcn.004426d4
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00441acc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
call fcn.004426d4
mov eax, dword [ebp - 8]
add eax, 0x60
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x60]
call fcn.00407904
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x64]
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4a4fdf
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0043f558
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.004a4d74
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
call fcn.0043f374
mov dword [ebp - 0x2c], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4a4f92
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5001
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00407584
ret