Function at 0x4af064
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4af371
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4af388
call fcn.00404b14
push 0
mov ecx, 0x4af398
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 4], eax
push 0
mov ecx, 0x4af3ac
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 0xc], eax
push 0
mov ecx, 0x4af3c0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 8], eax
push 0
mov ecx, 0x4af3d4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x10], eax
push 0
mov ecx, 0x4af3ec
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov esi, dword [ebx + 0x114]
mov dword [esi + 0x18], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4af3fc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi + 0x14]
mov eax, ebx
call fcn.004adba4
push 0
mov ecx, 0x4af40c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov esi, dword [ebx + 0x114]
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4af41c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 0x44]
mov eax, ebx
call fcn.004adba4
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4af430
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x114]
mov edx, dword [eax + 0x48]
mov eax, ebx
call fcn.004adba4
push 0xffffffffffffffff
mov ecx, 0x4af444
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x2c], eax
push 0xffffffffffffffff
mov ecx, 0x4af45c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x4af474
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x34], eax
push 0
mov ecx, 0x4af48c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x4c], eax
push 0
mov ecx, 0x4af4a8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.004894a8
mov esi, dword [ebx + 0x114]
mov dword [esi + 0x50], eax
cmp dword [esi + 0x1c], 1
jle 0x4af233
xor eax, eax
mov dword [esi + 0x1c], eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4af4c4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
cmp dword [ebp - 8], 0
je 0x4af25b
mov eax, dword [ebx + 0x114]
mov byte [eax + 0x54], 1
jmp 0x4af265
mov eax, dword [ebx + 0x114]
mov byte [eax + 0x54], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4af4dc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
cmp dword [ebp - 8], 0
je 0x4af28d
mov eax, dword [ebx + 0x114]
mov byte [eax + 0x55], 1
jmp 0x4af297
mov eax, dword [ebx + 0x114]
mov byte [eax + 0x55], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4af4f8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
cmp dword [ebp - 8], 0
je 0x4af2bf
mov eax, dword [ebx + 0x114]
mov byte [eax + 0x56], 1
jmp 0x4af2c9
mov eax, dword [ebx + 0x114]
mov byte [eax + 0x56], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4af4c4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0xb0]
mov eax, ebx
call fcn.004b0494
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x38], eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4af4dc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0xb0]
mov eax, ebx
call fcn.004b0494
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x3c], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4af4f8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x34]
call fcn.00489378
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0xb0]
mov eax, ebx
call fcn.004b0494
mov edx, dword [ebx + 0x114]
mov dword [edx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af378
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404aa0
ret