Function at 0x40b060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491d0a
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.00410f90
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.00422b40
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
push 0x10
push 0x6c0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00490db2
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 + 0x3c]
mov byte [ebp - 4], 4
push 0x20
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046d49f
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.0046d49f
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 + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov word [edi + 0x158], 0
lea eax, [edi + 0x10]
mov dword [edi + 0x160], edi
mov dword [edi + 0x164], eax
lea eax, [edi + 0x58]
mov dword [edi + 0x168], eax
mov dword [edi + 0x16c], ebx
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov byte [edi + 0x19c], 0
mov dword [edi + 0x1a0], edi
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0
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 byte [ebp - 4], 9
lea esi, [edi + 0x20c]
mov dword [edi + 0x1e8], edi
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], 3
push 0x20
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046d49f
add esp, 0x14
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], 0xa
call fcn.0040cdc0
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