joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a8210
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov edi, edx
mov rbx, rcx
cmp edx, 0xa9
jne 0x1400a823b
call fcn.1400a81b8
mov al, 1
jmp 0x1400a8358
cmp edi, 0xaa
jne 0x1400a8273
mov ecx, 0x4f9
call fcn.1400868b8
mov r8, rax
mov dword [rsp + 0x28], 1
lea rax, [0x14010a100]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400a8234
call fcn.1400a7aa8
mov rsi, rax
cmp edi, 0xab
jne 0x1400a8293
or dword [rbx + 0x118], 0xffffffff
lea rax, [0x14010a100]
jmp 0x1400a8305
lea eax, [rdi - 0x41a]
cmp eax, 0x7f
ja 0x1400a8356
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.1400ed430
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x50
xor r8d, r8d
mov dword [rsp + 0x34], 0x20
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x1400a8356
mov rax, qword [rbx + 0xf8]
cmp qword [rsp + 0x60], rax
jae 0x1400a8356
movsxd rax, dword [rsp + 0x60]
imul rcx, rax, 0x1304
mov dword [rbx + 0x118], eax
add rcx, qword [rbx + 0xf0]
call fcn.140078d7c
mov r8, rax
lea rdx, str.ActivePath
lea rcx, str.InterfaceThemes
call fcn.14009e724
mov edx, dword [rbx + 0x111c]
cmp edx, 0xffffffff
je 0x1400a8332
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov r8d, 8
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, rbx
mov dword [rbx + 0x111c], edi
call fcn.1400a6b44
jmp 0x1400a8234
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400a9c84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov ecx, r9d
mov ebx, edx
mov dil, r8b
call qword [sym.imp.USER32.dll_GetSysColor]
and dword [rsp + 0x30], 0
lea rcx, [rbx + rbx*4]
add rcx, rcx
mov dword [rsp + 0x34], eax
lea rax, [0x140139420]
test dil, dil
je 0x1400a9cbe
mov ebx, dword [rax + rcx*8 + 4]
jmp 0x1400a9cc2
mov ebx, dword [rax + rcx*8 + 8]
test dil, dil
jne 0x1400a9d01
mov rcx, qword [0x1401790a0]
mov r8d, 2
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1401790a0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400a9cf9
cmp word [rax + 0xe], 8
je 0x1400a9d01
mov dword [rsp + 0x30], 0x800080
mov rcx, qword [0x1401790a0]
lea r9, [rsp + 0x30]
movsxd rdx, ebx
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400afb04
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140196c40], 0
je 0x1400afb1f
or eax, 0xffffffff
jmp 0x1400afc23
mov rax, qword [0x140186b00]
test rax, rax
jg 0x1400afb3f
dec rax
mov qword [0x140186b00], rax
and qword [0x140196b50], 0
jmp 0x1400afb17
mov rbx, qword [0x140196b50]
test rbx, rbx
jg 0x1400afb93
mov rcx, qword [0x140196b40]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400afd7c
movsxd rcx, eax
mov qword [0x140196b50], rcx
test eax, eax
je 0x1400afb35
cmp rcx, 0xffffffffffffffff
je 0x1400afbc5
mov rax, qword [0x140196b40]
add qword [0x140196b90], rbx
mov qword [0x140196b48], rax
call fcn.1400af514
mov rbx, qword [0x140196b50]
mov rax, qword [0x140186b28]
test byte [rax + 0x40], 1
je 0x1400afc08
cmp byte [0x140197e39], 0
je 0x1400afbdd
test rbx, rbx
je 0x1400afc08
mov rcx, qword [0x140196b48]
lea r8, [0x140197e40]
mov edx, ebx
call fcn.1400b3114
jmp 0x1400afc01
lea rdx, [0x140159a62]
lea rcx, [0x140179130]
call fcn.140062cb8
jmp 0x1400afb35
mov rdi, qword [0x140196b48]
test rbx, rbx
je 0x1400afc08
call fcn.1400b2b20
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400b2cf8
inc rdi
sub rbx, 1
jne 0x1400afbe9
mov rbx, qword [0x140196b50]
mov rax, qword [0x140196b48]
dec rbx
mov qword [0x140196b50], rbx
movzx eax, byte [rax]
inc qword [0x140196b48]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b2be4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
lea rcx, [0x140197ca4]
call fcn.1400b2b40
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
mov edi, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x140197ca0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
movzx ecx, al
movzx eax, byte [rsp + rdi + 0x20]
xor ecx, eax
mov byte [rsp + rdi + 0x20], cl
movzx ecx, cl
call fcn.1400b2cf8
inc rdi
cmp rdi, 0xc
jl 0x1400b2c26
mov rax, qword [0x140186b28]
movzx ecx, byte [0x140196bbf]
test byte [rax + 0x40], 2
movzx eax, byte [0x140196bb7]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400b2c89
or ebx, 0xffffffff
jmp 0x1400b2cd6
mov rdi, qword [0x140196b50]
mov rax, qword [0x140186b00]
mov rsi, qword [0x140196b48]
movsxd rcx, edi
cmp rcx, rax
cmovg edi, eax
test edi, edi
je 0x1400b2cd6
mov eax, dword [0x140197ca0]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor byte [rsi], cl
movzx ecx, byte [rsi]
call fcn.1400b2cf8
inc rsi
sub edi, 1
jne 0x1400b2cab
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400b2cf8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x140197c98]
lea r10, [0x1401866e0]
mov eax, ecx
mov r9d, ecx
xor rdx, rax
mov eax, dword [0x140197c98]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
xor edx, eax
movzx eax, dl
add eax, dword [0x140197c9c]
imul ecx, eax, 0x8088405
mov dword [0x140197c98], edx
inc ecx
mov eax, ecx
mov dword [0x140197c9c], ecx
mov ecx, dword [0x140197ca0]
shr rax, 0x18
xor rax, qword [0x140197ca0]
movzx eax, al
shr ecx, 8
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x140197ca0], eax
mov eax, r9d
ret
Function at 0x1400b3328
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [r8 + 0xa0]
mov rsi, r9
mov r14, qword [rsp + 0xa0]
mov rdi, r8
mov ebp, edx
mov r15, rcx
cmp eax, 0xffffffff
je 0x1400b348e
mov ebx, 4
cmp eax, 0x40
jbe 0x1400b33b4
lea rcx, [r8 + 0x40]
lea rdx, [rsp + 0x20]
call fcn.14008b698
mov eax, dword [rsp + 0x20]
xor edx, edx
bswap eax
mov dword [rdi], eax
mov r8, rdi
lea rax, [rsp + 0x24]
sub r8, rax
mov ecx, dword [rsp + rdx*4 + 0x24]
lea rax, [r8 + rdx*4]
inc rdx
bswap ecx
mov dword [rsp + rax + 0x28], ecx
cmp rdx, rbx
jl 0x1400b3394
mov dword [rdi + 0xa0], 0x14
test rsi, rsi
je 0x1400b33f3
cmp byte [r14], 0
je 0x1400b33f3
movups xmm0, xmmword [rsi]
lea rbx, [rdi + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400b344a
mov ecx, dword [rdi + 0xa0]
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
add rcx, rdi
call fcn.1400ed430
mov rax, rdi
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movdqu xmm0, xmmword [rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rbx, 1
jne 0x1400b340f
lea rbx, [rdi + 0x40]
mov rcx, rbx
call fcn.14008b7b4
mov r8d, 0x40
mov rdx, rdi
mov rcx, rbx
call fcn.14008b7dc
test rsi, rsi
je 0x1400b3487
cmp byte [r14], 0
jne 0x1400b3487
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
or dword [rdi + 0xa0], 0xffffffff
test ebp, ebp
je 0x1400b34a1
mov r8, rbp
lea rcx, [rdi + 0x40]
mov rdx, r15
call fcn.14008b7dc
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b34bc
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp dword [r8 + 0xa0], 0xffffffff
mov rdi, r9
mov r14, qword [rbp + 0x60]
mov rsi, r8
mov r15d, edx
mov r12, rcx
je 0x1400b3508
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.1400b3328
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x40]
call fcn.14008b698
mov eax, dword [rbp - 0x40]
bswap eax
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x3c]
bswap eax
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x38]
bswap eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x34]
bswap eax
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x30]
bswap eax
mov dword [rbp - 0x18], eax
test rdi, rdi
je 0x1400b357b
cmp byte [r14], 0
je 0x1400b357b
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400b35b6
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x140115c90]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1400b3583
mov rcx, rbx
call fcn.14008b7b4
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.14008b7dc
test rdi, rdi
je 0x1400b35f3
cmp byte [r14], 0
jne 0x1400b35f3
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14008b7dc
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14008b698
mov eax, dword [rbp - 0x40]
bswap eax
mov dword [rbp - 0x28], eax
mov eax, dword [rbp - 0x3c]
bswap eax
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x38]
bswap eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x34]
bswap eax
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp - 0x30]
bswap eax
mov dword [rbp - 0x18], eax
test r15d, r15d
je 0x1400b364d
mov r8, r15
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400ed5e0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b69e8
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x1400b6a87
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b6a7e
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14011a1d0]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x1400b6a6e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1400b6a63
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test ebx, ebx
js 0x1400b6a87
test rcx, rcx
jne 0x1400b6af8
cmp qword [rdi + 0x10], 0
je 0x1400b6af8
cmp qword [rdi + 0x40], 0
jne 0x1400b6af8
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1400b6af8
mov rcx, rdi
call fcn.1400b7374
mov rsi, rax
test rax, rax
je 0x1400b6af8
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.1400f3028
mov rsi, qword [rsp + 0x60]
not ebx
shr ebx, 0x1f
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400b7a80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x2040
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
xor ebx, ebx
mov r8, rcx
cmp dword [rcx + 0x4c], ebx
je 0x1400b7ca5
cmp byte [rcx + 0x49], bl
je 0x1400b7ca5
cmp dword [rdx + 0x10], 6
jb 0x1400b7ca5
mov rax, qword [rdx]
mov ecx, 0x400c
cmp word [rax + 0x78], cx
jne 0x1400b7ca5
mov rax, qword [rax + 8]
lea edi, [rbx + 5]
or ecx, 0xffffffff
mov word [rax], cx
cmp dword [r8 + 0x4c], 2
mov rax, qword [rdx]
mov rcx, qword [rax + 0x80]
mov rsi, qword [rcx + 8]
jne 0x1400b7b0f
call fcn.1400b66a4
mov edi, eax
lea r15, str.open
mov edx, edi
lea rbp, [0x14010a100]
mov r14d, 1
test edi, edi
je 0x1400b7c58
sub edx, r14d
je 0x1400b7c29
sub edx, r14d
je 0x1400b7c04
cmp edx, 2
jne 0x1400b7c7a
mov dword [rsp + 0x28], 0x800
lea r9, [rsp + 0x30]
mov r8, rbp
mov qword [rsp + 0x20], rbp
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.14009dc14
lea edx, [r14 + 0x21]
cmp word [rsp + 0x30], dx
jne 0x1400b7c8a
lea rcx, [rsp + 0x32]
call fcn.1400ed380
mov rdi, rax
test rax, rax
je 0x1400b7c8a
lea rcx, [rsp + 0x30]
call fcn.140078d7c
mov rcx, rax
lea r8d, [r14 + 8]
lea rdx, str.opera.exe
call fcn.14008f920
test eax, eax
jne 0x1400b7c8a
mov r9, rsi
mov word [rdi + 2], bx
lea r8, str._newwindow__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.1400026d0
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x1030]
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
jmp 0x1400b7c84
mov r9, rsi
lea r8, str.__new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.1400026d0
lea r8, str.chrome.exe
jmp 0x1400b7bdf
mov r9, rsi
lea r8, str._new_window__s
mov edx, 0x800
lea rcx, [rsp + 0x1030]
call fcn.1400026d0
mov dword [rsp + 0x28], r14d
lea r8, str.firefox.exe
mov qword [rsp + 0x20], rbp
jmp 0x1400b7be9
mov dword [rsp + 0x28], r14d
lea r8, str.iexplore.exe
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
lea eax, [rdi - 3]
test eax, 0xfffffffd
je 0x1400b7c8a
cmp rbx, 0x20
ja 0x1400b7ca5
mov dword [rsp + 0x28], r14d
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], rbp
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400b89ec
Capabilities:
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x5360]
mov eax, 0x5460
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x5350], rax
mov rsi, rcx
mov rdi, rdx
mov rcx, rdx
call fcn.140078d7c
mov edx, 0x3a
mov rcx, rax
call fcn.1400ed380
xor r14d, r14d
test rax, rax
je 0x1400b8a83
cmp byte [0x14019a012], r14b
jne 0x1400b8a83
lea ecx, [r14 + 0x65]
call fcn.1400868b8
mov ecx, 0x528
mov rbx, rax
call fcn.1400868b8
mov rdx, rax
lea r9d, [r14 + 0x31]
mov r8, rbx
mov rcx, rsi
call fcn.1400c3b2c
cmp eax, 1
jne 0x1400b8c2b
mov byte [0x14019a012], al
lea rdx, [rbp + 0xf50]
mov rcx, rdi
sub rdx, rdi
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400b8a90
lea rcx, [rbp + 0xf50]
call fcn.140078dd0
mov ebx, 0x800
lea rdx, [rsp + 0x50]
mov r8d, ebx
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
mov word [rbp + 0xf4e], r14w
call fcn.140078d7c
cmp word [rax], r14w
je 0x1400b8b69
jmp 0x1400b8b57
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000f6d0
test al, al
jne 0x1400b8b69
mov ecx, 0x14d
call fcn.1400868b8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.__s__n_s
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.1400026d0
mov ecx, 0x65
call fcn.1400868b8
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x34
mov rcx, rsi
call fcn.1400c3b2c
cmp eax, 6
jne 0x1400b8c2b
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400685d8
lea rcx, [rsp + 0x50]
call fcn.140068a84
test al, al
je 0x1400b8ae4
call fcn.14006bbc0
cmp eax, 0x501
jb 0x1400b8c2f
mov r9, rbx
lea r8, [rbp + 0x2f50]
mov rdx, rdi
lea rcx, [0x140168030]
call fcn.140040320
mov r8, rbx
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0x2f50]
call fcn.1400781ec
mov dword [rsp + 0x38], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x1f50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400b8c2f
test dword [rsp + 0x40], 0x80000
je 0x1400b8c2f
mov ecx, 0x65e
call fcn.1400868b8
mov r8, rax
lea r9, [rbp + 0x1f50]
mov edx, 0xa00
lea rcx, [rbp + 0x3f50]
call fcn.1400026d0
mov ecx, 0x65
call fcn.1400868b8
mov r8, rax
lea rdx, [rbp + 0x3f50]
mov r9d, 0x30
mov rcx, rsi
call fcn.1400c3b2c
xor al, al
jmp 0x1400b8c31
mov al, 1
mov rcx, qword [rbp + 0x5350]
xor rcx, rsp
call fcn.1400ec220
lea r11, [rsp + 0x5460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c1f18
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400c1fb8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x14015163e]
lea rcx, str.Rar_CM
mov r8d, 0x800
xor ebp, ebp
call fcn.1400c2cec
mov rsi, rax
test rax, rax
je 0x1400c1fa4
or r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x1400c1f62
inc r8
cmp word [rbx + r8*2], bp
jne 0x1400c1f6b
mov r9, rsi
mov edx, 2
mov rcx, rbx
call fcn.1400f390c
mov rcx, rsi
call fcn.1400f3540
mov eax, dword [0x140152640]
test rdi, rdi
mov ecx, 3
cmovne eax, ecx
mov dword [0x140152640], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c2a30
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1040
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor ebp, ebp
mov sil, r8b
cmp word [0x1401441f8], bp
mov rdi, rdx
mov rbx, rcx
je 0x1400c2a7f
mov r8, rdx
lea rdx, [0x1401441f8]
call fcn.14008c7ec
jmp 0x1400c2b1e
lea r9, [0x14010a100]
mov dword [rsp + 0x20], edi
mov r8, rbx
lea rdx, str.TempFolder
lea rcx, [0x14010a548]
call fcn.14009dd5c
movzx eax, word [rbx]
mov word [rsp + 0x30], bp
test ax, ax
je 0x1400c2add
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400c2ad5
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14008c7ec
movzx eax, word [rbx]
test ax, ax
jne 0x1400c2ae7
test sil, sil
je 0x1400c2af5
test ax, ax
je 0x1400c2b1e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c2b1e
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400c2b09
cmp word [rbx], bp
jne 0x1400c2b1e
movups xmm0, xmmword [str._rartemp]
movups xmmword [rbx], xmm0
movzx eax, word [0x140117550]
mov word [rbx + 0x10], ax
mov rdx, rdi
mov rcx, rbx
call fcn.1400773b8
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1040
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c2b4c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor r8d, r8d
lea rdx, str.NoDrives
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov ebx, eax
call fcn.14009dbd0
not eax
and eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400c2dc8
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x2030
call fcn.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rdi, rdx
mov rsi, r8
mov rdx, rcx
mov r8d, 0x7ff
lea rcx, [rsp + 0x1020]
mov bl, r9b
call fcn.14008c7ec
xor ebp, ebp
test bl, bl
je 0x1400c2e6c
cmp byte [0x1401656c0], bpl
jne 0x1400c2e28
cmp byte [0x14016560b], bpl
mov eax, ebp
je 0x1400c2e2d
mov eax, 1
test al, al
lea rcx, [rsp + 0x1020]
mov r9d, ebp
setne r9b
add r9d, 0x61
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x1400c2e46
lea rcx, [rsp + 0x1020]
mov edx, 2
lea rcx, [rcx + rax*2]
lea r8, [0x140117528]
call fcn.1400026d0
mov ebx, 0x800
lea rcx, [rsp + 0x20]
mov edx, ebx
xor r8d, r8d
call fcn.1400c2a30
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1400773b8
mov r8d, ebx
lea rdx, [rsp + 0x1020]
lea rcx, [rsp + 0x20]
call fcn.14008c7b4
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140068f58
test rax, rax
je 0x1400c2ed7
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400c2ed7
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14008c7ec
mov al, 1
jmp 0x1400c2efc
mov ecx, 0x1f7
call fcn.1400868b8
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400cf438
lea rcx, [0x140179130]
call fcn.140062d54
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400ec220
mov rbx, qword [rsp + 0x2068]
add rsp, 0x2030
pop rdi
pop rsi
pop rbp
ret