Function at 0x404dd3
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x44485b
call fcn.00437c9c
mov esi, ecx
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x30], edi
xor ebx, ebx
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x34], ebx
call fcn.00404d5a
xor eax, eax
mov dword [ebp - 0x18], edi
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00410630
lea ecx, [ebp - 0x98]
call fcn.004105e0
xor edi, edi
inc edi
test al, al
je 0x4050cd
push str.sfx.reg
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xb0]
call fcn.00401f99
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00401f36
push ebx
push edi
lea ecx, [ebp - 0xb0]
call fcn.004017f1
lea ecx, [ebp - 0x94]
call fcn.004138f0
push edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x64]
call fcn.004106f0
test al, al
je 0x4050cd
push ebx
lea eax, [ebp - 0xb4]
mov word [ebp - 0xb8], 0xfeff
push eax
push 2
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x64]
call fcn.00410770
test al, al
je 0x4050cd
cmp dword [ebp - 0xb4], 2
jne 0x4050cd
cmp dword [esi + 0x14], 8
lea edi, [esi + 0x10]
mov eax, dword [edi]
jb 0x404ebc
mov esi, dword [esi]
push ebx
lea ecx, [ebp - 0xb4]
add eax, eax
push ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00410770
test al, al
je 0x4050cd
mov eax, dword [edi]
add eax, eax
cmp eax, dword [ebp - 0xb4]
jne 0x4050cd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00414c90
push 0x44c9b4
lea ecx, [ebp - 0x2c]
call fcn.004016c8
mov edi, 0x44c810
push edi
call fcn.0043674b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004022af
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
cmp word [esi], bx
jne 0x404f2b
mov eax, ebx
jmp 0x404f32
push esi
call fcn.0043674b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004022af
push edi
call fcn.0043674b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004022af
push str.Kernel32.dll
mov dword [ebp - 0xb8], ebx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x404fe2
push 0x44c9bc
mov dword [ebp - 0xb4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
call ebx
push str.IsWow64Process
push esi
mov dword [ebp - 0xc0], eax
call ebx
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x404fbe
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x404fbe
lea ecx, [ebp - 0xb4]
push ecx
call eax
push eax
call dword [ebp - 0xc4]
neg eax
sbb eax, eax
and eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb4], eax
jmp 0x404fc4
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x404fe0
push str.Wow64DisableWow64FsRedirection
push esi
call ebx
push str.Wow64RevertWow64FsRedirection
push esi
mov dword [ebp - 0xb8], eax
call ebx
mov edi, eax
xor ebx, ebx
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x40500b
test edi, edi
je 0x40500b
lea ecx, [ebp - 0xbc]
push ecx
call eax
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
push 0x3c
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.00436b80
xor eax, eax
mov dword [ebp - 0x100], 0x3c
add esp, 0xc
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x100]
push eax
mov dword [ebp - 0xfc], 0x140
mov dword [ebp - 0xf0], str.regedit.exe
mov dword [ebp - 0xe4], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
mov byte [ebp - 0xb5], al
test al, al
je 0x4050aa
cmp dword [ebp - 0xc8], 0
je 0x4050aa
push 0xffffffffffffffff
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4050ba
test edi, edi
je 0x4050ba
push dword [ebp - 0xbc]
call edi
test esi, esi
je 0x4050c5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov bl, byte [ebp - 0xb5]
jmp 0x4050d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00414c90
xor esi, esi
lea ecx, [ebp - 0x2c]
push 0
inc esi
push esi
call fcn.004017f1
lea ecx, [ebp - 0x98]
call fcn.00410510
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.004017f1
mov al, bl
call fcn.00437c4b
ret