Function at 0x41ae20
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472ab9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov edi, dword [ebx + 8]
lea edx, [esi + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.leveldb::DBImpl.0
mov eax, dword [edi + 8]
mov dword [esi + 4], eax
mov eax, dword [edi]
mov dword [edx], vtable.leveldb::InternalKeyComparator.0
mov dword [edx + 4], eax
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x10]
mov dword [ecx], vtable.leveldb::InternalFilterPolicy.0
mov dword [ecx + 4], eax
push edi
push ecx
lea eax, [esi + 0x18]
mov byte [ebp - 4], 2
mov esi, dword [ebx + 0xc]
mov ecx, eax
push edx
mov edx, esi
call fcn.0041ab20
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ecx + 0x24]
lea ecx, [ecx + 0x48]
cmp eax, dword [edi + 0xc]
push esi
setne al
mov byte [ecx - 4], al
mov eax, dword [ecx - 0x18]
cmp eax, dword [edi + 0x18]
setne al
mov byte [ecx - 3], al
call fcn.00405f50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
lea esi, [eax + 0x68]
push 0x18
mov dword [eax + 0x64], 0
mov dword [esi], 0
call fcn.0044c2e3
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
mov dword [esi], eax
call edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
push 0x18
mov dword [eax + 0x6c], 0
add eax, 0x70
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
call fcn.0044c2e3
mov ecx, dword [ebp - 0x14]
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
mov dword [ecx + 0x74], eax
call edi
mov edi, dword [ebp - 0x14]
push 0
push 0x2710
push 0
mov dword [edi + 0x78], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
call esi
push 0
push 0x2710
push 0
push 0
mov dword [edi + 0x7c], eax
call esi
mov dword [edi + 0x80], eax
push 0x3c
mov byte [ebp - 4], 5
call fcn.0044c2e3
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [edi + 8]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00431cf0
mov byte [ebp - 4], 5
lea esi, [edi + 0xa8]
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0044c2e3
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
push 0x18
mov byte [ebp - 4], 7
call fcn.0044c2e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
push 0
mov byte [ebp - 4], 9
mov ecx, esi
push 0xc
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.004159b0
lea eax, [edi + 0xc0]
mov dword [edi + 0xbc], esi
mov dword [eax], vtable.leveldb::SnapshotImpl.0
mov dword [eax + 0x10], eax
mov dword [eax + 0x14], eax
mov byte [ebp - 4], 0xa
lea esi, [edi + 0xe0]
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044c2e3
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 [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf4], 0
mov byte [ebp - 4], 0xc
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
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 dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
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 dword [edi + 0x19c], 0
mov eax, dword [edi + 0x84]
inc dword [eax + 8]
mov dword [edi + 0x8c], 0
mov edi, dword [edi + 0x2c]
push 0x24
call fcn.0044c2e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
lea eax, [ecx + 0x48]
push eax
lea ecx, [esi + 4]
mov dword [esi], edx
call fcn.00405f50
mov byte [ebp - 4], 0xe
lea ecx, [edi - 0xa]
mov eax, dword [ebp - 0x14]
add eax, 0x18
mov dword [esi + 0x1c], eax
call fcn.0042efa0
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
push 0x190
mov dword [eax + 0x60], esi
call fcn.0044c2e3
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
lea edi, [edx + 0x18]
mov esi, dword [edx + 0x60]
mov dword [eax], ecx
lea eax, [edx + 0x48]
mov ecx, dword [ebp - 0x18]
push eax
lea ecx, [ecx + 4]
call fcn.00405f50
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], edi
mov edi, dword [ebp - 0x14]
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], vtable.leveldb::InternalKeyComparator.0
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x28], eax
mov byte [ebp - 4], 0x11
lea esi, [ecx + 0x60]
push 0x417ff0
push 0x42be10
push 7
mov dword [ecx + 0x30], 2
lea eax, [esi + 0x10]
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ebp - 0x1c], esi
push 0xc
push eax
mov dword [esi], ecx
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov dword [esi + 0xc], 0
call fcn.0044c911
movsd xmm0, qword [0x48ac50]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xffffffff
movsd qword [esi + 0x70], xmm0
mov dword [esi + 0x78], 0xffffffff
push fcn.00401a60
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
push 0x401b40
push 7
push 0x18
mov dword [eax + 0xe0], 0
add eax, 0xe4
push eax
call fcn.0044c911
push 0x80
mov byte [ebp - 4], 0x13
call fcn.0044c2e3
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
push 0x417ff0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x18]
push 0x42be10
push 7
mov dword [esi], eax
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov dword [esi + 0xc], 0
push 0xc
lea eax, [esi + 0x10]
push eax
call fcn.0044c911
mov ecx, dword [ebp - 0x18]
movsd xmm0, qword [0x48ac50]
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xffffffff
movsd qword [esi + 0x70], xmm0
mov dword [esi + 0x78], 0xffffffff
mov eax, dword [ecx + 0xe0]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b46e
add dword [eax + 0xc], 0xffffffff
jne 0x41b46e
mov ecx, eax
call fcn.00426c00
push 0x80
push dword [ebp - 0x14]
call fcn.0044c564
mov ecx, dword [ebp - 0x18]
add esp, 8
mov dword [ecx + 0xe0], esi
lea edx, [ecx + 0x60]
inc dword [esi + 0xc]
mov eax, dword [ecx + 0x68]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [eax + 4], esi
mov eax, dword [esi + 4]
mov dword [eax + 8], esi
mov eax, edi
mov dword [edi + 0xf0], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8