Function at 0x422b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad6f3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e52d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CInstallControl.0
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [edi + 0x48], eax
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [edi + 0x4c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [edi + 0x50], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [edi + 0x54], eax
mov byte [ebp - 4], 3
mov eax, dword [0x4e4f18]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e4f18
call edx
add eax, 0x10
mov dword [edi + 0x58], eax
mov byte [ebp - 4], 4
lea ebx, [edi + 0x6c]
push 8
mov dword [ebx], esi
call fcn.004917be
add esp, 4
cmp eax, esi
je 0x422da7
mov dword [ebx], eax
mov dword [eax + 4], esi
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebx]
mov dword [eax], ebx
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
lea eax, [edi + 0x84]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [edi + 0x9c], vtable.CSHManage.0
mov byte [ebp - 4], 7
mov edx, dword [0x4e4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e4f18
call eax
add eax, 0x10
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], esi
mov dword [edi + 0xa8], esi
mov dword [edi + 0xac], esi
lea ecx, [edi + 0xb8]
push ecx
mov byte [ebp - 4], 9
call fcn.004092e0
mov dword [edi + 0x18c], esi
mov dword [edi + 0x190], esi
mov dword [edi + 0x194], esi
mov byte [ebp - 4], 0xb
mov edx, dword [0x4e4f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e4f18
call eax
add eax, 0x10
mov dword [edi + 0x19c], eax
mov cl, byte [ebp + 0xc]
mov byte [ebp - 4], 0xc
push 0x4bb300
lea eax, [edi + 0x48]
push eax
xor ebx, ebx
mov byte [edi + 0xb4], cl
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
call fcn.00402030
push 0x4bb300
lea eax, [edi + 0x54]
push eax
call fcn.00402030
push 0x4bb300
lea eax, [edi + 0x58]
push eax
call fcn.00402030
push 0x4bb300
lea eax, [edi + 0xa0]
push eax
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
call fcn.00402030
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
push esi
call ebx
push esi
mov dword [edi + 0xc], eax
push esi
push esi
push esi
call ebx
mov dword [edi + 8], eax
push 0x4bb300
lea eax, [edi + 0x4c]
push eax
xor ebx, ebx
mov dword [edi + 0x68], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
call fcn.00402030
push 0x4bb300
lea eax, [edi + 0x50]
push eax
call fcn.00402030
fldz
fst qword [edi + 0x18]
mov dword [edi + 0x3c], esi
fst qword [edi + 0x20]
lea esi, [edi + 0x6c]
fst qword [edi + 0x28]
mov dword [edi + 0x38], 1
fstp qword [edi + 0x30]
call fcn.0043d960
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call fcn.0049165b
push 0x4d0904
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0049630f
int3