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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d3e3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60d670]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call 0x50673e
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad1a3
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [ebp - 4], edi
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad1cf
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad1fc
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad229
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 3
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad256
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 4
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad283
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 5
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad2b0
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 6
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad2dd
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 7
call 0x50673e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4ad30a
push 0x80004005
call fcn.00497adc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
push edi
push 0x5af784
lea ecx, [esi + 8]
mov byte [ebp - 4], 8
mov dword [esi], edi
call fcn.004983cc
push edi
push 0x5af784
lea ecx, [esi + 0xc]
call fcn.004983cc
push edi
push 0x5af784
lea ecx, [esi + 0x1c]
call fcn.004983cc
push edi
push 0x5af784
lea ecx, [esi + 0x10]
call fcn.004983cc
push edi
push 0x5af784
lea ecx, [esi + 0x14]
call fcn.004983cc
push edi
push 0x5af784
lea ecx, [esi + 0x18]
call fcn.004983cc
push edi
push 0x5af784
lea ecx, [esi + 0x20]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
call fcn.004983cc
push edi
call 0x608229
push edx
push eax
lea eax, [esi + 4]
push 0x5a8a5c
push eax
call fcn.0049877c
add esp, 0x14
push edi
push 0x5af784
lea ecx, [esi + 0x24]
call fcn.004983cc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret