Function at 0x404250
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x404258
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x404551
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00403df0
mov dword [ebp - 8], eax
call fcn.00403df0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x404527
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
call fcn.00404180
lea eax, [ebp - 0x18]
mov edx, 0x404568
call fcn.0040310c
mov eax, dword [ebp - 0x18]
call fcn.00403290
push eax
lea eax, [ebp - 0x1c]
call fcn.0040414c
mov eax, dword [ebp - 0x1c]
call fcn.00403290
push eax
call fcn.004037b0
mov edx, 0x40457c
mov eax, 0x80000001
call fcn.00403cfc
mov edi, eax
lea eax, [ebp - 0x20]
call fcn.00404180
lea eax, [ebp - 0x20]
mov edx, 0x404568
call fcn.0040310c
mov ecx, dword [ebp - 0x20]
mov edx, 0x4045b4
mov eax, edi
call fcn.00403d6c
mov eax, edi
call fcn.00403dac
mov eax, dword [ebp - 4]
call fcn.00403290
mov ebx, eax
mov ecx, ebx
mov edx, 0x4045b8
mov eax, 0xa
call fcn.00404074
test al, al
je 0x404328
push 0
push ebx
call fcn.00403818
xor eax, eax
push ebp
push 0x4044ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.00404180
lea eax, [ebp - 0x24]
mov edx, 0x4045c4
call fcn.0040310c
mov edx, dword [ebp - 0x24]
mov eax, dword [0x4050ac]
call fcn.004041b0
test al, al
je 0x404336
lea eax, [ebp - 0x28]
call fcn.00404180
lea eax, [ebp - 0x28]
mov edx, 0x4045c4
call fcn.0040310c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00403e90
mov edx, 0x4045dc
mov eax, 0x80000001
call fcn.00403ccc
mov edi, eax
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.00403e78
mov edx, dword [ebp - 0x2c]
mov eax, edi
call fcn.00403db8
test al, al
jne 0x4044e4
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.00403e78
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00403034
jmp 0x4043f0
mov edx, dword [ebp - 0x14]
mov eax, 0x4045f4
call fcn.004032dc
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403104
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 0x14]
call fcn.0040329c
mov edx, dword [ebp - 0x14]
mov eax, 0x4045f4
call fcn.004032dc
test eax, eax
jg 0x4043c8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.00403c6c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.00403034
lea eax, [ebp - 0x38]
call fcn.00404180
push dword [ebp - 0x38]
push 0x404600
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00403150
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.004041b0
test al, al
je 0x404417
push 0
push 0x404604
push 0x404604
lea eax, [ebp - 0x40]
call fcn.00404180
push dword [ebp - 0x40]
push 0x404600
push dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00403150
mov eax, dword [ebp - 0x3c]
call fcn.00403290
push eax
push 0x404608
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x1f
jbe 0x4044bd
mov edx, 0x4045dc
mov eax, 0x80000001
call fcn.00403d2c
mov esi, eax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.00403e78
mov edx, dword [ebp - 0x44]
xor ecx, ecx
mov eax, esi
call fcn.00403d6c
mov eax, esi
call fcn.00403dac
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.00403e78
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00403fb8
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.004031dc
je 0x4044f5
mov eax, edi
call fcn.00403dac
inc ebx
cmp ebx, 0x65
jne 0x40438f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x404509
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40452e
mov eax, dword [ebp - 8]
call fcn.00403b20
mov eax, dword [ebp - 0xc]
call fcn.00403b20
ret