Function at 0x4e1708
Capabilities:
Create process on windows
Delete file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4e1711
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4e1d21
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x4e1d3c
mov edx, dword [0x4f4158]
call fcn.00405534
mov eax, dword [ebp - 4]
call fcn.0040a730
test al, al
je 0x4e1760
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
movzx ecx, byte [ebp + 8]
mov edx, 0x4e1d50
mov eax, dword [ebp - 0x14]
call fcn.004e2388
test al, al
je 0x4e17c9
movzx ecx, byte [ebp + 8]
mov edx, 0x4e1d64
mov eax, dword [ebp - 0x14]
call fcn.004e2388
test al, al
je 0x4e17c9
movzx ecx, byte [ebp + 8]
mov edx, 0x4e1d80
mov eax, dword [ebp - 0x14]
call fcn.004e2388
test al, al
je 0x4e17c9
movzx ecx, byte [ebp + 8]
mov edx, 0x4e1d98
mov eax, dword [ebp - 0x14]
call fcn.004e2388
test al, al
je 0x4e17c9
movzx ecx, byte [ebp + 8]
mov edx, 0x4e1db4
mov eax, dword [ebp - 0x14]
call fcn.004e2388
test al, al
jne 0x4e1806
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x398]
xor edx, edx
call fcn.00442c24
cmp byte [ebp + 8], 0
jne 0x4e17fc
push 0x40040
push 0x4e1dc4
push 0x4e1dd0
mov eax, dword [ebp - 0x14]
call fcn.0045ee30
push eax
call sub.user32.dll_MessageBoxA_1
call fcn.00405074
jmp 0x4e1cf9
mov ecx, dword [ebp - 4]
mov edx, 0x4e1dfc
mov eax, 0x4e1e08
call fcn.004df828
lea eax, [ebp - 8]
call fcn.004dfb30
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4e182c
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x2c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00405714
mov eax, dword [ebp - 0x2c]
mov edx, 0x4e1e18
call fcn.00405644
je 0x4e185b
lea eax, [ebp - 8]
mov edx, 0x4e1e18
call fcn.004054e8
lea eax, [ebp - 8]
mov edx, 0x4e1e24
call fcn.004054e8
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e09d0
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp byte [ebp + 0xc], 0
je 0x4e1936
lea eax, [ebp - 0x30]
call fcn.004dfb68
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov ecx, 0x4e1e3c
call fcn.00405534
mov eax, dword [ebp - 0xc]
call fcn.0040a754
test al, al
jne 0x4e18b9
mov eax, dword [ebp - 0xc]
call fcn.0040a778
lea eax, [ebp - 4]
mov ecx, 0x4e1e58
mov edx, dword [ebp - 8]
call fcn.00405534
push 0x4e1e24
lea eax, [ebp - 0x34]
mov ecx, 0x4e1e74
mov edx, dword [ebp - 0xc]
call fcn.00405534
mov ecx, dword [ebp - 0x34]
mov edx, 0x4e1e8c
mov eax, dword [ebp - 4]
call fcn.004df91c
lea eax, [ebp - 4]
mov ecx, 0x4e1e9c
mov edx, dword [ebp - 8]
call fcn.00405534
cmp byte [ebp + 8], 0
jne 0x4e1928
push 0x4e1e24
lea eax, [ebp - 0x38]
mov ecx, 0x4e1eb4
mov edx, dword [ebp - 0xc]
call fcn.00405534
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004df91c
jmp 0x4e1936
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp byte [ebp + 8], 0
jne 0x4e1a43
mov dl, 1
mov eax, dword [0x429bbc]
call fcn.00429cbc
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4e1a2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x1c]
call fcn.00429d5c
mov cl, 1
mov edx, 0x4e1ed4
mov eax, dword [ebp - 0x1c]
call fcn.00429dc0
lea eax, [ebp - 0x3c]
mov ecx, 0x4e1e9c
mov edx, dword [ebp - 8]
call fcn.00405534
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
mov edx, 0x4e1f20
call fcn.004e1680
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x4e1f34
call fcn.004e1680
call fcn.0040cad4
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 0x4e1f4c
call fcn.0040d6d4
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e1f64
call fcn.004e1680
lea eax, [ebp - 0x1c]
mov ecx, 0x4e1e24
mov edx, 0x4e1f78
call fcn.004e1680
lea eax, [ebp - 0x1c]
mov ecx, 0x4e1f8c
mov edx, 0x4e1fa4
call fcn.004e1680
lea eax, [ebp - 0x40]
mov ecx, 0x4e1e9c
mov edx, dword [ebp - 8]
call fcn.00405534
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
mov edx, 0x4e1fb8
call fcn.004e1680
mov eax, dword [ebp - 0x1c]
call fcn.00429d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1a35
cmp dword [ebp - 0x1c], 0
je 0x4e1a43
lea eax, [ebp - 0x1c]
call fcn.00410730
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x388]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x4e1acd
xor eax, eax
push ebp
push 0x4e1ac3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x429bbc]
call fcn.00429cbc
mov dword [ebp - 0x1c], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x1c]
call fcn.00429d5c
mov cl, 1
mov edx, 0x4e1fd0
mov eax, dword [ebp - 0x1c]
call fcn.00429dc0
lea eax, [ebp - 0x44]
mov ecx, 0x4e2018
mov edx, dword [ebp - 8]
call fcn.00405534
mov ecx, dword [ebp - 0x44]
mov edx, 0x4e202c
mov eax, dword [ebp - 0x1c]
call fcn.0042a12c
mov eax, dword [ebp - 0x1c]
call fcn.00429d2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1acd
cmp dword [ebp - 0x1c], 0
je 0x4e1adb
lea eax, [ebp - 0x1c]
call fcn.00410730
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004e20b4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3bc]
call fcn.00406574
test eax, eax
jle 0x4e1c12
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b0]
mov edx, 0x4e203c
call fcn.00456db0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x8c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b4]
mov eax, dword [eax + 0x278]
call fcn.004d8d80
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b8]
call fcn.00484468
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b8]
mov dl, 1
call fcn.00456ca0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b4]
mov eax, dword [eax + 0x278]
call fcn.004d8d80
mov esi, eax
dec esi
test esi, esi
jl 0x4e1bc8
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b4]
mov eax, dword [eax + 0x278]
mov edx, ebx
call fcn.004d8db8
call fcn.004d86c4
test al, al
je 0x4e1bb4
mov edx, dword [ebp - 8]
push edx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x3bc]
mov ecx, dword [edx + eax*4 + 8]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x3bc]
mov edx, dword [edx + eax*4 + 4]
mov eax, dword [ebp - 0x14]
call fcn.004e23dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b8]
mov edx, ebx
call fcn.00484518
inc ebx
dec esi
jne 0x4e1b6c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b8]
call fcn.0045736c
lea eax, [ebp - 0x48]
mov ecx, 0x4e206c
mov edx, dword [ebp - 8]
call fcn.00405534
mov eax, dword [ebp - 0x48]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3b0]
mov edx, 0x4e2084
call fcn.00456db0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x8c]
cmp byte [ebp - 0x15], 0
je 0x4e1ca9
cmp byte [ebp + 8], 0
jne 0x4e1c7c
lea eax, [ebp - 4]
mov ecx, 0x4e1e58
mov edx, dword [ebp - 8]
call fcn.00405534
jmp 0x4e1c40
mov eax, dword [0x4ed398]
mov eax, dword [eax]
call fcn.0047481c
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x39c]
mov eax, dword [ebx + 0x1a0]
mov edx, dword [ebx + 0x19c]
sub edx, 2
cmp eax, edx
jl 0x4e1c34
push 0xa
push 0
push 0x4e20a4
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
push 0x4e20ac
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4e1cd4
lea eax, [ebp - 4]
mov ecx, 0x4e2018
mov edx, dword [ebp - 8]
call fcn.00405534
push 0xa
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
push 0x4e20ac
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4e1cd4
lea eax, [ebp - 4]
mov ecx, 0x4e2018
mov edx, dword [ebp - 8]
call fcn.00405534
push 0xa
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004056ac
push eax
push 0x4e20ac
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 0x14]
call fcn.004e134c
mov byte [0x4ece48], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x398]
cmp byte [eax + 0x40], 0
jne 0x4e1cf9
xor edx, edx
call fcn.00442c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1d28
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.00405240
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405240
ret