Function at 0x10053a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x101791e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
call fcn.10001c70
push 0x1401
push dword [ebp + 0x18]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.10017f00
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x34], 1
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
push ebx
push esi
mov ecx, edi
mov dword [ebp - 0x38], edx
call fcn.10057130
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push eax
call fcn.1001a230
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x54]
push eax
mov edx, dword [edx + 0x50]
call edx
test al, al
je 0x10053b28
mov esi, dword [edi]
lea eax, [ebp - 0x28]
push 0
push 0
push eax
mov ecx, edi
call dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x50]
mov ecx, edi
call eax
test al, al
je 0x10053b28
mov cl, 1
jmp 0x10053b2a
xor cl, cl
mov eax, dword [ebp + 0x10]
mov al, byte [eax + 0x14]
test al, al
je 0x10053c1a
test cl, cl
je 0x10053c1a
mov ecx, dword [edi + 4]
call fcn.10036a00
cmp byte [eax + 2], 0
jne 0x10053c1a
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x54]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
test eax, eax
je 0x10053b9b
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.100035b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x10]
shl eax, 4
sub eax, dword [ebp - 0x10]
add eax, ebx
mov eax, dword [edi + eax*4 + 0x14]
mov byte [eax + 0x1c], 0
cmp dword [ebp - 0x3c], 0
jle 0x10053c10
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x10053c10
test ebx, ebx
js 0x10053c10
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp ebx, eax
jge 0x10053c10
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x48]
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x10]
mov eax, dword [ecx]
push edx
push dword [ebp + 0x18]
lea edx, [ebp - 0x30]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push edx
call dword [eax + 0xf0]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x30]
mov dword [eax + 4], 0
call fcn.100035b0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10053b6b
lea ecx, [ebp - 0x1c]
call fcn.100035b0
jmp 0x10053c97
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push dword [ebp + 0x14]
shl ecx, 4
sub ecx, dword [ebp - 0x10]
add ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [edi + ecx*4 + 0x14]
call fcn.100412c0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10053c62
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp - 0x20]
mov byte [edi + 0xc], 1
test esi, esi
je 0x10053c97
cmp dword [esi + 0x14], 0x10
jb 0x10053c7d
push dword [esi]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18