joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030d44
Capabilities:
Get user security identifier

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov r12, rdx
mov rsi, rcx
xor edi, edi
and dword [rbp + 0x50], edi
and dword [rbp + 0x40], edi
test rcx, rcx
jne 0x140030d78
xor eax, eax
jmp 0x140030edb
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
lea r9, [rbp + 0x50]
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x140030ed9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 0x7a
jne 0x140030ea9
mov ecx, dword [rbp + 0x50]
call sub.mfc140.dll_Ordinal_265
mov r14, rax
mov r8d, dword [rbp + 0x50]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [rbp + 0x40]
call sub.mfc140.dll_Ordinal_265
mov r15, rax
mov r8d, dword [rbp + 0x40]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x50]
mov r8, r14
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov edi, eax
test eax, eax
je 0x140030e8d
and qword [rbp - 0x30], 0
lea rdx, [rbp - 0x30]
mov rcx, r14
call sub.ADVAPI32.dll_ConvertSidToStringSidA
test eax, eax
je 0x140030e7f
mov edi, 1
mov rdx, qword [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.mfc140.dll_Ordinal_1507]
lea rax, [rbp - 0x28]
mov qword [rbp - 0x10], rax
mov rdx, r12
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140.dll_Ordinal_300]
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_310]
nop
mov rdx, rbx
mov rcx, rax
call fcn.140030eec
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140030e8d
xor edi, edi
lea rcx, str.ConvertSidToStringSid_fails
call fcn.14003af4c
test r14, r14
je 0x140030e9a
mov rcx, r14
call sub.mfc140.dll_Ordinal_266
test r15, r15
je 0x140030ed9
mov rcx, r15
call sub.mfc140.dll_Ordinal_266
jmp 0x140030ed9
add eax, 0xfffff904
mov ebx, 1
cmp eax, ebx
jbe 0x140030ebc
cmp ecx, 5
jne 0x140030ed9
mov rdx, rsi
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_310]
mov rdx, r12
mov rcx, rax
call fcn.1400301a4
test eax, eax
cmovne edi, ebx
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400310f8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r8
mov r14, rdx
mov rdi, rcx
xor esi, esi
mov dword [rax - 0x28], esi
lea rdx, [0x140067a24]
call qword [sym.imp.mfc140.dll_Ordinal_310]
mov dword [rsp + 0x20], 1
test r14, r14
je 0x1400311b2
test rbp, rbp
je 0x1400311ad
mov r15d, 0x1000
mov edx, r15d
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov rbx, rax
mov edx, r15d
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r15, rbp
cmp ebx, eax
cmovae r15, r14
cmovae r14, rbp
mov ebp, ebx
cmovae ebp, eax
cmovae eax, ebx
test eax, eax
je 0x1400311ca
mov ebx, eax
mov eax, esi
mov dl, byte [rax + r14]
xor dl, byte [r15]
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_2426]
inc r15
lea ecx, [rsi + 1]
cmp esi, ebp
sbb eax, eax
and eax, ecx
mov esi, eax
sub rbx, 1
jne 0x140031185
jmp 0x1400311ca
mov rdx, r14
jmp 0x1400311c1
test rbp, rbp
mov rdx, rbp
jne 0x1400311c1
lea rdx, [0x140067a24]
mov rcx, rdi
call qword [sym.imp.mfc140.dll_Ordinal_1507]
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140031440
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rdx
cmp rcx, rdx
je 0x140031626
mov r9, r11
lea r8, [rcx + 9]
sub r9, rcx
nop
movzx eax, byte [r8 - 1]
mov r10, r8
mov byte [r9 + r8 - 1], al
mov edx, 0x82
movzx eax, byte [r8]
mov byte [r9 + r8], al
movzx eax, byte [r8 + 1]
mov byte [r9 + r8 + 1], al
movzx eax, byte [r8 + 2]
mov byte [r9 + r8 + 2], al
movzx eax, byte [r8 + 3]
mov byte [r9 + r8 + 3], al
movzx eax, byte [r8 + 4]
mov byte [r9 + r8 + 4], al
movzx eax, byte [r8 + 5]
mov byte [r9 + r8 + 5], al
movzx eax, byte [r8 + 6]
mov byte [r9 + r8 + 6], al
movzx eax, byte [r8 + 7]
mov byte [r9 + r8 + 7], al
movzx eax, byte [r8 + 8]
mov byte [r9 + r8 + 8], al
movzx eax, byte [r8 + 9]
mov byte [r9 + r8 + 9], al
movzx eax, byte [r8 + 0xa]
mov byte [r9 + r8 + 0xa], al
movzx eax, byte [r8 + 0xb]
mov byte [r9 + r8 + 0xb], al
movzx eax, byte [r8 + 0xc]
mov byte [r9 + r8 + 0xc], al
movzx eax, byte [r8 + 0xd]
mov byte [r9 + r8 + 0xd], al
movzx eax, byte [r8 + 0xe]
mov byte [r9 + r8 + 0xe], al
movzx eax, byte [r8 + 0xf]
mov byte [r9 + r8 + 0xf], al
movzx eax, byte [r8 + 0x10]
mov byte [r9 + r8 + 0x10], al
movzx eax, byte [r8 + 0x11]
mov byte [r9 + r8 + 0x11], al
movzx eax, byte [r8 + 0x12]
mov byte [r9 + r8 + 0x12], al
movzx eax, byte [r8 + 0x13]
mov byte [r9 + r8 + 0x13], al
movzx eax, byte [r8 + 0x14]
mov byte [r9 + r8 + 0x14], al
movzx eax, byte [r8 + 0x15]
mov byte [r9 + r8 + 0x15], al
movzx eax, byte [r8 + 0x16]
mov byte [r9 + r8 + 0x16], al
movzx eax, byte [r8 + 0x17]
mov byte [r9 + r8 + 0x17], al
movzx eax, byte [r8 + 0x18]
mov byte [r9 + r8 + 0x18], al
movzx eax, byte [r8 + 0x19]
mov byte [r9 + r8 + 0x19], al
movzx eax, byte [r8 + 0x1a]
mov byte [r9 + r8 + 0x1a], al
movzx eax, byte [r8 + 0x1b]
mov byte [r9 + r8 + 0x1b], al
movzx eax, byte [r8 + 0x1c]
mov byte [r9 + r8 + 0x1c], al
lea rax, [r9 + 0x1d]
add rax, r8
sub r10, r11
nop dword [rax]
movzx ecx, byte [r10 + rax - 9]
mov byte [rax], cl
movzx ecx, byte [r10 + rax - 8]
mov byte [rax + 1], cl
lea rax, [rax + 2]
sub rdx, 1
jne 0x1400315a0
movzx eax, byte [r8 + 0x121]
add r11, 0x130
mov byte [r9 + r8 + 0x121], al
movzx ecx, byte [r8 + 0x122]
mov byte [r9 + r8 + 0x122], cl
movzx ecx, byte [r8 + 0x123]
mov byte [r9 + r8 + 0x123], cl
movzx ecx, byte [r8 + 0x124]
mov byte [r9 + r8 + 0x124], cl
movzx ecx, byte [r8 + 0x125]
mov byte [r9 + r8 + 0x125], cl
add r8, 0x130
lea rcx, [r8 - 9]
cmp rcx, rbx
jne 0x140031460
mov rbx, qword [rsp + 8]
mov rax, r11
ret
Function at 0x140032310
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rbx
push rsi
push r14
sub rsp, 0x170
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, qword [rcx + 0x128]
movabs r14, 0x6906906906906907
mov rdx, qword [rcx + 0x130]
mov rax, r14
sub rdx, rbx
mov rsi, rcx
imul rdx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400324ac
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 + 0x18], rdi
mov r8d, ebp
mov qword [r11 + 0x20], r15
lea r15, vtable.CProfileImporterDll.0
imul rax, r8, 0x138
xor edx, edx
mov qword [rsp + 0x20], r15
mov r8d, Ordinal_265
lea rcx, [rsp + 0x28]
add rbx, rax
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea r8, [rbx + 8]
mov r9d, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov rcx, qword [rbx + 0x110]
mov qword [rsp + 0x130], rcx
mov rax, qword [rbx + 0x118]
mov qword [rsp + 0x138], rax
mov rax, qword [rbx + 0x120]
mov qword [rsp + 0x140], rax
mov rax, qword [rbx + 0x128]
mov qword [rsp + 0x148], rax
mov rax, qword [rbx + 0x130]
mov qword [rsp + 0x150], rax
test rcx, rcx
je 0x14003240e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, 0x104
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
test rax, rax
je 0x14003242e
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdi, qword [rsi + 0x130]
inc ebp
mov rbx, qword [rsi + 0x128]
mov rcx, rdi
sub rcx, rbx
mov r8d, ebp
mov rax, r14
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x140032380
mov r15, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x198]
cmp rbx, rdi
je 0x14003249d
nop dword [rax]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
add rbx, 0x138
cmp rbx, rdi
jne 0x140032480
mov rbx, qword [rsi + 0x128]
mov rdi, qword [rsp + 0x1a0]
mov qword [rsi + 0x130], rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x170
pop r14
pop rsi
pop rbx
ret
Function at 0x140034230
Capabilities:
Copy file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r8d, 0x103
lea rdx, [rsp + 0x20]
mov rbx, rcx
call fcn.1400360e0
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400352f0
test eax, eax
jne 0x140034285
mov rdx, qword [rbx + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.140042c50
jmp 0x1400342d5
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x20]
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
or r9, 0xffffffffffffffff
lea r8, str..bak
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
xor r8d, r8d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x250
pop rbx
ret

Function at 0x1400344c0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rax, rdx
xor esi, esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], esi
test rdx, rdx
jne 0x140034525
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140034636
mov ebx, esi
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003464f
cmp dword [rsp + 0x40], 0x400
je 0x1400345bf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], 0xffffffffffffffff
mov eax, ebx
jmp 0x140034500
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rax, [rsp + 0x60]
mov ecx, 0x80
nop
movd xmm0, dword [rax]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm0, xmm2
movdqa xmm2, xmm0
movd xmm0, dword [rax + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm0, xmm1
movdqa xmm1, xmm0
lea rax, [rax + 8]
sub rcx, 1
jne 0x1400345d0
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add ebx, eax
jmp 0x140034563
mov dword [rsp + 0x48], 0xffffffff
lea rdx, [0x14008dd50]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
mov dword [rsp + 0x4c], 0xffffffff
lea rdx, [0x14008dd50]
lea rcx, [rsp + 0x4c]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140034670
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, 1
test rdx, rdx
jne 0x140034697
mov eax, 0x800432b1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, ebx
call fcn.1400352f0
test eax, eax
jne 0x1400346b0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140037020
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
mov r8, qword [rcx + 0x1028]
mov rdx, qword [rcx + 0x1020]
lea rcx, [rsp + 0x38]
call fcn.14001178c
nop
xor edx, edx
mov r8d, Ordinal_265
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x28]
call fcn.140016ad4
nop
lea rcx, [rsp + 0x28]
call fcn.140016d84
test eax, eax
jne 0x1400370f6
cmp qword [rdi + 0x1028], 0
jne 0x1400370e5
cmp qword [rdi + 0x1020], 0
je 0x1400370e5
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x103
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140012868
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x60]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
jmp 0x14003712e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140011f8c
jmp 0x140037105
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140011c38
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_1639]
or r9, 0xffffffffffffffff
mov r8, rax
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
or r9, 0xffffffffffffffff
lea r8, str.WLANProfiles
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
mov rdx, rdi
mov rcx, rdi
call fcn.140038c70
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 2
mov edx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or r9, 0xffffffffffffffff
lea r8, str..sav
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
or r9, 0xffffffffffffffff
lea r8, [0x140067a10]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
nop
lea rcx, [rsp + 0x28]
call fcn.140016ba0
nop
lea rcx, [rsp + 0x38]
call fcn.1400117e4
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140059ef0
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
Function at 0x140037820
Capabilities:
Copy file
Delete file

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r8d, 0x103
lea rdx, [rsp + 0x20]
mov rbx, rcx
call fcn.1400360e0
cmp byte [rbx + 0x10c], 0
je 0x14003787c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rbx + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.140042c50
mov byte [rbx + 0x10e], 1
jmp 0x1400378d3
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x20]
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
or r9, 0xffffffffffffffff
lea r8, str..bak
mov edx, 0x104
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [rbx + 0x10c], 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x250
pop rbx
ret

Function at 0x140038c70
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140038ca1
xor eax, eax
jmp 0x140038dc8
mov r8d, 1
call fcn.1400352f0
test eax, eax
jne 0x140038dc3
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140038dc3
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, Ordinal_265
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x140]
mov r8, rbx
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea r8, [rsp + 0x20]
lea rdx, [0x140067a10]
lea rcx, [rsp + 0x140]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
test rax, rax
je 0x140038c9a
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov r8, rax
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [0x140067a10]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
mov rbx, rax
test rax, rax
je 0x140038dc3
nop
or r9, 0xffffffffffffffff
lea r8, [0x140067a10]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov r8, rbx
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140034670
test eax, eax
je 0x140038c9a
lea r8, [rsp + 0x20]
xor ecx, ecx
lea rdx, [0x140067a10]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbstok_s]
mov rbx, rax
test rax, rax
jne 0x140038d60
mov eax, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140059ef0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14003a084
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x370
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov r14b, r8b
mov esi, edx
mov rbp, rcx
xor edi, edi
test rcx, rcx
jne 0x14003a0cb
xor eax, eax
jmp 0x14003a1a0
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
js 0x14003a0c4
mov ebx, 0x5c
mov edx, ebx
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
test rax, rax
je 0x14003a19e
mov byte [rax], dil
mov edx, ebx
lea rcx, [rsp + 0x250]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
test rax, rax
je 0x14003a19e
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextA]
mov rbx, rax
test rax, rax
je 0x14003a0c4
test r14b, r14b
je 0x14003a17c
lea rax, vtable.CEncrypter.0
mov qword [rsp + 0x40], rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call sym.iconvrtr.exe_public:_char_const____ptr64___cdecl_CEncrypter::EncryptString_char_const____ptr64____ptr64
mov rbx, rax
mov edx, 0x1000
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edi, eax
mov r9, rsi
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
nop
jmp 0x14003a19e
mov edx, 0x1000
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov edi, eax
mov r9, rsi
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov eax, edi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003a3ec
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
and dword [rsp + 0x40], 0
mov rdi, rcx
test rcx, rcx
jne 0x14003a42c
lea eax, [rcx + 1]
jmp 0x14003a50b
mov ebx, edx
mov r8d, edx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8024
xor ecx, ecx
call qword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
xor edx, edx
lea rcx, [rsp + 0x4c]
lea r8d, [rdx + 5]
call sub.VCRUNTIME140.dll_memset
movzx eax, word [rbp - 0x50]
lea r9, [rsp + 0x40]
mov word [rsp + 0x4c], ax
lea rdx, [rbp + 0x1d0]
mov al, byte [rbp - 0x4e]
lea rcx, [rsp + 0x4c]
mov byte [rsp + 0x4e], al
mov r8d, 0x103
mov dword [rsp + 0x38], r8d
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov r8d, dword [rsp + 0x40]
mov ecx, 0x82f8d8cc
test eax, eax
cmove r8d, ecx
xor edx, edx
mov dword [rsp + 0x40], r8d
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x50]
call sub.VCRUNTIME140.dll_memset
mov r9d, dword [rsp + 0x40]
lea r8, [0x140065c28]
mov edx, 0x50
lea rcx, [rsp + 0x60]
call fcn.140008cb0
mov r9d, ebx
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
xor eax, eax
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140059ef0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140048e90
Capabilities:
Get disk information
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x140092690]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, r9
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
call fcn.140016ad4
nop
mov dword [rsp + 0x44], 0x31
test rsi, rsi
je 0x14004903e
test rdi, rdi
je 0x14004905a
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov word [rbp - 0x58], ax
test rbx, rbx
jne 0x140048f49
lea rcx, [rsp + 0x50]
call fcn.140016d84
lea rcx, [rsp + 0x78]
test eax, eax
je 0x140048f31
lea r8, str.CC8A03F6A766
jmp 0x140048f51
lea rdx, [rsp + 0x44]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140048f5f
lea r8, str.A50C44D09397
jmp 0x140048f4c
mov r8, rbx
lea rcx, [rsp + 0x78]
or r9, 0xffffffffffffffff
lea edx, [r9 + 0x33]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], Ordinal_266
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8d, 0x103
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [rsp + 0x40]
mov edx, 0x82f8d8cc
test eax, eax
cmove ecx, edx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x20], ecx
lea r9, [0x140065c28]
or r8, 0xffffffffffffffff
lea edx, [r8 + 0x29]
lea rcx, [rbp - 0x50]
call fcn.140008c50
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbslwr]
mov r8, r14
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x78]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
or r9, 0xffffffffffffffff
lea r8, [rbp - 0x50]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcat_s]
nop
lea rcx, [rsp + 0x50]
call fcn.140016ba0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140059ef0
add rsp, 0x310
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.14001e1b0
lea rdx, [0x14008dfb0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rsp + 0x60]
call fcn.14001e1b0
lea rdx, [0x14008dfb0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14004bf0c
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
lea r8d, [rbx + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140065080]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x20]
test rax, rax
je 0x14004bf4f
call rax
jmp 0x14004bf55
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rsp + 0x20], 9
je 0x14004bf65
cmp word [rsp + 0x20], 6
jne 0x14004bf6a
mov ebx, 1
mov eax, ebx
add rsp, 0x50
pop rbx
ret