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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x4724d7
add esp, 0xfffffff0
call fcn.00403c10
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp + 0x20]
call fcn.00404be0
mov eax, dword [ebp + 0x1c]
call fcn.00404be0
mov eax, dword [ebp + 0x18]
call fcn.00404be0
xor eax, eax
push ebp
push 0x472715
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004641b0
mov dword [edi + 0xc], eax
lea eax, [edi + 0x10]
mov edx, dword [ebp + 0x20]
call fcn.00404784
lea eax, [edi + 0x14]
mov edx, dword [ebp + 0x1c]
call fcn.00404784
lea eax, [edi + 0x18]
mov edx, dword [ebp + 0x18]
call fcn.00404784
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x34]
mov edx, 0x10
call fcn.004640f8
lea eax, [edi + 0x30]
mov edx, esi
call fcn.00404784
mov eax, esi
call fcn.004049f0
test eax, eax
jle 0x47258d
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14], 0xb
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x472744
call fcn.004645e0
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.004645e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004047c8
jmp 0x472595
lea eax, [ebp - 8]
call fcn.00404730
mov eax, dword [ebp + 0x20]
call fcn.004049f0
test eax, eax
jne 0x4725ae
lea eax, [ebp + 0x20]
mov edx, 0x472760
call fcn.004047c8
mov eax, dword [ebp + 0x1c]
call fcn.004049f0
test eax, eax
jne 0x4725c7
lea eax, [ebp + 0x1c]
mov edx, 0x472774
call fcn.004047c8
mov eax, dword [ebp + 0x18]
call fcn.004049f0
test eax, eax
jne 0x4725e0
lea eax, [ebp + 0x18]
mov edx, 0x472788
call fcn.004047c8
cmp byte [ebp + 0x10], 0
je 0x472638
lea eax, [ebp - 0xc]
push eax
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x30], 0
mov eax, esi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x38]
mov eax, 1
call fcn.00408e74
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea ecx, [ebp - 0x3c]
mov edx, dword [edi + 0xc]
mov eax, dword [edi]
call dword [eax + 0x10]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x34]
mov ecx, 2
mov eax, 0x47279c
call fcn.004645e0
lea eax, [ebp - 4]
mov edx, 0x4727e4
call fcn.004047c8
lea eax, [ebp - 0x10]
call fcn.00404730
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x17c]
mov eax, dword [edi]
call fcn.0040383c
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 4
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x7c]
mov eax, 0x4727e4
mov ecx, 7
call fcn.004645e0
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, edi
call fcn.0040c798
mov dl, 4
mov eax, edi
call fcn.00471ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47271c
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404754
lea eax, [ebp - 0x1c]
call fcn.00404730
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404754
lea eax, [ebp + 0x18]
mov edx, 3
call fcn.00404754
ret