Function at 0x4651ea
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f6790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00442ee0
mov al, byte [esp + 0x13]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov byte [esi + 8], al
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov cl, byte [esp + 0x13]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dl, byte [esp + 0x13]
mov dword [esi + 0x34], ebx
mov byte [esi + 0x30], dl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
lea ebp, [esi + 0x44]
mov byte [esp + 0x28], 3
mov edi, ebp
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x14]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString_4
mov al, byte [esp + 0x13]
add edi, 0x48
mov dword [esp + 0x1c], edi
mov byte [edi], al
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov cl, byte [esp + 0x13]
mov dword [edi + 0x14], ebx
mov byte [edi + 0x10], cl
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
lea edx, [esp + 0x13]
lea ecx, [edi + 0x20]
push edx
mov byte [esp + 0x2c], 7
call fcn.004a75f0
lea ecx, [edi + 0x38]
mov byte [esp + 0x28], 8
call fcn.004654e0
mov eax, 0xa
mov dword [esi + 0x1b0], 0x507014
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1cc], 0x507000
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], eax
mov al, byte [esp + 0x13]
mov byte [esi + 0x1e8], al
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x1f4], ebx
lea ecx, [esi + 0x224]
mov byte [esp + 0x28], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x234]
mov byte [esp + 0x28], 0xd
call sub.MFC42.DLL_CString::CString_4
mov dword [esi], 0x506ff8
mov dword [esi + 0x28], ebx
push ebx
mov dword [esi + 0x2c], ebx
mov ecx, 0x2e
xor eax, eax
lea edi, [esi + 0xd4]
push 1
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x200], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x230], ebx
mov dword [ebp], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
push ebx
rep stosd dword es:[edi], eax
push ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x238], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x204], eax
mov dword [esi + 0x20c], ebx
mov dword [esi + 0x1fc], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret