Function at 0x409110
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x14c
mov ax, word [0x44b324]
push ebx
push ebp
push esi
push edi
mov word [esp + 0x58], ax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5a]
mov ebx, dword [esp + 0x164]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x14], 0
mov ebp, 0x445c3c
mov esi, dword [ebp - 4]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x40919a
mov esi, dword [ebp]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push ebx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x40919a
mov edx, dword [esp + 0x14]
add ebp, 0xc
inc edx
cmp ebp, 0x445c78
mov dword [esp + 0x14], edx
jb 0x409148
mov edx, dword [esp + 0x14]
xor ebp, ebp
cmp edx, 5
mov dword [esp + 0x10], ebp
jae 0x4091ea
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebx], 0x5c
jne 0x4091bc
inc ecx
lea eax, [esp + 0x10]
add ecx, ebx
push eax
push 0x2000000
push ebp
push ecx
lea ecx, [edx + edx*2]
mov edx, dword [ecx*4 + 0x445c40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4091ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5c
push ebx
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
add esp, 8
push ebp
push str.RegEdit_RegEdit
call esi
mov ebx, eax
cmp ebx, ebp
jne 0x40928e
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x3c
push eax
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x2c], str.open
mov dword [esp + 0x30], str.regedit.exe
mov dword [esp + 0x3c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push ebp
push str.RegEdit_RegEdit
call esi
mov ebx, eax
cmp ebx, ebp
jne 0x40928e
mov edx, dword [esp + 0x160]
push 0x10
push str.Share_Enum
push str.Share_Enum_was_unable_to_launch_Regedit.
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call edi
push ebp
push 0x44b89c
push ebp
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebp
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], eax
mov ebp, 0x1e
push 0
push 0x25
push pe_nt_image_headers32
push esi
call edi
dec ebp
jne 0x4092ea
mov ebp, dword [esp + 0x10]
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov al, byte [esp + 0x58]
lea edx, [esp + 0x58]
test al, al
mov dword [esp + 0x10], edx
je 0x409358
cmp al, 0x5c
jne 0x409331
push 0
push 0x27
push pe_nt_image_headers32
push esi
call edi
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_WaitForInputIdle]
jmp 0x409349
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_toupper]
add esp, 4
push 0
push eax
push 0x102
push esi
call edi
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov al, byte [eax]
test al, al
jne 0x409316
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret