Function at 0xa5713c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0xa5715b
add esp, 0xfffffff0
call fcn.0095b328
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
xor eax, eax
push ebp
push 0x50146b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp + 0x14]
call fcn.0095cd4c
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, dword [ebp + 0x10]
call fcn.0095cd4c
mov eax, dword [ebp - 8]
add eax, 0x1c
mov edx, dword [ebp + 0xc]
call fcn.0095cd4c
mov eax, dword [ebp - 8]
add eax, 0x20
mov edx, esi
call fcn.0095cd4c
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 8]
add eax, 0x30
mov edx, dword [ebp + 0x18]
mov ecx, dword [0x500554]
call fcn.0095e808
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00a58a8c
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], eax
lea eax, [ebp - 0x10]
call fcn.0095fc2c
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.0095fd3c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, 0x28
call fcn.0095fc44
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00a58674
xor eax, eax
push ebp
push 0x501433
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00a587c8
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
test ebx, ebx
je 0xa5732a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [0x5006c8]
call fcn.00a58e88
test al, al
je 0xa5732a
mov eax, dword [ebx*4 + 0x51c40c]
push eax
lea edx, [ebp - 4]
mov ecx, dword [0x51c488]
mov eax, dword [0x5006c8]
call fcn.00a58c08
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
call fcn.00968e30
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 4]
mov ecx, dword [0x51c49c]
mov eax, dword [0x5006c8]
call fcn.00a58c08
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
lea edx, [ebp - 4]
mov eax, dword [0x5006c8]
call fcn.00a58c60
lea edx, [ebp - 0x18]
mov eax, dword [0x5006c8]
call fcn.00a59188
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 4]
mov ecx, dword [0x51c498]
mov eax, dword [0x5006c8]
call fcn.00a58c08
lea eax, [ebp - 0x1c]
call fcn.0095cd3c
push eax
mov eax, dword [ebp - 4]
push eax
push esi
mov eax, dword [0x51c440]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.0095fd3c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00a58130
mov eax, dword [ebp - 8]
inc dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00a58904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50143a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00a58ab4
ret