joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014e60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
lea rbx, [0x140000000]
mov r8d, r10d
mov r11, rcx
movabs rdi, 0x2492492492492493
movabs rsi, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
lea r9, [r8 + r11]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rsi
mul r8
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [rcx + rbx + 0x290058]
add al, byte [r8 + rbx + 0x290050]
add al, r10b
inc r10d
xor byte [r9], al
movsxd r8, r10d
cmp r8, 0xe
jb 0x140014ea0
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140014f10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
lea rbx, [0x140000000]
mov r8d, r10d
mov r11, rcx
movabs rdi, 0x2492492492492493
movabs rsi, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
lea r9, [r8 + r11]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rsi
mul r8
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [rcx + rbx + 0x290058]
add al, byte [r8 + rbx + 0x290050]
add al, r10b
inc r10d
xor byte [r9], al
movsxd r8, r10d
cmp r8, 0x12
jb 0x140014f50
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140014fc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
lea rbx, [0x140000000]
mov r8d, r10d
mov r11, rcx
movabs rdi, 0x2492492492492493
movabs rsi, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
lea r9, [r8 + r11]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rsi
mul r8
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [rcx + rbx + 0x290058]
add al, byte [r8 + rbx + 0x290050]
add al, r10b
inc r10d
xor byte [r9], al
movsxd r8, r10d
cmp r8, 0x1c
jb 0x140015000
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140015070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
lea rbx, [0x140000000]
mov r8d, r10d
mov r11, rcx
movabs rdi, 0x2492492492492493
movabs rsi, 0xcccccccccccccccd
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
lea r9, [r8 + r11]
mov rax, rdi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rsi
mul r8
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [rcx + rbx + 0x290058]
add al, byte [r8 + rbx + 0x290050]
add al, r10b
inc r10d
xor byte [r9], al
movsxd r8, r10d
cmp r8, 0xf
jb 0x1400150b0
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140018ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
lea rdi, [0x140000000]
mov r8d, r11d
mov rbx, rcx
movabs rsi, 0x2492492492492493
movabs rbp, 0xcccccccccccccccd
nop dword [rax + rax]
mov rcx, r8
lea r10, [rbx + r8*2]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rbp
mul r8
movzx r9d, byte [rcx + rdi + 0x290048]
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [r8 + rdi + 0x290040]
add r9w, ax
add r9w, r11w
inc r11d
xor word [r10], r9w
movsxd r8, r11d
cmp r8, 5
jb 0x140018af0
mov rbp, qword [rsp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x140018b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
lea rdi, [0x140000000]
mov r8d, r11d
mov rbx, rcx
movabs rsi, 0x2492492492492493
movabs rbp, 0xcccccccccccccccd
nop dword [rax + rax]
mov rcx, r8
lea r10, [rbx + r8*2]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rbp
mul r8
movzx r9d, byte [rcx + rdi + 0x290048]
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [r8 + rdi + 0x290040]
add r9w, ax
add r9w, r11w
inc r11d
xor word [r10], r9w
movsxd r8, r11d
cmp r8, 7
jb 0x140018bb0
mov rbp, qword [rsp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14001aa60
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14d, r9d
mov rsi, r8
mov rbx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14001aaa2
mov rcx, qword [rdx]
jmp 0x14001aaa5
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001abb8
xor r15d, r15d
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
xor r8d, r8d
xor edx, edx
call fcn.140004d20
mov qword [rbp - 0x20], rax
xor dil, dil
test r14d, r14d
jne 0x14001ab4a
lea r9, [rbp - 0x20]
mov r8, rsi
mov rdx, rbx
call fcn.14001b780
movzx edi, al
test al, al
jne 0x14001aaf6
lea r9, [rbp - 0x20]
mov r8, rsi
call fcn.14001c0d0
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r15
mov word [rbp - 0x40], r15w
lea r8, [rbp - 0x40]
mov rdx, rsi
call fcn.14001c380
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
lea rdx, [0x14001c310]
call fcn.140023dd0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14001aba2
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140008270
jmp 0x14001aba2
cmp r14d, 1
jne 0x14001aba2
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
call fcn.14001cac0
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x40]
mov r8, rsi
mov rdx, rbx
call fcn.14001ac10
movzx edi, al
test al, al
jne 0x14001ab81
lea rdx, [rbp - 0x40]
call fcn.14001b5e0
nop
mov r8, qword [rbp - 0x40]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call fcn.14001c470
mov rcx, qword [rbp - 0x40]
call fcn.1402150bc
nop
lea rcx, [rbp - 0x20]
call fcn.14000f2f0
mov rcx, qword [rbp - 0x20]
call fcn.1402150bc
movzx eax, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140215090
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b5e0
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x320
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov bpl, 1
mov rdi, qword [rdx]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14001b747
lea rsi, [rbx + 0x20]
cmp qword [rsi + 0x18], 8
jb 0x14001b634
mov rcx, qword [rsi]
jmp 0x14001b637
mov rcx, rsi
lea rdx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14001b669
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rsi + 0x18], 8
jb 0x14001b660
mov rcx, qword [rsi]
jmp 0x14001b663
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rsi + 0x18], 8
jb 0x14001b675
mov rdx, qword [rsi]
jmp 0x14001b678
mov rdx, rsi
lea rcx, [rsi + 0x20]
cmp qword [rcx + 0x18], 8
jb 0x14001b686
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14001b6eb
xor bpl, bpl
cmp qword [rsi + 0x18], 8
jb 0x14001b69d
mov rsi, qword [rsi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov r8d, 0xfde9
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400078f0
nop
mov rsi, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rsi
mov ecx, 0x106f
call fcn.140004d70
nop
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x14001b6eb
call fcn.140222478
cmp byte [rbx + 0x19], 0
jne 0x14001b73e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14001b71e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14001b73e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14001b710
jmp 0x14001b73e
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x19], 0
jne 0x14001b73b
cmp rbx, qword [rcx + 0x10]
jne 0x14001b73b
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x14001b728
mov rbx, rcx
cmp rbx, rdi
jne 0x14001b624
movzx eax, bpl
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140215090
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001c0d0
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r9
mov r13, r8
mov r15b, 1
mov qword [rbp + 0x18], 7
xor r12d, r12d
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
lea r8, [rbp]
mov rdx, r13
call fcn.14001c380
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14001c2bc
lea rsi, [rbx + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14001c152
mov rcx, qword [rsi]
jmp 0x14001c155
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001c1bc
xor r15b, r15b
cmp qword [rsi + 0x18], 8
jb 0x14001c16e
mov rdx, qword [rsi]
jmp 0x14001c171
mov rdx, rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov r8d, 0xfde9
lea rcx, [rsp + 0x50]
call fcn.1400078f0
nop
mov r14, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, r14
mov ecx, 0x106f
call fcn.140004d70
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x14001c1bc
call fcn.140222478
or r9, 0xffffffffffffffff
mov r8, qword [r13 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000d730
nop
mov r8, rax
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.1400108a0
nop
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14001c200
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140008270
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r12
mov word [rsp + 0x20], r12w
cmp qword [rsi + 0x18], 8
jb 0x14001c21e
mov rsi, qword [rsi]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14001c296
xor r15b, r15b
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov r8d, 0xfde9
lea rcx, [rsp + 0x50]
call fcn.1400078f0
nop
mov rsi, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rsi
mov ecx, 0x106f
call fcn.140004d70
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x14001c296
call fcn.140222478
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x14001c2b0
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140008270
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14001c142
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x14001c2d6
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140008270
movzx eax, r15b
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140215090
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001d710
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
lea rdx, [0x14028fed3]
mov ecx, 0x1069
call fcn.140004f40
cmp qword [rdi + 0x150], 0
je 0x14001d781
lea rdx, [rdi + 0x140]
cmp rbx, rdx
je 0x14001d756
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.1400082e0
add rbx, 0x20
cmp qword [rdi + 0x130], 0
je 0x14001d79a
lea rdx, [rdi + 0x120]
cmp rbx, rdx
je 0x14001d7a6
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.1400082e0
jmp 0x14001d7a6
mov rcx, rbx
call fcn.140022c10
test al, al
jne 0x14001d756
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.140023320
test al, al
je 0x14001d78d
cmp qword [rbx + 0x18], 8
jb 0x14001d7b0
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rbx, qword [rsp + 0x30]
test eax, eax
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x140021780
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
lea rax, vtable.TGuard::HttpRequest.0
mov rdi, rcx
mov qword [rcx], rax
mov qword [rcx + 8], rbx
lea ecx, [rbx + 3]
call fcn.1400dc920
call fcn.1400dc870
mov qword [rdi + 8], rax
test rax, rax
je 0x14002188a
lea edx, [rbx + 0xd]
mov rcx, rax
lea r8d, [rbx + 0xa]
call fcn.1400dcc80
mov rcx, qword [rdi + 8]
lea edx, [rbx + 0x40]
xor r8d, r8d
call fcn.1400dcc80
mov rcx, qword [rdi + 8]
lea edx, [rbx + 0x51]
xor r8d, r8d
call fcn.1400dcc80
cmp byte [str.Mozilla_5.0__Windows__U__Windows_NT_5.1__zh_CN__rv:1.9.2.3__Gecko_20100401_Firefox_3.6.3], bl
lea rdx, str.Mozilla_5.0__Windows__U__Windows_NT_5.1__zh_CN__rv:1.9.2.3__Gecko_20100401_Firefox_3.6.3
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x20], bl
je 0x140021819
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140021810
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.1400044f0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002184a
cmp qword [rsp + 0x38], 0x10
lea r8, [rsp + 0x20]
mov edx, 0x2722
cmovae r8, qword [rsp + 0x20]
call fcn.1400dcc80
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x14002188a
mov rcx, qword [rsp + 0x20]
inc rax
cmp rax, 0x1000
jb 0x140021885
test cl, 0x1f
jne 0x140021898
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14002189e
sub rcx, rax
cmp rcx, 8
jb 0x1400218a4
cmp rcx, 0x27
ja 0x1400218aa
mov rcx, rax
call fcn.1402150bc
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.1402226ac
int3
call fcn.1402226ac
int3
call fcn.1402226ac
int3
call fcn.1402226ac
int3
Function at 0x140022c10
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x10300ee
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], 0x4003e
mov dword [rsp + 0x28], 0x8100da
mov dword [rsp + 0x2c], 0xd3008a
mov dword [rsp + 0x30], 0xca017c
mov dword [rsp + 0x34], 0xd90032
mov dword [rsp + 0x38], 0xf70095
mov dword [rsp + 0x3c], 0x115
call fcn.140024550
mov rcx, rax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140022dcb
cmp word [rsp + 0x50], 0x25
mov qword [rsp + 0x288], rdi
jne 0x140022d18
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1690088
mov dword [rsp + 0x24], 0x3b0010
mov dword [rsp + 0x28], 0x9c00cf
mov dword [rsp + 0x2c], 0xcc008c
mov dword [rsp + 0x30], 0xce015b
mov dword [rsp + 0x34], 0xfa007e
mov dword [rsp + 0x38], 0xbe008f
mov dword [rsp + 0x3c], 0x15e0170
mov dword [rsp + 0x40], 0xa2
call fcn.140024490
mov r8, rax
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1402249c4
xor eax, eax
mov dword [rsp + 0x20], 0x13d008a
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
mov dword [rsp + 0x24], 0x20038
mov dword [rsp + 0x28], 0x9b00fe
mov dword [rsp + 0x2c], 0xdf008e
mov dword [rsp + 0x30], 0xe6014e
mov dword [rsp + 0x34], 0xcc0026
mov dword [rsp + 0x38], 0xa00083
mov dword [rsp + 0x3c], 0x12d0161
call fcn.140014ae0
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rdi, qword [rsp + 0x288]
test eax, eax
jne 0x140022d9b
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp word [rsp + 0x50], 0
jne 0x140022da8
xor r8d, r8d
jmp 0x140022dbc
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140022db1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140007be0
mov al, 1
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140215090
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140022df0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.140022c10
test al, al
jne 0x140022e08
add rsp, 0x30
pop rbx
ret
mov r8d, 1
mov qword [rsp + 0x40], rdi
lea rdx, [0x140297498]
mov rcx, rbx
call fcn.14000f3a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1140098
mov dword [rsp + 0x24], 0xa0039
mov dword [rsp + 0x28], 0x9700cf
mov dword [rsp + 0x2c], 0xeb
call fcn.140018b70
xor edi, edi
cmp word [rax], di
jne 0x140022e58
mov r8d, edi
jmp 0x140022e6a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140022e60
mov rdx, rax
mov rcx, rbx
call fcn.14000f3a0
cmp qword [rbx + 0x18], 8
jb 0x140022e81
mov rcx, qword [rbx]
jmp 0x140022e84
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140022ea5
cmp qword [rbx + 0x18], 8
jb 0x140022e9a
mov rcx, qword [rbx]
jmp 0x140022e9d
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.140024080
test al, al
lea rcx, str.x64
lea rdx, str.x86
cmovne rdx, rcx
cmp word [rdx], di
je 0x140022eda
or rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140022ed0
mov r8, rdi
mov rcx, rbx
call fcn.14000f3a0
cmp qword [rbx + 0x18], 8
mov rdi, qword [rsp + 0x40]
jb 0x140022ef6
mov rcx, qword [rbx]
jmp 0x140022ef9
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140022f18
cmp qword [rbx + 0x18], 8
jb 0x140022f0d
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov al, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140022f20
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.140022c10
test al, al
jne 0x140022f38
add rsp, 0x30
pop rbx
ret
mov r8d, 1
lea rdx, [0x140297498]
mov rcx, rbx
call fcn.14000f3a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x13d0082
mov dword [rsp + 0x24], 0xa000b
mov dword [rsp + 0x28], 0x9600d0
mov dword [rsp + 0x2c], 0xeb
call fcn.140018b70
cmp word [rax], 0
jne 0x140022f82
xor r8d, r8d
jmp 0x140022f9b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140022f90
mov rdx, rax
mov rcx, rbx
call fcn.14000f3a0
cmp qword [rbx + 0x18], 8
jb 0x140022fb2
mov rcx, qword [rbx]
jmp 0x140022fb5
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140022fd4
cmp qword [rbx + 0x18], 8
jb 0x140022fc9
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140023160
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rbp + 0x170], rax
lea rax, str._ProgramData_
xor ebx, ebx
mov qword [rsp + 0x48], rax
lea rsi, [rsp + 0x48]
lea rax, str._CommonProgramFiles_
mov r14, rcx
mov qword [rsp + 0x50], rax
mov edi, ebx
lea rax, str._TMP_
mov qword [rsp + 0x58], rax
nop dword [rax + rax]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14002327a
xor eax, eax
mov dword [rsp + 0x20], 0x13d008a
lea rcx, [rsp + 0x20]
mov word [rsp + 0x40], ax
mov dword [rsp + 0x24], 0x20038
mov dword [rsp + 0x28], 0x9b00fe
mov dword [rsp + 0x2c], 0xdf008e
mov dword [rsp + 0x30], 0xe6014e
mov dword [rsp + 0x34], 0xcc0026
mov dword [rsp + 0x38], 0xa00083
mov dword [rsp + 0x3c], 0x12d0161
call fcn.140014ae0
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400232dc
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400232bb
inc edi
add rsi, 8
cmp edi, 3
jb 0x1400231d0
xor al, al
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140215090
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp word [rsp + 0x60], bx
je 0x1400232fa
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400232d0
jmp 0x1400232fa
cmp word [rsp + 0x60], bx
je 0x1400232fa
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400232f0
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140007be0
mov al, 1
jmp 0x14002328b
Function at 0x140024080
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [0x140320c20]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea rcx, [r11 - 0x48]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rax, qword [rsp + 0x20]
cmp ax, 9
je 0x1400240df
cmp ax, 6
je 0x1400240df
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140215090
add rsp, 0x68
ret
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140215090
add rsp, 0x68
ret

Function at 0x1400243d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
lea rdi, [0x140000000]
mov r8d, r11d
mov rbx, rcx
movabs rsi, 0x2492492492492493
movabs rbp, 0xcccccccccccccccd
nop dword [rax + rax]
mov rcx, r8
lea r10, [rbx + r8*2]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rbp
mul r8
movzx r9d, byte [rcx + rdi + 0x290048]
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [r8 + rdi + 0x290040]
add r9w, ax
add r9w, r11w
inc r11d
xor word [r10], r9w
movsxd r8, r11d
cmp r8, 0x2e
jb 0x140024410
mov rbp, qword [rsp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x140024490
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r11d, r11d
lea rdi, [0x140000000]
mov r8d, r11d
mov rbx, rcx
movabs rsi, 0x2492492492492493
movabs rbp, 0xcccccccccccccccd
nop dword [rax + rax]
mov rcx, r8
lea r10, [rbx + r8*2]
mov rax, rsi
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 2
imul rax, rax, 7
sub rcx, rax
mov rax, rbp
mul r8
movzx r9d, byte [rcx + rdi + 0x290048]
shr rdx, 2
lea rax, [rdx + rdx*4]
sub r8, rax
movzx eax, byte [r8 + rdi + 0x290040]
add r9w, ax
add r9w, r11w
inc r11d
xor word [r10], r9w
movsxd r8, r11d
cmp r8, 0x11
jb 0x1400244d0
mov rbp, qword [rsp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret