Function at 0x404dbf
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x44240b
call fcn.0043581c
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.00404d46
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.0040fb00
lea ecx, [ebp - 0x98]
call fcn.0040fab0
xor edi, edi
inc edi
test al, al
je 0x4050b9
push str.sfx.reg
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0xb0]
call fcn.00401ed5
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00401e84
push ebx
push edi
lea ecx, [ebp - 0xb0]
call fcn.00401751
lea ecx, [ebp - 0x94]
call fcn.00412400
push edi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x64]
call fcn.0040fbc0
test al, al
je 0x4050b9
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.0040fc40
test al, al
je 0x4050b9
cmp dword [ebp - 0xb4], 2
jne 0x4050b9
cmp dword [esi + 0x14], 8
lea edi, [esi + 0x10]
mov eax, dword [edi]
jb 0x404ea8
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.0040fc40
test al, al
je 0x4050b9
mov eax, dword [edi]
add eax, eax
cmp eax, dword [ebp - 0xb4]
jne 0x4050b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00412c10
push 0x4499c4
lea ecx, [ebp - 0x2c]
call fcn.00401628
mov edi, 0x449818
push edi
call fcn.0043415b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004021eb
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
cmp word [esi], bx
jne 0x404f17
mov eax, ebx
jmp 0x404f1e
push esi
call fcn.0043415b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004021eb
push edi
call fcn.0043415b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004021eb
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 0x404fce
push 0x4499cc
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 0x404faa
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x404faa
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 0x404fb0
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x404fcc
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 0x404ff7
test edi, edi
je 0x404ff7
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.00434620
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 0x405096
cmp dword [ebp - 0xc8], 0
je 0x405096
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 0x4050a6
test edi, edi
je 0x4050a6
push dword [ebp - 0xbc]
call edi
test esi, esi
je 0x4050b1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov bl, byte [ebp - 0xb5]
jmp 0x4050c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00412c10
xor esi, esi
lea ecx, [ebp - 0x2c]
push 0
inc esi
push esi
call fcn.00401751
lea ecx, [ebp - 0x98]
call fcn.0040f9e0
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.00401751
mov al, bl
call fcn.004357cb
ret