Function at 0x4092ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x44f4e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop esi
xor ebx, ebx
lea eax, [ebp - 0x9c]
mov edi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], bx
call fcn.004092bb
xor ecx, ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], bx
call fcn.0040e5d1
lea eax, [ebp - 0x9c]
call fcn.0040e5c5
test al, al
jne 0x40937b
lea eax, [ebp - 0x60]
call fcn.0040e5da
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401469
lea edi, [ebp - 0x9c]
call fcn.0040e556
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004327cb
leave
ret
lea eax, [ebp - 0x9c]
call fcn.0040fc78
lea ecx, [ebp - 0x114]
push str.sfx.reg
push ecx
mov dword [ebp - 0xac], eax
call fcn.00401fcb
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
push ecx
xor ebx, ebx
call fcn.00401700
push ebx
push 1
lea esi, [ebp - 0x114]
call fcn.00401469
push dword [ebp - 0xac]
call fcn.0040dbae
pop ecx
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040e677
test al, al
je 0x409341
push ebx
push 2
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x60]
push eax
lea esi, [ebp - 0xa4]
mov byte [ebp - 0xa8], 0xff
mov byte [ebp - 0xa7], 0xfe
call fcn.0040e7af
test al, al
je 0x409341
cmp dword [ebp - 0xa4], 2
jne 0x409341
cmp dword [edi + 0x18], 8
mov ecx, dword [edi + 0x14]
jb 0x409427
mov eax, dword [edi + 4]
jmp 0x40942a
lea eax, [edi + 4]
push ebx
add ecx, ecx
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
lea esi, [ebp - 0xa4]
call fcn.0040e7af
test al, al
je 0x409341
mov eax, dword [edi + 0x14]
add eax, eax
cmp eax, dword [ebp - 0xa4]
lea eax, [ebp - 0x60]
je 0x40948d
call fcn.0040e5da
mov byte [ebp - 0x9d], bl
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401469
lea edi, [ebp - 0x9c]
call fcn.0040e556
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
mov al, byte [ebp - 0x9d]
jmp 0x40936c
call fcn.0040e5da
mov eax, 0x444364
lea esi, [ebp - 0x20]
call fcn.0040134f
mov esi, 0x443ef0
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.00402034
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4094ba
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402034
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.00402034
push str.Kernel32.dll
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0xa4], edi
je 0x409569
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x444388
push edi
mov dword [ebp - 0xb4], ebx
call esi
push str.IsWow64Process
push edi
mov dword [ebp - 0xac], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x40953b
cmp dword [ebp - 0xac], ebx
je 0x40953b
lea eax, [ebp - 0xb4]
push eax
call dword [ebp - 0xac]
push eax
call edi
test eax, eax
jne 0x40953b
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0xb4], ebx
je 0x409569
push str.Wow64DisableWow64FsRedirection
push dword [ebp - 0xa4]
call esi
push str.Wow64RevertWow64FsRedirection
push dword [ebp - 0xa4]
mov dword [ebp - 0xb8], eax
call esi
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb8], ebx
mov byte [ebp - 0x9e], bl
mov dword [ebp - 0xbc], ebx
je 0x40959d
cmp dword [ebp - 0xb0], ebx
je 0x40959d
lea eax, [ebp - 0xbc]
push eax
call dword [ebp - 0xb8]
test eax, eax
je 0x40959d
mov byte [ebp - 0x9e], 1
push 0x3c
pop esi
push esi
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.00432b70
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0xf4], 0x140
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], str.regedit.exe
mov dword [ebp - 0xe0], ebx
jae 0x4095e9
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xf8]
push eax
mov dword [ebp - 0xdc], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne byte [ebp - 0x9d]
cmp byte [ebp - 0x9d], bl
je 0x409639
cmp dword [ebp - 0xc0], ebx
je 0x409639
push 0xffffffffffffffff
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x9e], bl
je 0x409655
cmp dword [ebp - 0xb0], ebx
je 0x409655
push dword [ebp - 0xbc]
call dword [ebp - 0xb0]
cmp dword [ebp - 0xa4], ebx
je 0x409669
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x9d]
mov byte [ebp - 0x9d], al
jmp 0x409461