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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cb053
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x80236c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [edx]
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
cmp byte [eax + 0xd], 0
mov dword [ebp - 0x18], edi
jne 0x4a4f70
mov esi, eax
nop dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
mov dword [ebp - 0x1c], esi
jb 0x4a4ecd
mov ecx, dword [ebx]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x4a4ed9
mov eax, dword [esi + 0x10]
push dword [ebx + 0x10]
push ecx
push dword [esi + 0x20]
push eax
call fcn.0049e4b0
add esp, 0x10
test eax, eax
js 0x4a4f53
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x4a4ef7
mov ecx, dword [ebx]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x4a4f03
mov eax, dword [esi + 0x10]
push dword [ebx + 0x10]
push ecx
push dword [esi + 0x20]
push eax
call fcn.0049e4b0
add esp, 0x10
test eax, eax
jne 0x4a4f43
cmp dword [ebx + 0x2c], 0x10
lea edx, [ebx + 0x18]
jb 0x4a4f23
mov edx, dword [ebx + 0x18]
cmp dword [esi + 0x3c], 0x10
lea ecx, [esi + 0x28]
jb 0x4a4f2f
mov ecx, dword [esi + 0x28]
push dword [ebx + 0x28]
push edx
push dword [esi + 0x38]
push ecx
call fcn.0049e4b0
add esp, 0x10
test eax, eax
js 0x4a4f53
mov edi, esi
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
mov dword [ebp - 0x18], edi
jmp 0x4a4f60
mov esi, dword [esi + 8]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
cmp byte [esi + 0xd], 0
je 0x4a4ec0
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
cmp byte [edi + 0xd], 0
jne 0x4a4fa1
lea ecx, [edi + 0x10]
push ecx
push ebx
mov ecx, edx
call fcn.0049ea80
test al, al
jne 0x4a4fa1
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x1e1e1e1
je 0x4a506c
mov dword [ebp - 0x2c], eax
push 0x88
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.00669aed
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
lea esi, [edi + 0x10]
mov dword [ebp - 4], 1
push ebx
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0048c1e0
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0048c1e0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x30]
call fcn.0048c1e0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
push edi
push dword [ebp - 0x10]
mov dword [esi + 0x58], 0
push dword [ebp - 0x1c]
mov dword [esi + 0x5c], 0xf
mov byte [esi + 0x48], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0xf
mov byte [esi + 0x60], 0
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.0049ec80
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0049ee90
int3