Function at 0x40929f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x44f4f8]
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.0040926e
xor ecx, ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], bx
call fcn.0040e614
lea eax, [ebp - 0x9c]
call fcn.0040e608
test al, al
jne 0x40932e
lea eax, [ebp - 0x60]
call fcn.0040e61d
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401452
lea edi, [ebp - 0x9c]
call fcn.0040e599
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.004328eb
leave
ret
lea eax, [ebp - 0x9c]
call fcn.0040e4ff
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.0040db82
pop ecx
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040e6ba
test al, al
je 0x4092f4
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.0040e7f2
test al, al
je 0x4092f4
cmp dword [ebp - 0xa4], 2
jne 0x4092f4
cmp dword [edi + 0x18], 8
mov ecx, dword [edi + 0x14]
jb 0x4093da
mov eax, dword [edi + 4]
jmp 0x4093dd
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.0040e7f2
test al, al
je 0x4092f4
mov eax, dword [edi + 0x14]
add eax, eax
cmp eax, dword [ebp - 0xa4]
lea eax, [ebp - 0x60]
je 0x409440
call fcn.0040e61d
mov byte [ebp - 0x9d], bl
push ebx
push 1
lea esi, [ebp - 0x20]
call fcn.00401452
lea edi, [ebp - 0x9c]
call fcn.0040e599
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401452
mov al, byte [ebp - 0x9d]
jmp 0x40931f
call fcn.0040e61d
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 0x40946d
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 0x40951c
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 0x4094ee
cmp dword [ebp - 0xac], ebx
je 0x4094ee
lea eax, [ebp - 0xb4]
push eax
call dword [ebp - 0xac]
push eax
call edi
test eax, eax
jne 0x4094ee
mov dword [ebp - 0xb4], ebx
cmp dword [ebp - 0xb4], ebx
je 0x40951c
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 0x409550
cmp dword [ebp - 0xb0], ebx
je 0x409550
lea eax, [ebp - 0xbc]
push eax
call dword [ebp - 0xb8]
test eax, eax
je 0x409550
mov byte [ebp - 0x9e], 1
push 0x3c
pop esi
push esi
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.00432b10
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 0x40959c
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 0x4095ec
cmp dword [ebp - 0xc0], ebx
je 0x4095ec
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 0x409608
cmp dword [ebp - 0xb0], ebx
je 0x409608
push dword [ebp - 0xbc]
call dword [ebp - 0xb0]
cmp dword [ebp - 0xa4], ebx
je 0x40961c
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x9d]
mov byte [ebp - 0x9d], al
jmp 0x409414