Function at 0x4019bd
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Enumerate processes
Extract resource via kernel32 functions
Move file
Persist via lnk shortcut
Persist via run registry key
Query environment variable
Set registry value
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x920
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 0x4000
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.COMCTL32.DLL_InitCommonControlsEx]
call eax
sub esp, 4
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0
mov dword [esp], 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
sub esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x264], 0x22c
lea eax, [ebp - 0x264]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32FirstW
sub esp, 8
mov dword [ebp - 0xc], eax
jmp 0x401ae0
mov eax, dword [ebp - 0x25c]
cmp dword [ebp - 0x10], eax
je 0x401ac5
mov dword [esp + 4], str.e_wings.exe
lea eax, [ebp - 0x264]
add eax, 0x24
mov dword [esp], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x401ac5
mov eax, dword [ebp - 0x25c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x401ac5
mov dword [esp + 4], 9
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
lea eax, [ebp - 0x264]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_Process32NextW
sub esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401a34
mov dword [esp], str.USERPROFILE
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x18], eax
mov dword [esp + 4], 1
mov dword [esp], 0x104
call sub.msvcrt.dll_calloc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.e_wings
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00401948
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call eax
sub esp, 8
mov dword [ebp - 0x368], 0
lea edx, [ebp - 0x364]
mov eax, 0
mov ecx, 0x40
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._se_wings.exe
lea eax, [ebp - 0x368]
mov dword [esp], eax
call fcn.00401948
mov dword [ebp - 0x46c], 0
lea edx, [ebp - 0x468]
mov eax, 0
mov ecx, 0x40
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x46c]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call eax
sub esp, 0xc
lea eax, [ebp - 0x368]
mov dword [esp + 4], eax
lea eax, [ebp - 0x46c]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x401c52
lea eax, [ebp - 0x368]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call eax
sub esp, 4
test eax, eax
je 0x401c11
lea eax, [ebp - 0x368]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
lea eax, [ebp - 0x368]
mov dword [esp + 4], eax
lea eax, [ebp - 0x46c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_MoveFileA]
call eax
sub esp, 8
test eax, eax
jne 0x401c52
lea eax, [ebp - 0x368]
mov dword [esp + 8], eax
lea eax, [ebp - 0x46c]
mov dword [esp + 4], eax
mov dword [esp], str.__s_____s__FAILED_TO_MOVE_FILE__n
call fcn.0040190c
mov dword [esp], str.APPDATA
call sub.msvcrt.dll_getenv
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x570], 0
lea edx, [ebp - 0x56c]
mov eax, 0
mov ecx, 0x40
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], str._sMicrosoftWindowsStart_MenuProgramsStartupe_wings.lnk
lea eax, [ebp - 0x570]
mov dword [esp], eax
call fcn.00401948
lea eax, [ebp - 0x570]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], str._sDesktope_wings.lnk
lea eax, [ebp - 0x570]
mov dword [esp], eax
call fcn.00401948
lea eax, [ebp - 0x570]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
mov dword [ebp - 0x574], 0
lea eax, [ebp - 0x574]
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
call eax
sub esp, 0xc
lea eax, [ebp - 0x368]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x574]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x368]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.e_Wings
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0x678], 0
lea edx, [ebp - 0x674]
mov eax, 0
mov ecx, 0x40
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], str._sDesktope_wings.exe
lea eax, [ebp - 0x678]
mov dword [esp], eax
call fcn.00401948
lea eax, [ebp - 0x678]
mov dword [esp], eax
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call eax
sub esp, 4
test eax, eax
jne 0x401e16
mov dword [esp + 8], 0
lea eax, [ebp - 0x368]
mov dword [esp + 4], eax
lea eax, [ebp - 0x678]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateSymbolicLinkA]
call eax
sub esp, 0xc
test al, al
jne 0x401e16
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x368]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x42d18b
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
call eax
sub esp, 0x18
mov eax, 0
jmp 0x402568
mov dword [esp + 8], 0x60
mov dword [esp + 4], 0
lea eax, [ebp - 0x6d8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x6d8]
mov dword [0x438044], eax
mov eax, dword [0x438044]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [0x438044]
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x10
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0xc], eax
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x19
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0x10], eax
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x14
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0x14], eax
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x18
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0x18], eax
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x19
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0x1c], eax
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x23
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0x20], eax
mov ebx, dword [0x438044]
mov dword [esp + 0x34], str.Arial
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x2bc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x19
mov eax, dword [sym.imp.GDI32.dll_CreateFontW]
call eax
sub esp, 0x38
mov dword [ebx + 0x24], eax
mov ebx, dword [0x438044]
mov dword [esp + 4], 0x4c
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov dword [ebx + 8], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
test eax, eax
jne 0x402215
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040e6a9
test eax, eax
je 0x402263
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d19e
mov dword [esp + 4], str.Init_failed_
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x20], edx
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [eax + 0x24], str.0.2.6
mov dword [ebp - 0x6dc], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
lea edx, [ebp - 0x6dc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_IsWow64Process]
call eax
sub esp, 8
mov eax, dword [ebp - 0x6dc]
cmp eax, 1
sete dl
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
movzx edx, dl
mov word [eax + 0x2c], dx
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [eax + 0x28], 0x42d1ca
call fcn.004066be
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov eax, dword [eax]
test eax, eax
jne 0x402328
mov dword [esp], 0x438044
call fcn.004067a3
test eax, eax
je 0x402328
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d19e
mov dword [esp + 4], 0x42d1ce
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.0040ede8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x4023df
cmp dword [ebp - 0x28], 1
jne 0x4023df
mov dword [ebp - 0x8dc], 0
lea edx, [ebp - 0x8d8]
mov eax, 0
mov ecx, 0x7f
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], str._se_wings_new.exe
lea eax, [ebp - 0x8dc]
mov dword [esp], eax
call fcn.00401948
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x8dc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_ShellExecuteA]
call eax
sub esp, 0x18
mov eax, 0
jmp 0x402568
lea eax, [ebp - 0x6d8]
mov dword [esp], eax
call fcn.00402a94
test eax, eax
je 0x402424
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d19e
mov dword [esp + 4], str.Failed_to_register_ew_controls
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [esp + 8], str.WAVE
mov dword [esp + 4], str.notification
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindResourceW]
call eax
sub esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x402484
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d19e
mov dword [esp + 4], str.Failed_to_load_notification_sound__n
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [0x438044]
mov eax, dword [eax]
mov ebx, dword [0x438044]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
call eax
sub esp, 8
mov dword [ebx + 0x58], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x4024e7
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d19e
mov dword [esp + 4], str.Failed_to_load_notification_sound__n
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [0x438044]
mov eax, dword [eax + 0x58]
mov ebx, dword [0x438044]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LockResource]
call eax
sub esp, 4
mov dword [ebx + 0x5c], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [eax + 0x40], 0x401975
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [eax + 0x44], 0x40199b
call fcn.0040453c
test eax, eax
je 0x40255c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d19e
mov dword [esp + 4], str.Failed_to_show_dashboard
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x402568
mov eax, dword [sym.imp.WS2_32.dll_WSACleanup]
call eax
mov eax, 0
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 0x10