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

Disassembly:
push 0xffffffffffffffff
push 0x69c213
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], 0x6ad884
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], 0x6ad880
call fcn.00518260
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.00421bb0
lea ecx, [esi + 0x11c]
mov byte [esp + 0x1c], 3
call fcn.005167e0
lea ecx, [esi + 0x5f0]
mov byte [esp + 0x1c], 4
call fcn.005167e0
lea ecx, [esi + 0xac4]
mov byte [esp + 0x1c], 5
call fcn.005167e0
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.005b8072
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4afc9b
lea edx, [ebp + 8]
push edx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
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 0x4afc9d
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 [sym.imp.user32.dll_SetRect]
mov edx, dword [esp + 0x2c]
cmp edx, 0xffffffff
mov dword [edi + 0x18], 0xb3
mov dword [edi + 0x1c], 0x41
mov byte [edi + 0x128], 1
je 0x4afd2a
mov ecx, dword [0x21ea84c]
cmp ecx, ebx
jne 0x4afcee
xor eax, eax
jmp 0x4afcf8
mov eax, dword [0x21ea850]
sub eax, ecx
sar eax, 2
cmp edx, eax
jge 0x4afd08
lea eax, [ecx + edx*4]
mov dword [0x21ea858], eax
mov eax, dword [eax]
jmp 0x4afd0a
xor eax, eax
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x4afd2a
add eax, 0x11a
lea edx, [edi + 0x20]
sub edx, eax
jmp 0x4afd20
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4afd20
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.0055c560
push 1
lea ecx, [esi + 0x40]
mov ebp, eax
call fcn.004afab0
mov dword [edi + 4], ebp
mov ecx, dword [ebp + 4]
push 0x12c
mov dword [ecx], ebp
call fcn.005b8072
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4afd9a
lea edx, [ebp + 8]
push edx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
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 [sym.imp.user32.dll_SetRect]
cmp dword [esp + 0x2c], 0xffffffff
mov dword [ebx + 0x18], 0xb3
mov dword [ebx + 0x1c], 0x59
mov byte [ebx + 0x128], 2
je 0x4afde2
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.0055c560
push 1
mov ecx, ebp
mov ebx, eax
call fcn.004afab0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov ecx, 0x21ec34c
mov dword [eax], ebx
call fcn.00523c40
mov ecx, esi
call fcn.004adf80
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