joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400206f0
Capabilities:
Get common file path

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 - 0x290]
sub rsp, 0x390
mov rax, qword [0x1400691d8]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
mov word [rbp + 0x70], r12w
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x14002077b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbx], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
xor r8d, r8d
lea rdx, [0x14005a2c4]
mov rcx, rbx
call fcn.140006e00
jmp 0x14002093b
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400207b2
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.140006e00
lea rcx, [rsp + 0x48]
call fcn.140006990
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
lea rdi, [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x20]
movq r14, xmm1
psrldq xmm0, 8
movq r15, xmm0
cmp r15, 8
cmovae rdi, r14
movups xmm0, xmmword [rsp + 0x30]
movq rsi, xmm0
test rsi, rsi
je 0x140020934
mov r13d, 0x100
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140027ea0
lea rcx, [0x14005b35c]
lea rdx, [0x14005b35e]
movzx eax, word [rcx]
cmp ax, r13w
jae 0x14002088b
movzx eax, al
mov byte [rsp + rax + 0x70], 1
add rcx, 2
cmp rcx, rdx
jne 0x140020840
lea rdx, [rdi + rsi*2]
mov rax, rdi
cmp rdi, rdx
jae 0x14002092a
movzx ecx, word [rax]
cmp cx, r13w
jae 0x14002087a
cmp byte [rsp + rcx + 0x70], 0
jne 0x140020883
add rax, 2
cmp rax, rdx
jmp 0x140020864
sub rax, rdi
sar rax, 1
jmp 0x1400208de
lea r9, [rdi + rsi*2]
mov rax, rdi
cmp rdi, r9
jae 0x1400208d7
mov r10d, 0x5c
nop dword [rax]
mov edx, 1
movzx r8d, word [rax]
lea rcx, [0x14005b35c]
cmp r10w, r8w
je 0x140020883
cmp rdx, 1
je 0x1400208ce
dec rdx
add rcx, 2
cmp word [rcx], r8w
jne 0x1400208b6
test rcx, rcx
jne 0x140020883
add rax, 2
cmp rax, r9
jb 0x1400208a0
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x14002092a
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 7
lea r8, [rax + 1]
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x48]
cmp r15, 8
cmovae rdx, r14
lea rcx, [rsp + 0x20]
call fcn.140006e00
lea rcx, [rsp + 0x48]
call fcn.140006990
movups xmm0, xmmword [rsp + 0x30]
jmp 0x14002092f
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm0
mov rax, rbx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400258e0
lea r11, [rsp + 0x390]
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
Function at 0x140020970
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400691d8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rdx
mov rbx, r8
mov qword [rsp + 0x30], rbx
mov rsi, r9
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
jb 0x1400209bd
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140020a32
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x1400209e7
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140020a2c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140006990
mov rcx, rbx
call fcn.140006990
mov al, 1
jmp 0x140020a44
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call fcn.140006990
mov rcx, rbx
call fcn.140006990
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400258e0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400213c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400691d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140021494
cmp byte [rcx + 0x72], 0
je 0x140021494
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140021490
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140021456
sub eax, 1
je 0x14002145a
cmp eax, 2
jne 0x140021490
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400258e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140021487
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140030ec0
cmp rdi, rax
jne 0x140021490
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14002143e
xor al, al
jmp 0x14002143e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400258e0
add rsp, 0x60
pop rbx
ret
Function at 0x140021b10
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x1400691d8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rcx
movups xmmword [rsp + 0x74], xmm0
xor eax, eax
xor sil, sil
cmp qword [rdx + 0x18], 8
movzx ebp, r8b
movups xmmword [rsp + 0x84], xmm0
mov dword [r11 - 0x34], eax
mov rdi, rdx
movups xmmword [r11 - 0x74], xmm0
mov qword [rsp + 0x68], rax
mov rax, rdx
movups xmmword [r11 - 0x64], xmm0
mov rbx, rcx
mov qword [rsp + 0x50], rdx
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0x58], xmm0
jb 0x140021b93
mov rax, qword [rdx]
cmp qword [rcx + 0x18], 8
mov rdx, rbx
jb 0x140021ba0
mov rdx, qword [rcx]
lea rcx, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140021c0c
test bpl, bpl
je 0x140021bf3
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov sil, 1
mov rcx, rbx
call fcn.140006990
mov rcx, rdi
call fcn.140006990
movzx eax, sil
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1400258e0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140021c50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400691d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140021c81
xor eax, eax
jmp 0x140021dcf
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140021cbe
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x140021cbe
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x140021dcf
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140021dc4
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140021d05
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140021d2e
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.14002fff8
cmp ax, di
je 0x140021dc4
movzx edi, si
jmp 0x140021dc4
lea r8, [rsp + 0x40]
mov word [rsp + 0x50], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x52]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140021d84
sub eax, 1
je 0x140021d84
cmp eax, 2
jne 0x140021dc4
movzx ecx, word [rsp + 0x50]
jmp 0x140021d11
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140021db1
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call fcn.140030ec0
cmp rbp, rax
jne 0x140021dc4
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
movzx eax, si
jne 0x140021dc7
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400258e0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003c89c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14003c702
call fcn.14002df80
mov dword [rax], 0x16
call fcn.14002e1b4
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14003c6e4
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14003c6e4
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x14003c734
lock or dword [rax + 0x14], 0x10
jmp 0x14003c6e4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14003c751
mov rcx, qword [rbp + 0x20]
call fcn.14003cc88
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x14003c766
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x14003c76c
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140038d5c
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14003dbbc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x14003c7bf
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x14003c6e4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14003c82b
mov rcx, qword [rbp + 0x20]
call fcn.140038d5c
cmp eax, 0xffffffff
je 0x14003c812
mov rcx, qword [rbp + 0x20]
call fcn.140038d5c
cmp eax, 0xfffffffe
je 0x14003c812
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140038d5c
movsxd rdi, eax
lea r15, [0x14006ceb0]
mov rcx, rbx
sar rdi, 6
call fcn.140038d5c
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14003c819
lea rax, [0x140069590]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14003c82b
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x14003c861
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14003c85d
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14003c85d
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14003c87f
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14003c88a
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14003c6e9
jmp 0x14003c6b0
Function at 0x180090eb0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
lea rax, [0x180056890]
mov qword [rcx], rax
xor esi, esi
mov dword [rcx + 8], esi
mov word [rcx + 0xc], si
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], sendto
mov byte [rcx + 0x20], sil
lea rax, [0x1800567d8]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x58], rsi
mov qword [rcx + 0x60], sendto
mov byte [rcx + 0x48], sil
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x80], rsi
mov qword [rcx + 0x88], sendto
mov byte [rcx + 0x70], sil
mov qword [rcx + 0x68], rax
mov byte [rcx + 0x90], sil
mov dword [rcx + 0x94], esi
mov qword [rcx + 0xb0], rsi
mov qword [rcx + 0xb8], rsi
mov qword [rcx + 0xc0], rsi
mov byte [rcx + 0xc8], 1
mov dword [rcx + 0xcc], 1
mov qword [rcx + 0xd0], rsi
mov qword [rcx + 0xd8], rsi
mov qword [rcx + 0xe0], rsi
lea rbp, [0x180056880]
mov qword [rcx + 0xa8], rbp
mov qword [rcx + 0xa0], rsi
mov byte [rcx + 0x1e0], sil
xor edx, edx
mov r8d, 0x150
add rcx, 0x1e4
call fcn.18020be10
mov edx, esi
cmp byte [rdi + 0x1e0], sil
setne dl
lea rcx, [rdi + 0x1e4]
call fcn.180102c80
nop
mov dword [rdi + 0x334], esi
mov qword [rdi + 0x348], rsi
mov qword [rdi + 0x350], rsi
mov qword [rdi + 0x358], rsi
lea rbx, [rdi + 0x360]
mov qword [rsp + 0x20], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x70]
call fcn.1801e60b0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rdi + 0x370], rsi
mov qword [rdi + 0x378], rsi
mov qword [rdi + 0x380], rsi
mov qword [rdi + 0x390], rsi
mov qword [rdi + 0x398], rsi
mov qword [rdi + 0x3a0], rsi
mov ecx, dword [0x1802b2ac4]
mov rax, qword gs:[0x58]
mov edx, 0x26820
mov rcx, qword [rax + rcx*8]
lea rbx, [0x1802aff70]
mov eax, dword [rdx + rcx]
cmp dword [0x1802b0138], eax
jg 0x1800910ee
mov qword [rdi + 0x3a8], rbx
mov qword [rdi + 0x3d0], rsi
mov qword [rdi + 0x3d8], rsi
mov qword [rdi + 0x3e0], rsi
mov byte [rdi + 0x3e8], 1
mov dword [rdi + 0x3ec], 1
mov qword [rdi + 0x3f0], rsi
mov qword [rdi + 0x3f8], rsi
mov qword [rdi + 0x400], rsi
mov qword [rdi + 0x3c8], rbp
mov rcx, rdi
call fcn.180095280
nop
mov rax, rdi
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1801e67e0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [0x1802b0138]
call fcn.1801e65c0
cmp dword [0x1802b0138], 0xffffffff
jne 0x180091070
mov edx, 0x102
mov rcx, rbx
call fcn.1801e7840
nop
xor edx, edx
mov r8d, 0x178
lea rcx, [0x1802affc0]
call fcn.18020be10
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180096120
lea rcx, [rsp + 0x30]
call fcn.180103c10
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180096840
nop
lea rcx, [0x18022ff90]
call fcn.1801e6410
nop
lea rcx, [0x1802b0138]
call fcn.1801e6560
jmp 0x180091070
Function at 0x1800a7540
Capabilities:
Identify system language via api

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x1802b2ac4]
mov ecx, 0x26820
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1802b01a4], eax
jg 0x1800a76f2
cmp byte [0x1802b01a0], 0
jne 0x1800a7581
mov al, 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov byte [0x1802b01a0], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
lea rsi, section.__wibu05
mov ecx, eax
bts rcx, 0xb
xor ebx, ebx
nop dword [rax]
cmp rcx, qword [rsi + rbx*8 + 0x6f70]
je 0x1800a7649
cmp rcx, qword [rsi + rbx*8 + 0x6f78]
je 0x1800a75f4
cmp rcx, qword [rsi + rbx*8 + 0x6f80]
je 0x1800a75ee
cmp rcx, qword [rsi + rbx*8 + 0x6f88]
je 0x1800a75e8
add rbx, 4
cmp rbx, 0x10
jb 0x1800a75b0
jmp 0x1800a75fd
add rbx, 3
jmp 0x1800a75f7
add rbx, 2
jmp 0x1800a75f7
inc rbx
cmp rbx, 0x10
jb 0x1800a7649
xor ebx, ebx
nop
cmp rax, qword [rsi + rbx*8 + 0x6f70]
je 0x1800a7649
cmp rax, qword [rsi + rbx*8 + 0x6f78]
je 0x1800a7640
cmp rax, qword [rsi + rbx*8 + 0x6f80]
je 0x1800a763a
cmp rax, qword [rsi + rbx*8 + 0x6f88]
je 0x1800a7634
add rbx, 4
cmp rbx, 0x10
jb 0x1800a7600
jmp 0x1800a7659
add rbx, 3
jmp 0x1800a7643
add rbx, 2
jmp 0x1800a7643
inc rbx
cmp rbx, 0x10
jae 0x1800a7659
mov rdx, qword [rsi + rbx*8 + 0x247010]
mov rcx, rdi
call fcn.1800a7730
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a767c
cmp rbx, 0x10
jae 0x1800a767c
mov rdx, qword [rsi + rbx*8 + 0x247010]
mov rcx, rdi
call fcn.1800a79c0
mov rax, qword [rdi + 8]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x1800a76e9
mov rdx, qword [0x180297010]
mov rcx, rdi
call fcn.1800a7730
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a76e9
mov rdx, qword [0x180297010]
mov rcx, rdi
call fcn.1800a79c0
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a76e9
lea rdx, [0x180056640]
mov rcx, rdi
call fcn.1800a7730
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800a76e9
lea rdx, [0x180056640]
mov rcx, rdi
call fcn.1800a79c0
mov rax, qword [rdi + 8]
test rax, rax
setne al
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1802b01a4]
call fcn.1801e65c0
cmp dword [0x1802b01a4], 0xffffffff
jne 0x1800a7570
cmp qword [rdi + 8], 0
lea rcx, [0x1802b01a4]
sete byte [0x1802b01a0]
call fcn.1801e6560
jmp 0x1800a7570
Function at 0x1800af190
Capabilities:
Get common file path
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x318
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
movsxd r14, r8d
mov rdi, rcx
mov r8, r14
add rcx, 0x550
mov rsi, r9
mov rbp, rdx
call fcn.18009fc90
test rax, rax
je 0x1800af33f
mov rax, qword [rdi + 0x560]
test rax, rax
jne 0x1800af1e3
xor edx, edx
jmp 0x1800af1ea
mov rdx, qword [rdi + 0x558]
mov r9d, dword [rsi]
mov r8d, eax
mov rcx, rdi
call fcn.1801bbc30
test al, al
je 0x1800af33f
mov qword [rsp + 0x310], rbx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x308], r15
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movabs rax, 0xabcc77118461cefd
mov ecx, 0x104
mul qword [rsp + 0x40]
mov rbx, rdx
lea rdx, [rsp + 0x1e0]
shr rbx, 0x1a
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rax, [rsp + 0x38]
mov byte [rsp + 0x1e3], 0
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov r9d, dword [rsp + 0x30]
mov edx, ebx
xor r9d, dword [rsp + 0x34]
mov rcx, rdi
mov r8d, r9d
mov dword [rsp + 0x20], 0xffffffff
xor r9d, dword [rsp + 0x3c]
xor r9d, dword [rsp + 0x38]
xor r8d, dword [rsp + 0x38]
call fcn.1801be8a0
cmp byte [rsp + 0x360], 0
movzx r15d, al
je 0x1800af329
mov rbx, qword [rdi + 0x3a8]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180096120
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.180103b90
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180096840
mov rdi, qword [rdi + 0x3a8]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.180096120
mov edx, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.180103c90
lea rdx, [rsp + 0x60]
mov rcx, rdi
mov ebx, eax
call fcn.180096840
mov dword [rsi], ebx
mov rbx, qword [rsp + 0x310]
movzx eax, r15b
mov r15, qword [rsp + 0x308]
jmp 0x1800af341
xor al, al
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1801e67e0
add rsp, 0x318
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800bc520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x150
lea rcx, [rsp + 0x34]
call fcn.18020be10
xor ebx, ebx
mov edx, ebx
cmp byte [rsp + 0x30], bl
setne dl
lea rcx, [rsp + 0x34]
call fcn.180102c80
nop
mov dword [rbp + 0x90], 0x74e3a5d6
mov dword [rbp + 0x94], 0x18e3f236
mov dword [rbp + 0x98], 0xa4ccaba6
mov dword [rbp + 0x9c], 0x73699576
mov r9d, ebx
cmp byte [rsp + 0x30], bl
setne r9b
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 0x10]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x34]
call fcn.180103720
xorps xmm0, xmm0
movups xmmword [rbp - 0x7c], xmm0
lea rdx, [0x1802a3940]
lea rcx, [rsp + 0x30]
call fcn.18009fa60
mov eax, dword [0x1802a3940]
shr eax, 1
test al, 1
jne 0x1800bc61f
mov r8d, 0xd6a5e374
lea rax, [0x1802afad1]
nop word [rax + rax]
mov edx, dword [rax]
mov ecx, edx
xor ecx, r8d
mov dword [rax], ecx
mov r8d, edx
add ebx, 4
lea rax, [rax + 4]
cmp ebx, 2
jb 0x1800bc600
or dword [0x1802a3940], 2
lea rcx, [rsp + 0x34]
call fcn.180103250
nop
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rbp
ret
Function at 0x1800e4e00
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x1800e4e6c
xor r9d, r9d
lea rcx, [rsp + 0x38]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x1800e4e6c
lea rax, [rsp + 0x38]
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x60], 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1801e67e0
add rsp, 0x80
pop rbx
ret