Function at 0x4af260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69e183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
mov ebp, 1
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6ae8f4
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x40]
mov ecx, edi
mov byte [esp + 0x1c], 1
mov dword [esi + 0x3c], 0x6ae8f0
call fcn.00512ce0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x4c], ebx
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 2
call fcn.004221b0
lea ecx, [esi + 0x11c]
mov byte [esp + 0x1c], 3
call fcn.00511260
lea ecx, [esi + 0x5f0]
mov byte [esp + 0x1c], 4
call fcn.00511260
lea ecx, [esi + 0xac4]
mov byte [esp + 0x1c], 5
call fcn.00511260
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add eax, 0x3c
add ecx, 0x23
push 0x12c
mov byte [esp + 0x20], 6
mov dword [esi + 0x28], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x16b
mov dword [esi + 0x10], 0xba
mov dword [esi + 0x20], ebp
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x118], bl
mov byte [esi + 0x119], 0xff
call fcn.005b9e72
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4af3ab
lea edx, [ebp + 8]
push edx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call dword [0x6a84d0]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp + 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x124], ebx
mov byte [ebp + 0x128], bl
mov edi, ebp
jmp 0x4af3ad
xor edi, edi
push 0x4e
push 0x150
push 0x3e
push 0xb0
lea eax, [edi + 8]
push eax
mov dword [edi], 0xc
mov dword [edi + 4], 0x96
call dword [0x6a84d4]
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
mov dword [edi + 0x18], 0xb3
mov dword [edi + 0x1c], 0x41
mov byte [edi + 0x128], 1
je 0x4af43a
mov ecx, dword [0x21ecb80]
cmp ecx, ebx
jne 0x4af3fe
xor eax, eax
jmp 0x4af408
mov eax, dword [0x21ecb84]
sub eax, ecx
sar eax, 2
cmp edx, eax
jge 0x4af418
lea eax, [ecx + edx*4]
mov dword [0x21ecb8c], eax
mov eax, dword [eax]
jmp 0x4af41a
xor eax, eax
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x4af43a
add eax, 0x11a
lea edx, [edi + 0x20]
sub edx, eax
jmp 0x4af430
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4af430
lea ecx, [esi + 0x40]
mov dword [esp + 0x24], edi
mov edi, dword [ecx + 4]
mov eax, dword [edi + 4]
lea edx, [esp + 0x24]
push edx
push eax
push edi
call fcn.00444f50
push 1
lea ecx, [esi + 0x40]
mov ebp, eax
call fcn.004af1c0
mov dword [edi + 4], ebp
mov ecx, dword [ebp + 4]
push 0x12c
mov dword [ecx], ebp
call fcn.005b9e72
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4af4aa
lea edx, [ebp + 8]
push edx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call dword [0x6a84d0]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp + 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x124], ebx
mov byte [ebp + 0x128], bl
mov ebx, ebp
push 0x66
push 0x150
push 0x56
push 0xb0
lea eax, [ebx + 8]
push eax
mov dword [ebx], pe_nt_image_headers32
mov dword [ebx + 4], 0x96
call dword [0x6a84d4]
cmp dword [esp + 0x2c], 0xffffffff
mov dword [ebx + 0x18], 0xb3
mov dword [ebx + 0x1c], 0x59
mov byte [ebx + 0x128], 2
je 0x4af4f2
mov dword [ebx + 0x20], 0x3a6572
mov edi, dword [esi + 0x44]
mov edx, dword [edi + 4]
lea ebp, [esi + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
mov ecx, ebp
mov dword [esp + 0x38], ebx
call fcn.00444f50
push 1
mov ecx, ebp
mov ebx, eax
call fcn.004af1c0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov ecx, 0x21ee674
mov dword [eax], ebx
call fcn.0051e930
mov ecx, esi
call fcn.004ad6f0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc