Function at 0x10013820
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a8d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, ecx
push ebx
mov dword [ebp - 0x10], eax
push esi
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0xc], 1
lea edi, [eax + 0x10]
mov dword [ebp - 4], 0
lea ebx, [eax + 0x58]
mov dword [edi], eax
lea ecx, [edi + 0xc]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
call fcn.100157e0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x2c]
push eax
call esi
mov byte [edi + 0x44], 0
mov byte [ebp - 4], 1
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.10018260
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 0x50], 1
lea edi, [ecx + 0xb4]
mov dword [ecx + 0xb0], ecx
lea eax, [ecx + 0x58]
mov dword [ebp - 0x14], edi
lea ebx, [ecx + 0xb0]
mov dword [edi], eax
mov eax, dword [eax + 0x4c]
mov dword [edi + 4], eax
lea eax, [edi + 8]
push eax
call esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x34]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 4
mov byte [edi + 0x30], 0
mov dword [ebp - 0x18], esi
push 0x10
push 0x6c0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10048693
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [edi + 0x3c]
mov dword [ebp - 0x18], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10047c76
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x44]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], esi
mov dword [esi], 0
push 0x20
mov dword [esi + 4], 0
call fcn.10047c76
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x100], edi
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0x10097b28
mov word [edi + 0x16c], 0
lea esi, [edi + 0x170]
lea eax, [edi + 0x10]
mov dword [esi], edi
mov dword [esi + 4], eax
lea eax, [edi + 0x58]
mov dword [ebp - 0x18], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
push 0x100156c0
push 0x10016670
push 2
push 8
lea eax, [esi + 0x2c]
mov byte [ebp - 4], 0xa
push eax
call fcn.1004861f
push 0x100156c0
push 0x10016670
push 2
push 8
lea eax, [esi + 0x3c]
mov byte [ebp - 4], 0xb
push eax
call fcn.1004861f
mov byte [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [edi + 0x1c8], edi
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov dword [edi + 0x20c], 0
mov byte [ebp - 4], 0xd
mov dword [edi + 0x210], edi
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
lea esi, [edi + 0x234]
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 3
mov dword [ebp - 0x18], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10047c76
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xe
call fcn.100170f0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret