Function at 0x4092b2
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.00409281
xor ecx, ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], bx
call fcn.0040e592
lea eax, [ebp - 0x9c]
call fcn.0040e586
test al, al
jne 0x409341
lea eax, [ebp - 0x60]
call fcn.0040e59b
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401451
lea edi, [ebp - 0x9c]
call fcn.0040e517
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401451
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.0040e1a1
lea ecx, [ebp - 0x114]
push str.sfx.reg
push ecx
mov dword [ebp - 0xac], eax
call fcn.00401fb3
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
push ecx
xor ebx, ebx
call fcn.004016e8
push ebx
push 1
lea esi, [ebp - 0x114]
call fcn.00401451
push dword [ebp - 0xac]
call fcn.0040db67
pop ecx
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040e638
test al, al
je 0x409307
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.0040e770
test al, al
je 0x409307
cmp dword [ebp - 0xa4], 2
jne 0x409307
cmp dword [edi + 0x18], 8
mov ecx, dword [edi + 0x14]
jb 0x4093ed
mov eax, dword [edi + 4]
jmp 0x4093f0
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.0040e770
test al, al
je 0x409307
mov eax, dword [edi + 0x14]
add eax, eax
cmp eax, dword [ebp - 0xa4]
lea eax, [ebp - 0x60]
je 0x409453
call fcn.0040e59b
mov byte [ebp - 0x9d], bl
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401451
lea edi, [ebp - 0x9c]
call fcn.0040e517
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401451
mov al, byte [ebp - 0x9d]
jmp 0x409332
call fcn.0040e59b
mov eax, 0x444364
lea esi, [ebp - 0x20]
call fcn.00401337
mov esi, 0x443ef0
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0040201c
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x409480
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040201c
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0040201c
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 0x40952f
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 0x409501
cmp dword [ebp - 0xac], ebx
je 0x409501
lea eax, [ebp - 0xb4]
push eax
call dword [ebp - 0xac]
push eax
call edi
test eax, eax
jne 0x409501
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0xb4], ebx
je 0x40952f
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 0x409563
cmp dword [ebp - 0xb0], ebx
je 0x409563
lea eax, [ebp - 0xbc]
push eax
call dword [ebp - 0xb8]
test eax, eax
je 0x409563
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 0x4095af
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 0x4095ff
cmp dword [ebp - 0xc0], ebx
je 0x4095ff
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 0x40961b
cmp dword [ebp - 0xb0], ebx
je 0x40961b
push dword [ebp - 0xbc]
call dword [ebp - 0xb0]
cmp dword [ebp - 0xa4], ebx
je 0x40962f
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x9d]
mov byte [ebp - 0x9d], al
jmp 0x409427