Function at 0x401350
Capabilities:
Copy file
Create process on windows
Create process suspended
Enumerate gui resources
Enumerate processes
Find taskbar
Hide graphical window
Hide the windows taskbar
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2d8
mov eax, dword [0x406040]
xor eax, esp
mov dword [esp + 0x2d4], eax
push esi
push edi
mov ecx, 0x404368
call fcn.004012a0
test al, al
je 0x401826
push 0x8000
push 0
push 0
push 2
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
push 0x7f02
push dword [0x40660c]
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SetSystemCursor]
mov ecx, 0x404380
call fcn.004012a0
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
je 0x401459
lea eax, [esp + 0x20]
mov dword [esp + 0x260], 0x44
push eax
lea eax, [esp + 0x264]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..JoyToKeyJoyToKey.exe
movlpd qword [esp + 0x28c], xmm0
movlpd qword [esp + 0x294], xmm0
movlpd qword [esp + 0x29c], xmm0
movlpd qword [esp + 0x2a4], xmm0
movlpd qword [esp + 0x2ac], xmm0
movlpd qword [esp + 0x2b4], xmm0
movlpd qword [esp + 0x2bc], xmm0
movlpd qword [esp + 0x2c4], xmm0
movaps xmmword [esp + 0x48], xmm0
call edi
push dword [esp + 0x20]
call esi
push dword [esp + 0x24]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push str.._settings5.conf
push str.._autochanger_settings5_1.conf
call esi
push 0
push str..controls5.conf
push str.._autochangercontrols5_1.conf
call esi
lea eax, [esp + 0x20]
mov dword [esp + 0x260], 0x44
push eax
lea eax, [esp + 0x264]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.._retrofe_retrofe.exe
movlpd qword [esp + 0x28c], xmm0
movlpd qword [esp + 0x294], xmm0
movlpd qword [esp + 0x29c], xmm0
movlpd qword [esp + 0x2a4], xmm0
movlpd qword [esp + 0x2ac], xmm0
movlpd qword [esp + 0x2b4], xmm0
movlpd qword [esp + 0x2bc], xmm0
movlpd qword [esp + 0x2c4], xmm0
movaps xmmword [esp + 0x48], xmm0
call edi
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x28]
push 0x401240
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x24]
call esi
push 0
push 2
mov dword [esp + 0x38], 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, eax
mov dword [esp + 0x18], esi
lea eax, [esp + 0x30]
mov byte [esp + 0x17], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x40161c
lea eax, [esp + 0x30]
push eax
push esi
call edi
cmp eax, 1
jne 0x40161c
nop
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2b0]
call fcn.00402580
cmp dword [esp + 0x2c0], 7
lea esi, [esp + 0x2ac]
mov edi, dword [esp + 0x2ac]
cmova esi, edi
cmp dword [esp + 0x2bc], 0xb
jne 0x4015c6
mov eax, str.retrofe.exe
mov edx, 0xb
sub esi, eax
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x4015c6
add eax, 2
sub edx, 1
jne 0x4015b0
mov byte [esp + 0x17], 1
mov esi, dword [esp + 0x2c0]
cmp esi, 7
jbe 0x401601
lea ecx, [esi*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4015f7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4016c8
push ecx
push edi
call fcn.00402b7d
add esp, 8
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
push eax
push esi
call edi
cmp eax, 1
je 0x401570
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x17], 0
jne 0x401543
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.Shell_TrayWnd
call esi
push 0
push str.Progman
mov edi, eax
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
mov dword [esp + 0x20], eax
call esi
push 5
push dword [esp + 0x1c]
call esi
mov esi, dword [esp + 0x1c]
push 0x7f02
push esi
call dword [sym.imp.USER32.dll_SetSystemCursor]
push esi
mov esi, dword [sym.imp.USER32.dll_DestroyCursor]
call esi
push dword [0x40660c]
call esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, 0xffffffff
je 0x40179e
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4016d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401797
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c8]
call fcn.00402580
cmp dword [esp + 0x2d8], 7
lea esi, [esp + 0x2c4]
mov edi, dword [esp + 0x2c4]
cmova esi, edi
cmp dword [esp + 0x2d4], 0xc
jne 0x401744
mov ecx, str.JoyToKey.exe
mov edx, 0xc
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x401744
add ecx, 2
sub edx, 1
jne 0x401710
push dword [esp + 0x38]
push edx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40173d
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x2d8]
cmp esi, 7
jbe 0x40177f
lea ecx, [esi*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x401775
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4016c8
push ecx
push edi
call fcn.00402b7d
add esp, 8
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4016d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push str.Overflow_Notification_Area
push str.ToolbarWindow32
push 0
push 0x404304
push str.NotifyIconOverflowWindow
push 0
push 0
call esi
push eax
call esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test edx, edx
jle 0x401826
mov eax, dword [esp + 0x2c]
xor edi, edi
test eax, eax
jle 0x40181b
mov esi, ecx
nop dword [eax]
push esi
push 0
push 0x200
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x2c]
add edi, 5
add esi, 0x50000
cmp edi, eax
jl 0x4017f0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
add ecx, 5
mov dword [esp + 0x18], ecx
cmp ecx, edx
jl 0x4017e5
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
xor ecx, esp
call fcn.00402b3f
mov esp, ebp
pop ebp
ret 0x10