Function at 0x4aa4a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4aa4c7
add esp, 0xfffffff0
call fcn.00403b0c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp - 8]
call fcn.00404a38
mov eax, dword [ebp + 8]
call fcn.00404a38
xor eax, eax
push ebp
push 0x4aa7f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4aa510
lea edx, [ebp - 0x18]
mov eax, dword [0x4bde10]
call fcn.004a51b0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x4aa82c
call fcn.0040489c
cmp dword [ebp + 8], 0
jne 0x4aa542
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4bc26c]
mov eax, dword [eax]
call fcn.004626d0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4aa848
call fcn.00409ba0
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
call fcn.004045ec
mov dl, 1
mov eax, dword [0x4140c0]
call fcn.00403778
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 4]
lea edx, [esi + 0xc]
mov eax, dword [0x4bde10]
call fcn.004a5960
mov ecx, dword [0x4bc26c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x458928]
call fcn.0045b468
mov ebx, eax
mov dword [esi + 0x10], ebx
mov eax, ebx
mov dl, 1
call fcn.0045cb54
mov eax, dword [esi + 0x10]
mov dl, byte [0x4aa868]
call fcn.0045cb28
mov eax, dword [esi + 0x10]
mov dl, 4
call fcn.0045d1b4
mov eax, dword [esi + 0x10]
mov edx, dword [ebp + 8]
call fcn.00442b5c
mov eax, dword [esi + 0x10]
mov edx, 0x1ac
call fcn.0045c240
mov bl, 1
mov dword [ebp - 0x10], 0x4bb418
mov dword [ebp - 0x14], 0x4bb3fc
mov ecx, dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x42c2f0]
call fcn.00431ca4
mov edi, ebx
and edi, 0xff
mov dword [esi + edi*4 + 0x10], eax
xor eax, eax
mov al, bl
mov eax, dword [esi + eax*4 + 0x10]
mov edx, dword [esi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + edi*4 + 0x10]
mov edx, 8
call fcn.0044229c
mov eax, dword [esi + edi*4 + 0x10]
xor edx, edx
mov dl, bl
shl edx, 3
lea edx, [edx + edx*2]
add edx, 0xfffffff0
call fcn.004422c0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
lea eax, [ebp - 0x28]
mov ecx, 0x4aa874
call fcn.0040489c
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + edi*4 + 0x10]
call fcn.00442b5c
mov ecx, dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x464c74]
call fcn.00465550
mov dword [esi + edi*4 + 0x30], eax
xor eax, eax
mov al, bl
mov eax, dword [esi + eax*4 + 0x30]
mov edx, dword [esi + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + edi*4 + 0x30]
mov edx, 0x20
call fcn.0044229c
mov eax, dword [esi + edi*4 + 0x30]
xor edx, edx
mov dl, bl
shl edx, 3
lea edx, [edx + edx*2]
add edx, 0xfffffff0
call fcn.004422c0
mov eax, dword [esi + 0x10]
call fcn.00442530
mov edx, eax
sub edx, 0x28
mov eax, dword [esi + edi*4 + 0x30]
call fcn.004422e8
mov eax, dword [esi + edi*4 + 0x30]
mov edx, 0x4aa880
call fcn.00465bb0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, esi
call fcn.004aa37c
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + edi*4 + 0x30]
call fcn.004658bc
mov eax, dword [esi + edi*4 + 0x30]
mov dword [eax + 0x21c], esi
mov dword [eax + 0x218], 0x4a9f64
inc ebx
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
cmp bl, 8
jne 0x4aa5ce
mov ecx, dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x42f168]
call fcn.004353f4
mov ebx, eax
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + 0x10]
call fcn.00442530
mov edx, eax
mov eax, dword [esi + 0x50]
sub edx, dword [eax + 0x48]
sub edx, 8
mov eax, dword [esi + 0x50]
call fcn.0044229c
mov eax, dword [esi + 0x50]
mov edx, 0xb4
call fcn.004422c0
mov eax, dword [esi + 0x50]
mov edx, 0x4aa8f4
call fcn.00442b5c
mov eax, dword [esi + 0x50]
mov dl, 1
call fcn.004354d4
mov eax, dword [esi + 0x50]
mov dword [eax + 0x124], esi
mov dword [eax + 0x120], 0x4a9de8
mov ecx, dword [esi + 0x10]
mov dl, 1
mov eax, dword [0x42c2f0]
call fcn.00431ca4
mov ebx, eax
mov dword [esi + 0x30], ebx
mov edx, dword [esi + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + 0x30]
mov edx, 8
call fcn.0044229c
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 0x44]
add edx, 0xc
mov eax, dword [esi + 0x30]
call fcn.004422c0
mov eax, dword [esi + 0x30]
xor edx, edx
call fcn.00442b5c
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x68]
mov edx, 0xff
call fcn.00421c7c
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 0x44]
add edx, dword [eax + 0x4c]
add edx, 8
mov eax, dword [esi + 0x10]
call fcn.0045c270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa7ff
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004045bc
lea eax, [ebp - 0x18]
call fcn.00404598
lea eax, [ebp - 8]
call fcn.00404598
lea eax, [ebp + 8]
call fcn.00404598
ret