Function at 0x412fb0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495194
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b80c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], 1
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
lea edi, [ebx + 0x34]
mov byte [ebx + 0x30], al
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x14], edi
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], al
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
lea eax, [edi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x50]
mov byte [ebp - 4], 8
push 0x30
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0046b436
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x58], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0xf
mov byte [ebx + 0x90], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0xf
mov byte [ebx + 0xa8], 0
lea esi, [ebx + 0xc0]
mov dword [esi], 0x4afb68
mov dword [ebp - 0x1c], esi
mov dword [esi + 0x70], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x68], 0x4ae508
mov byte [ebp - 4], 0xe
mov eax, dword [esi]
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x4ae510
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
lea ebx, [esi + 4]
push ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.004172b0
mov dword [ebp - 4], 0x10
mov eax, dword [esi]
mov dword [ebp - 0x20], ebx
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x4ae5ac
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.004171e0
lea eax, [esi + 4]
lea ebx, [eax + 4]
mov dword [eax], 0x4ae52c
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea esi, [eax + 8]
mov byte [eax + 0x48], 0
lea edi, [eax + 0x14]
mov byte [eax + 0x3e], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x4bac14]
mov dword [eax], 0
mov eax, dword [0x4bac10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x4c], 0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 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