Function at 0x535400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60633b
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6a4108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
add eax, 8
push eax
lea ecx, [ebp - 0x34]
call fcn.00503f00
lea ecx, [ebp - 0x34]
call fcn.005163b0
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push 4
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx + 4]
inc eax
mov edi, dword [esi]
push eax
lea ecx, [ebp - 0x34]
call fcn.0050e410
push eax
mov ecx, esi
call dword [edi + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx]
push 8
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0xc]
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x44]
call fcn.00503f00
lea ecx, [ebp - 0x44]
call fcn.005163b0
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push 4
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebx + 4]
inc eax
mov edi, dword [esi]
push eax
lea ecx, [ebp - 0x44]
call fcn.0050e410
push eax
mov ecx, esi
call dword [edi + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x18]
call fcn.00537350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push 4
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0xc]
push 0x1c
call fcn.005c686d
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x53553e
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], 0
push ecx
mov ecx, edi
mov dword [edi], vtable.AgBuffer_class_AgAllocator_1__.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
call fcn.00537970
jmp 0x535540
xor edi, edi
mov byte [ebp - 4], 0
xor esi, esi
xor edx, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edx
test edi, edi
je 0x535571
push edi
lea ecx, [edi + 4]
call fcn.004ad620
mov esi, dword [edi + 4]
test eax, eax
jne 0x535569
mov ecx, esi
call fcn.004ad990
mov edx, edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0051e400
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x10]
mov edx, dword [ecx]
push dword [eax + 8]
call dword [edx + 0xc]
mov ecx, dword [ebp + 8]
push 4
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0051e400
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4