Function at 0x4092ed
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.004092bc
xor ecx, ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], bx
call fcn.0040e635
lea eax, [ebp - 0x9c]
call fcn.0040e629
test al, al
jne 0x40937c
lea eax, [ebp - 0x60]
call fcn.0040e63e
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401452
lea edi, [ebp - 0x9c]
call fcn.0040e5ba
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401452
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004327eb
leave
ret
lea eax, [ebp - 0x9c]
call fcn.0040e1ed
lea ecx, [ebp - 0x114]
push str.sfx.reg
push ecx
mov dword [ebp - 0xac], eax
call fcn.00401fb4
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
push ecx
xor ebx, ebx
call fcn.004016e9
push ebx
push 1
lea esi, [ebp - 0x114]
call fcn.00401452
push dword [ebp - 0xac]
call fcn.0040dbb3
pop ecx
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040e6db
test al, al
je 0x409342
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.0040e813
test al, al
je 0x409342
cmp dword [ebp - 0xa4], 2
jne 0x409342
cmp dword [edi + 0x18], 8
mov ecx, dword [edi + 0x14]
jb 0x409428
mov eax, dword [edi + 4]
jmp 0x40942b
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.0040e813
test al, al
je 0x409342
mov eax, dword [edi + 0x14]
add eax, eax
cmp eax, dword [ebp - 0xa4]
lea eax, [ebp - 0x60]
je 0x40948e
call fcn.0040e63e
mov byte [ebp - 0x9d], bl
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401452
lea edi, [ebp - 0x9c]
call fcn.0040e5ba
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401452
mov al, byte [ebp - 0x9d]
jmp 0x40936d
call fcn.0040e63e
mov eax, 0x444364
lea esi, [ebp - 0x20]
call fcn.00401338
mov esi, 0x443ef0
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0040201d
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4094bb
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040201d
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0040201d
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 0x40956a
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 0x40953c
cmp dword [ebp - 0xac], ebx
je 0x40953c
lea eax, [ebp - 0xb4]
push eax
call dword [ebp - 0xac]
push eax
call edi
test eax, eax
jne 0x40953c
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0xb4], ebx
je 0x40956a
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 0x40959e
cmp dword [ebp - 0xb0], ebx
je 0x40959e
lea eax, [ebp - 0xbc]
push eax
call dword [ebp - 0xb8]
test eax, eax
je 0x40959e
mov byte [ebp - 0x9e], 1
push 0x3c
pop esi
push esi
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.00432b90
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 0x4095ea
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 0x40963a
cmp dword [ebp - 0xc0], ebx
je 0x40963a
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 0x409656
cmp dword [ebp - 0xb0], ebx
je 0x409656
push dword [ebp - 0xbc]
call dword [ebp - 0xb0]
cmp dword [ebp - 0xa4], ebx
je 0x40966a
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x9d]
mov byte [ebp - 0x9d], al
jmp 0x409462