joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fd70
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, rcx
movsxd r12, edx
mov r13, r8
call sym.strlen
mov r14, rax
lea ebx, [rax + 0xf]
lea eax, [rax + 0x51]
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.0040f990
sub rsp, rax
movsxd r15, r14d
movabs rax, 0x656d68732d636367
lea rsi, [rsp + 0x20]
lea rcx, [rsp + 0x2f]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov eax, 0x326d
mov dword [rsp + 0x28], 0x64742d6d
mov word [rsp + 0x2c], ax
movsxd rbx, ebx
mov byte [rsp + 0x2e], 0x2d
call sym.memcpy
lea rax, [rsi + r15 + 0x10]
lea r15d, [r14 + 0x50]
movabs rdx, 0x6161616161616161
xor ecx, ecx
mov r8, rsi
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
mov qword [rax + 0x20], rdx
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rdx
mov qword [rax + 0x38], rdx
movsxd rax, r15d
xor edx, edx
mov byte [rsp + rax + 0x20], 0
mov byte [rsp + rbx + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [rsp + rbx + 0x20], 0x2d
mov rdi, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41fe59
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x41fef2
mov rcx, r12
add r14d, 0x10
call sym.malloc
mov r10d, 0x40
mov rbx, rax
bt rbx, r10
jae 0x41fe94
mov r11d, r15d
sub r11d, r10d
movsxd r11, r11d
mov byte [rsi + r11], 0x41
sub r10d, 1
jne 0x41fe80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x41feef
mov rdx, rsi
movzx ecx, ax
mov r9d, r14d
mov r8d, r15d
call sym.get_ptr_from_atom_1
cmp rax, rbx
mov rsi, rax
je 0x41ff09
mov rcx, rbx
call sym.free
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
lea rsp, [rbp - 0x58]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
int3
lea r9d, [r14 + 0x10]
mov rdx, rsi
movzx ecx, ax
mov r8d, r15d
call sym.get_ptr_from_atom_1
mov rsi, rax
jmp 0x41fec9
xor edx, edx
mov r8, r12
mov rcx, rbx
call sym.memset
test r13, r13
je 0x41fec9
mov rcx, rbx
call r13
jmp 0x41fec9

Function at 0x420060
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.global_lock_spinlock
xor r8d, r8d
mov edx, 4
jmp sym.__shmem_winpthreads_grab

Function at 0x420850
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_rwl_global_shmem]
lea rcx, str.rwl_global_shmem
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x420920
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_winpthreads_init_cond_locked_shmem_rwlock]
lea rcx, str.cond_locked_shmem_rwlock
mov edx, 8
jmp sym.__shmem_winpthreads_grab

Function at 0x421420
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init_init]
lea rcx, str.init
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x421440
Capabilities:
Check mutex on windows

Disassembly:
lea rcx, str.eh_globals
xor r8d, r8d
mov edx, 0x10
jmp dbg.__shmem_grab
Function at 0x421af0
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___terminate_handler_sh]
lea rcx, str.__terminate_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x421b10
Capabilities:
Check mutex on windows

Disassembly:
lea r8, [sym.__shmem_init___unexpected_handler_sh]
lea rcx, str.__unexpected_handler_sh
mov edx, 8
jmp dbg.__shmem_grab

Function at 0x422dd0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
test rax, rax
jle 0x422e01
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
mov dword [rbx + 0x48], 0xffffffff
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x423750
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x00487090], 0
jne 0x423817
mov byte [0x00487090], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x4238aa
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov rsi, qword [sym.imp.msvcrt.dll___iob_func]
mov rdi, rax
call rsi
lea rcx, str.terminate_called_after_throwing_an_instance_of_
lea r9, [rax + 0x60]
mov r8d, 0x30
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x423807
call rsi
lea rdx, [rax + 0x60]
mov rcx, rbx
call sym.fputs
call rsi
lea rcx, [0x00489651]
lea r9, [rax + 0x60]
mov r8d, 2
mov edx, 1
call sym.fwrite
cmp dword [rsp + 0x2c], 0
je 0x42383d
call sym.__cxa_rethrow
call rsi
lea rdx, [rax + 0x60]
mov rcx, rdi
call sym.fputs
jmp 0x4237de
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_recursively_n
lea r9, [rax + 0x60]
mov r8d, 0x1d
mov edx, 1
call sym.fwrite
call sym.abort
mov rcx, rdi
call sym.free
jmp 0x423802
call sym.abort
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.terminate_called_without_an_active_exception_n
lea r9, [rax + 0x60]
mov r8d, 0x2d
mov edx, 1
call sym.fwrite
jmp 0x4238a5

Function at 0x451c90
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rbp, rcx
mov rdi, rdx
mov esi, r8d
mov rcx, rbp
call method.std::__basic_file_char_.fd__
mov r8d, esi
mov rdx, rdi
mov ecx, eax
call sym.read
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
je 0x451ce0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x451caa
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001400
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1078
call fcn.14001b490
sub rsp, rax
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x1060], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140001460
lea rcx, str.Cannot_open_key._n
call fcn.1400012a0
mov eax, 1
jmp 0x140001640
lea rdx, [0x140024fb4]
lea rcx, [0x1400253c8]
call fcn.140006ed4
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400014a0
lea rcx, [0x1400253d8]
call fcn.1400012a0
mov rcx, qword [rsp + 0x38]
call fcn.14000710c
mov eax, 1
jmp 0x140001640
lea rdx, str._n_n_n_n___Reg_Uninstall_Information_n
mov rcx, qword [rsp + 0x38]
call fcn.140001230
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov r9d, 0x400
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x44], 0
jne 0x14000162b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001626
mov dword [rsp + 0x58], 0x400
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001573
lea r8, [rsp + 0x460]
lea rdx, str._DisplayName:__s_n
mov rcx, qword [rsp + 0x38]
call fcn.140001230
mov dword [rsp + 0x58], 0x400
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x860]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400015c7
lea r8, [rsp + 0x860]
lea rdx, str._DisplayVersion:__s_n
mov rcx, qword [rsp + 0x38]
call fcn.140001230
mov dword [rsp + 0x58], 0x400
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallLocation
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000161b
lea r8, [rsp + 0xc60]
lea rdx, str._InstallLocation:__s_n
mov rcx, qword [rsp + 0x38]
call fcn.140001230
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400014b9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call fcn.14000710c
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x1078
ret
Function at 0x140001660
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x14002506c]
lea rcx, [0x140025490]
call fcn.140006ed4
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400016b3
lea rcx, [0x1400254a0]
call fcn.1400012a0
mov rcx, qword [rsp + 0x30]
call fcn.14000710c
mov eax, 1
jmp 0x14000179a
lea rdx, str._n_n_n_n___Reg_TestMode_Information_n
mov rcx, qword [rsp + 0x30]
call fcn.140001230
lea rax, str.SYSTEMCurrentControlSetControlCITesting
mov qword [rsp + 0x38], rax
lea rax, str.TestSigning
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001790
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001785
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x54], 1
jne 0x140001774
lea rdx, str._n_n_n_n___Reg_TestSigning_True_n
mov rcx, qword [rsp + 0x30]
call fcn.140001230
mov rcx, qword [rsp + 0x30]
call fcn.14000710c
xor eax, eax
jmp 0x14000179a
mov rcx, qword [rsp + 0x30]
call fcn.14000710c
mov eax, 1
jmp 0x14000179a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call fcn.14000710c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x78
ret
Function at 0x1400017b0
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x4a8
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rdx, [0x140025174]
lea rcx, [0x1400257e0]
call fcn.140006ed4
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001809
lea rcx, [0x1400257f0]
call fcn.1400012a0
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
mov eax, 1
jmp 0x140001912
lea rdx, str._n_n_n_n___Process_Information_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140001854
lea rcx, str.CreateToolhelp32Snapshot_failed_n
call fcn.1400012a0
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
mov eax, 1
jmp 0x140001912
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400018fd
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400018e5
mov r9d, 0x104
lea r8, [rsp + 0x280]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jbe 0x1400018da
cmp qword [rsp + 0x20], 0
je 0x1400018da
lea r8, [rsp + 0x280]
lea rdx, str.__ws_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001874
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x4a8
ret

Function at 0x140001930
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x140025194]
lea rcx, [0x140025858]
call fcn.140006ed4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001980
lea rcx, [0x140025868]
call fcn.1400012a0
mov rcx, qword [rsp + 0x28]
call fcn.14000710c
mov eax, 1
jmp 0x1400019d0
lea rdx, str._n_n_n_n___CPU_Information_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
lea rdx, str._CPU_Core:__d_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
mov rcx, qword [rsp + 0x28]
call fcn.14000710c
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x78
ret
Function at 0x1400019f0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rdx, [0x1400251cc]
lea rcx, [0x1400258b0]
call fcn.140006ed4
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001a49
lea rcx, [0x1400258c0]
call fcn.1400012a0
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
mov eax, 1
jmp 0x140001ad3
lea rdx, str._n_n_n_n___Memory_Information_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
test rax, rax
jl 0x140001a88
cvtsi2sd xmm0, rax
jmp 0x140001aa1
mov rcx, rax
shr rcx, 1
and rax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
movaps xmm0, xmm1
divsd xmm0, qword [0x1400261d8]
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x28]
lea rdx, str._Memory_Size:__d_GB_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x98
ret

Function at 0x140001af0
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140001b56
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140001c3c
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7405c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140001b9c
mov byte [rsp + 0x40], 1
jmp 0x140001ba1
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x41], al
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x60]
cqo
and rdx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
mov dword [rsp + 0x58], eax
lea rdx, [0x1400251ec]
lea rcx, [0x140025928]
call fcn.140006ed4
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001c0b
lea rcx, [0x140025938]
call fcn.1400012a0
mov rcx, qword [rsp + 0x48]
call fcn.14000710c
mov eax, 1
jmp 0x140001c3c
lea rdx, str._n_n_n_n___Disk_Information_n
mov rcx, qword [rsp + 0x48]
call fcn.140001230
mov r8d, dword [rsp + 0x58]
lea rdx, str._Disk_Size__d_GB_n
mov rcx, qword [rsp + 0x48]
call fcn.140001230
mov rcx, qword [rsp + 0x48]
call fcn.14000710c
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x78
ret
Function at 0x140001d70
Capabilities:
Get hostname
Get session user name

Disassembly:
sub rsp, 0x178
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rdx, [0x14002522c]
lea rcx, [0x1400259f8]
call fcn.140006ed4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001dc9
lea rcx, [0x140025a08]
call fcn.1400012a0
mov rcx, qword [rsp + 0x28]
call fcn.14000710c
mov eax, 1
jmp 0x140001e74
lea rdx, str._n_n_n_n___Hostname_And_User_Name_Information_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
mov dword [rsp + 0x30], 0x101
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jne 0x140001e15
lea r8, [rsp + 0x50]
lea rdx, str._Current_user:__s_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
jmp 0x140001e21
lea rcx, str.Failed_to_get_current_user_n
call fcn.1400012a0
mov dword [rsp + 0x34], send
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jne 0x140001e5c
lea r8, [rsp + 0x38]
lea rdx, str._Hostname:__s_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
jmp 0x140001e68
lea rcx, str.Failed_to_get_hostname_n
call fcn.1400012a0
mov rcx, qword [rsp + 0x28]
call fcn.14000710c
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x178
ret

Function at 0x140001e90
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, [0x140025244]
lea rcx, [0x140025ab0]
call fcn.140006ed4
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140001ee4
lea rcx, [0x140025ac0]
call fcn.1400012a0
mov eax, 1
jmp 0x140001fb1
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140001f34
mov rdx, qword [rsp + 0x190]
lea rcx, str.Failed_to_find__s_files_n
call fcn.1400012a0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
mov eax, 1
jmp 0x140001fb1
mov r8, qword [rsp + 0x190]
lea rdx, str._n_n_n_n____s_files_Information_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x140001f70
lea r8, [rsp + 0x5c]
lea rdx, str._Directory:__s_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
jmp 0x140001f86
lea r8, [rsp + 0x5c]
lea rdx, str._File:__s_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140001f4d
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x188
ret
Function at 0x140001fd0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
sub rsp, 0x4b8
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rdx, [0x14002525c]
lea rcx, [0x140025b38]
call fcn.140006ed4
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140002029
lea rcx, [0x140025b48]
call fcn.1400012a0
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
mov eax, 1
jmp 0x140002180
lea rdx, str._n_n_n_n___RecentFile_Information_n
mov rcx, qword [rsp + 0x20]
call fcn.140001230
mov qword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14001c490]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140002163
mov r8, qword [rsp + 0x38]
lea rdx, str._RecentFile_Path:__s_n
mov rcx, qword [rsp + 0x20]
call fcn.140001080
mov r9, qword [rsp + 0x38]
lea r8, [0x140025bb0]
mov edx, 0x104
lea rcx, [rsp + 0x290]
call fcn.140001160
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140002156
lea rax, [rsp + 0x6c]
lea rcx, [0x140025274]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400020e6
add rax, 2
test dx, dx
jne 0x1400020d0
xor eax, eax
jmp 0x1400020eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002133
lea rax, [rsp + 0x6c]
lea rcx, [0x140025bbc]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140002114
add rax, 2
test dx, dx
jne 0x1400020fe
xor eax, eax
jmp 0x140002119
sbb eax, eax
or eax, 1
test eax, eax
je 0x140002133
lea r8, [rsp + 0x6c]
lea rdx, str._File_Name:__s_n
mov rcx, qword [rsp + 0x20]
call fcn.140001080
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400020c1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140002174
lea rdx, str._Open_RecentFile_Path_Error_n
mov rcx, qword [rsp + 0x20]
call fcn.140001080
mov rcx, qword [rsp + 0x20]
call fcn.14000710c
xor eax, eax
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x4b8
ret

Function at 0x1400021a0
Capabilities:
Identify system language via api

Disassembly:
sub rsp, 0x38
lea rdx, [0x140025284]
lea rcx, [0x140025c28]
call fcn.140006ed4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400021e1
lea rcx, [0x140025c38]
call fcn.1400012a0
mov rcx, qword [rsp + 0x28]
call fcn.14000710c
mov eax, 1
jmp 0x140002222
lea rdx, str._n_n_n_n___UserDefaultUILanguage_Information_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov r8d, eax
lea rdx, str._UserDefaultUILanguage:_x_n
mov rcx, qword [rsp + 0x28]
call fcn.140001230
mov rcx, qword [rsp + 0x28]
call fcn.14000710c
xor eax, eax
add rsp, 0x38
ret
Function at 0x140002230
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x148
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [0x1400252a4]
lea rcx, [rsp + 0x20]
call fcn.140002d20
lea rcx, [rsp + 0x20]
call fcn.140001e90
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x148
ret

Function at 0x140002330
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x278
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, send
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x40]
lea rdx, str._s
lea rcx, [rsp + 0x150]
call fcn.140002d50
lea rcx, [rsp + 0x150]
call fcn.140001e90
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x278
ret

Function at 0x1400023b0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8, [rsp + 0x20]
lea rdx, [0x1400252cc]
lea rcx, [rsp + 0x130]
call fcn.140002d50
lea rcx, [rsp + 0x130]
call fcn.140001e90
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x258
ret

Function at 0x140002480
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
dec qword [rsp + 0x30]
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
jne 0x1400024d4
mov rax, qword [rsp + 0x30]
lea rcx, [0x1400252fc]
mov rdi, rax
mov rsi, rcx
mov ecx, 3
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x40]
call fcn.140001e90
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140002ea0
add rsp, 0x168
pop rdi
pop rsi
ret