Function at 0x5ae12c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ae360
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00536004
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [eax + 0x210]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.0053381c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.00453418
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x168]
call fcn.004394b4
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, dword [0x697ec4]
mov eax, dword [eax]
mov eax, dword [eax + 0x320]
call fcn.004606d4
mov dl, 1
mov eax, dword [0x41ca64]
call fcn.00403e50
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5ae31c
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.00405178
mov edx, eax
mov ecx, ebx
mov eax, 0x5ae370
call fcn.005a16a4
lea ecx, [ebp - 0x30]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x30]
call fcn.0040b000
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x34]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.0040b000
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x1c], 0
jne 0x5ae27b
cmp dword [ebp - 0x20], 0
je 0x5ae310
mov dl, 1
mov eax, dword [0x5acd0c]
call fcn.00403e50
mov esi, eax
lea ecx, [ebp - 0x38]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
call fcn.005ad83c
cmp dword [ebp - 0x24], 0
je 0x5ae2d1
push dword [ebp - 0x24]
push 0x5ae398
lea ecx, [ebp - 0x3c]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x3c]
push 0x5ae3a4
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405040
jmp 0x5ae2dd
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [esi + 4]
mov edx, dword [ebp - 0x24]
call fcn.00404d00
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, esi
call fcn.0041ee98
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x5ae203
mov eax, ebx
call fcn.00403e80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00535cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ae367
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00404cd0
lea eax, [ebp - 0x24]
call fcn.00404cac
ret