joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401717e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402ac9b0]
mov ecx, dword [0x1402a76e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401719cc
mov rsi, qword [0x1402ac9a8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140171a0e
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x1402ac964], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x1402ac968]
mov dword [0x1402ac968], ebx
cmovne ebp, ecx
mov eax, dword [0x1402ac96c]
cmp ebp, eax
je 0x1401719ab
test eax, eax
je 0x14017193c
mov rax, qword [0x14029adc8]
lea rcx, [0x14017e8a0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140171a2c
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140171a55
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402ac9c8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402ac9b8]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x1402ac970]
cmp r8, 2
jb 0x140171a3d
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402ac970], rax
mov ecx, dword [0x1402ac96c]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402ac96c], ebp
test ebx, ebx
je 0x1401719ab
mov rax, qword [0x14029adc8]
lea rcx, [0x14017e8a0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140171a1b
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140171a7c
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402ac9c8]
mov qword [0x1402ac9b8], rax
mov ecx, dword [0x1402ac96c]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401830b0
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1402ac9b0]
call fcn.1401805cc
cmp dword [0x1402ac9b0], 0xffffffff
jne 0x14017181e
mov ecx, 8
call fcn.1401803a4
mov qword [rax], 0
mov qword [0x1402ac9a8], rax
lea rcx, [0x1402ac9b0]
call fcn.140180634
jmp 0x14017181e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140171836
mov rcx, rdi
call qword [case.0x1401e9be0.0]
mov rax, qword [rdi]
jmp 0x140171998
mov rcx, rdi
call qword [case.0x1401e9be0.0]
mov rax, qword [rdi]
jmp 0x1401718d0
cmp rcx, rax
je 0x140171929
add rcx, rdx
cmp rcx, 1
ja 0x140171929
jmp 0x140171aa3
mov rcx, qword [0x1402ac9c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1401718cb
mov rcx, qword [0x1402ac9c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140171998
int3
Function at 0x140172800
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x498], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x140268c70]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x140276b67]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1d6
call fcn.1400e92c0
xor r12d, r12d
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14011f810
lea rcx, [rsp + 0x240]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401851f0
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x1401728cc
mov rax, qword [rbx]
jmp 0x1401728cc
mov word [rsp + 0x446], 0
jmp 0x1401728df
inc r12
cmp r12, 0x104
je 0x1401728b4
movzx ecx, word [rax + r12*2]
mov word [rsp + r12*2 + 0x240], cx
test cx, cx
jne 0x1401728c0
lea rcx, [rsp + 0x240]
call fcn.1400d8260
lea rcx, [rsp + 0x30]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401851f0
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x14017290a
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x30], dx
test dx, dx
je 0x140172930
inc rcx
cmp rcx, 0x104
jne 0x14017290c
mov word [rsp + 0x236], 0
lea rcx, [rsp + 0x30]
call fcn.1400d8260
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140172946
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140172952
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1401729d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14017297e
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140172987
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x1401729a2
test eax, eax
je 0x1401729d8
lea rcx, [rsp + 0x450]
call fcn.14011f330
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.1401830b0
mov eax, edi
add rsp, 0x4a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov dil, 1
jmp 0x1401729a2
mov ecx, ebp
call fcn.140009be0
cmp eax, 0xfffffffc
jne 0x1401729e9
call fcn.1401ea770
mov dword [rsi], eax
xor edi, edi
jmp 0x1401729a2
Function at 0x14017f2c0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
mov rdx, qword [rcx]
mov r9, qword [rcx + 8]
mov r8, r9
sub r8, rdx
je 0x14017f357
mov rax, r8
shr rax, 2
mov r10, rdx
not r10
add r10, r9
je 0x14017f32e
mov r10, r8
and r10, 0xfffffffffffffffe
xor r9d, r9d
lea r11, [0x140277fa0]
nop dword [rax + rax]
movzx esi, al
movzx edi, byte [rdx + r9]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [rdx + r9 + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add r9, 2
cmp r10, r9
jne 0x14017f300
jmp 0x14017f331
xor r9d, r9d
test r8b, 1
je 0x14017f351
movzx r8d, al
movzx edx, byte [rdx + r9]
xor edx, r8d
lea r8, [0x140277fa0]
shr eax, 8
xor eax, dword [r8 + rdx*4]
mov dword [rcx + 0x18], eax
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14017f351
sub rsp, 0x28
movapd xmmword [rsp + 0x10], xmm7
movapd xmmword [rsp], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x1401c16f8
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140275010]
subpd xmm2, xmmword [0x140275020]
haddpd xmm2, xmm2
mov ecx, 1
movdqa xmm3, xmmword [0x140275010]
movapd xmm4, xmmword [0x140275020]
movsd xmm5, qword [0x14025ba70]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1401c171a
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r10, [rcx - 1]
movq xmm7, r10
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r10d, xmm7
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x1401c1690
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1401c171d
mov dword [r10 - 4], 0x7fffffff
mov rcx, r8
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
add rsp, 0x28
jmp 0x14017f2c0
int3
int3

Function at 0x1401822f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140182342
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140182342
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140182342
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140182342
cmp dword [rcx + 0x84], 0xe
jbe 0x140182342
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140182344
xor al, al
add rsp, 0x28
ret
Function at 0x14018277c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1401827f4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401827f4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1401827f4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401827e8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140182806
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1401827d6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1401827f6

Function at 0x140194c08
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140194c3f
call fcn.140180458
mov dword [rax], 0x16
call fcn.1401aed14
xor eax, eax
jmp 0x140194ccd
mov rdx, r9
mov rcx, r8
call fcn.140194cf0
mov rbx, rax
test rax, rax
je 0x140194cca
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140194d60]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140194cb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140197cb4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140194c9e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140194cad
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14017e9b0
jmp 0x140194cca
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140194cc7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140197ff4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x14025b8e8]
mov rbp, rcx
call fcn.1401b16ac
xor edi, edi
test rax, rax
je 0x1401980da
mov ebx, edi
call fcn.140180458
mov r14d, dword [rax]
call fcn.140180458
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140181a80
mov rsi, rax
test rax, rax
je 0x14019806b
call fcn.140180458
mov dword [rax], r14d
jmp 0x140198095
call fcn.140180458
cmp dword [rax], 0x22
jne 0x1401980d2
call fcn.140180458
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140181a80
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401980d2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140198099
cmp rax, 3
je 0x1401980b4
mov rcx, rsi
call fcn.140197f50
test al, al
je 0x1401980c5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401980c5
mov dil, 1
mov rcx, rbx
call fcn.14017e9b0
mov al, dil
jmp 0x1401980dc
mov rcx, rbx
call fcn.14017e9b0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401830b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1401a8dd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401a8df8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401a8df8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1401b2e68
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401ac974
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401b2f09
cmp ebx, dword [rsp + 0x30]
je 0x1401b2f02
test esi, esi
je 0x1401b2f02
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401b2edd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401b2eea
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401b2ec7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401b2eee
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401b2f0b
mov eax, 1
jmp 0x1401b2f0b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401b4478
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401b44a8
xor eax, eax
jmp 0x1401b456b
mov rbp, rbx
cmp word [rax], si
je 0x1401b44cd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401b44b4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401b44b0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401b4398
movsxd r14, eax
test eax, eax
jne 0x1401b450b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401b44a1
mov rcx, r14
call fcn.1400b4c70
mov rdi, rax
test rax, rax
jne 0x1401b4524
xor ecx, ecx
call fcn.14017e9b0
jmp 0x1401b4500
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401b4398
test eax, eax
jne 0x1401b4555
mov rcx, rdi
call fcn.14017e9b0
jmp 0x1401b455f
xor ecx, ecx
call fcn.14017e9b0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1401b4588
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401b460f
mov rsi, rbx
cmp word [rax], bp
je 0x1401b45ce
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401b45b8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401b45b4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400b4c70
mov rdi, rax
test rax, rax
je 0x1401b45fc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140184b40
mov rbp, rdi
xor ecx, ecx
call fcn.14017e9b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401b6bc4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14018f5a4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401b6c4e
cmp byte [rbp - 0x21], r15b
je 0x1401b6c49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401b6c84
call fcn.1401ad144
test eax, eax
jne 0x1401b6c70
cmp byte [rbp - 0x21], r15b
je 0x1401b6c68
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401b6c84
cmp byte [rbp - 0x21], r15b
je 0x1401b6c81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140194a8c
test eax, eax
jne 0x1401b6d24
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14018f5a4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401b6cc3
cmp byte [rbp - 0x21], r15b
je 0x1401b6cf8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401b6cf8
call fcn.1401ad144
test eax, eax
jne 0x1401b6ce4
cmp byte [rbp - 0x21], r15b
je 0x1401b6cdd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401b6cf8
cmp byte [rbp - 0x21], r15b
je 0x1401b6cf5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140194a8c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401b6d24
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401b6d27
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401b6d35
mov rcx, rdi
call fcn.14017e9b0
cmp byte [rbp + 0x3f], r15b
je 0x1401b6d44
mov rcx, qword [rbp + 0x27]
call fcn.14017e9b0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1401b6e4c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1401b6e96
call fcn.140197c94
mov dword [rax], 0xf
call fcn.140180458
mov dword [rax], 0xd
call fcn.1401aed14
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401830b0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1401b6ea1
lea eax, [rbx + 1]
jmp 0x1401b6e83
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1401b6e81
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1401b6e83
Function at 0x1401b8fa0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401b8fb6
mov al, 1
jmp 0x1401b9016
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401b8fc7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401b9014
mov ecx, dword [rcx + 0x18]
nop
call fcn.14019851c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401b9014
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401b9014
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401b9014
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401b9016
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401c1620
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
mov rdx, qword [rcx]
mov r9, qword [rcx + 8]
mov r8, r9
sub r8, rdx
je 0x14017f357
mov rax, r8
shr rax, 2
mov r10, rdx
not r10
add r10, r9
je 0x14017f32e
mov r10, r8
and r10, 0xfffffffffffffffe
xor r9d, r9d
lea r11, [0x140277fa0]
nop dword [rax + rax]
movzx esi, al
movzx edi, byte [rdx + r9]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [rdx + r9 + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add r9, 2
cmp r10, r9
jne 0x14017f300
jmp 0x14017f331
xor r9d, r9d
test r8b, 1
je 0x14017f351
movzx r8d, al
movzx edx, byte [rdx + r9]
xor edx, r8d
lea r8, [0x140277fa0]
shr eax, 8
xor eax, dword [r8 + rdx*4]
mov dword [rcx + 0x18], eax
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14017f351
sub rsp, 0x28
movapd xmmword [rsp + 0x10], xmm7
movapd xmmword [rsp], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x1401c16f8
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140275010]
subpd xmm2, xmmword [0x140275020]
haddpd xmm2, xmm2
mov ecx, 1
movdqa xmm3, xmmword [0x140275010]
movapd xmm4, xmmword [0x140275020]
movsd xmm5, qword [0x14025ba70]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1401c171a
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r10, [rcx - 1]
movq xmm7, r10
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r10d, xmm7
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x1401c1690
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1401c171d
mov dword [r10 - 4], 0x7fffffff
mov rcx, r8
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
add rsp, 0x28
jmp 0x14017f2c0
int3
int3
Function at 0x1401e9f90
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140297028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401ea001
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401ea00b
mov dil, 1
test bl, bl
je 0x1401e9fea
cmp byte [rsi + 8], 0
je 0x1401ea006
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401830b0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401e9fbd
mov rcx, qword [rsi]
jmp 0x1401e9fdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1401ea033
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401ea038
xor edi, edi
jmp 0x1401e9fea
mov rcx, qword [rsi]
jmp 0x1401ea020
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401ea05f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401e9fea
mov rcx, qword [rsi]
jmp 0x1401ea04f