joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035e70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400475f0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400475f0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140036b42
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14005d388]
test eax, eax
je 0x140036bda
lea rax, [0x14005d360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14005d390]
mov qword [rbp - 8], rax
jmp 0x140036bbe
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140036bb2
cmp qword [rbp - 0x10], 0
je 0x140036bb2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140036b78
lea rax, [0x14005d360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140036bdb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140036ce0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140036d08
mov eax, 0
jmp 0x140036d56
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140036d31
mov eax, 0
jmp 0x140036d56
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140036d51
mov eax, 0
jmp 0x140036d56
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140036d5c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140036dda
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140036dd1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140036dd1
mov rax, qword [rbp - 8]
jmp 0x140036def
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140036da4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1800020c0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rsi, r8
cmp qword [0x18003c370], rbx
je 0x18000216d
mov edx, 0x1d2
lea rcx, [rsp + 0x20]
call fcn.1800086bc
cmp qword [rax + 0x18], 0xf
jbe 0x1800020fa
mov rax, qword [rax]
mov rcx, qword [0x18003c370]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x38]
mov rdi, rax
cmp rdx, 0xf
jbe 0x180002146
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002141
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000217f
call fcn.18000ff90
movdqa xmm0, xmmword [0x180031f60]
mov byte [rsp + 0x20], bl
movdqu xmmword [rsp + 0x30], xmm0
test rdi, rdi
je 0x18000216d
mov r8, rsi
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rdi
mov ebx, eax
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.180016dd0
int3

Function at 0x180003190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
mov rdi, rcx
mov r10d, 4
xor ebx, ebx
xor r9d, r9d
test eax, eax
jle 0x1800031ca
mov r11, r8
mov al, byte [r11]
inc ebx
mov rcx, qword [rdx]
lea r11, [r11 + 4]
xor byte [rcx + r9], al
inc r9
mov eax, dword [rdi]
cmp ebx, eax
jl 0x1800031b1
add rdx, 8
inc r8
sub r10, 1
jne 0x1800031a5
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1800031e4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

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 r12
push r13
push r14
sub rsp, 0x20
mov rdi, rcx
mov r12d, 4
mov ecx, r12d
mov rbp, r8
mov rsi, rdx
call fcn.18001029c
mov ecx, r12d
mov rbx, rax
call fcn.18001029c
mov edx, dword [rdi + 4]
xor r13d, r13d
mov r9, rax
mov r10d, r13d
lea ecx, [rdx*4]
test ecx, ecx
jle 0x18000325a
mov rcx, rbp
sub rsi, rbp
mov al, byte [rcx + rsi]
inc r10d
mov byte [rcx], al
inc rcx
mov edx, dword [rdi + 4]
lea eax, [rdx*4]
cmp r10d, eax
jl 0x180003240
mov eax, dword [rdi + 8]
lea r10d, [rdx*4]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jge 0x180003402
movsxd rdx, r10d
add rdx, 0xfffffffffffffffd
add rdx, rbp
mov sil, byte [rdx - 1]
lea r14, [rdx]
mov byte [rbx], sil
mov eax, r10d
mov cl, byte [rdx]
mov byte [rbx + 1], cl
mov r8b, byte [rdx + 1]
mov byte [rbx + 2], r8b
mov r11b, byte [rdx + 2]
cdq
and edx, 3
mov byte [rbx + 3], r11b
add eax, edx
sar eax, 2
cdq
idiv dword [rdi + 4]
test edx, edx
jne 0x18000334e
mov byte [rbx + 1], r8b
mov rdx, rbx
mov r8, r12
mov byte [rbx], cl
lea r12, [0x180031a90]
mov byte [rbx + 2], r11b
mov byte [rbx + 3], sil
movzx eax, byte [rdx]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
mov al, byte [rcx + r12]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1800032d2
mov ecx, dword [rdi + 4]
mov eax, r10d
shl ecx, 2
cdq
idiv ecx
mov r8b, 1
mov r12d, 4
dec eax
test eax, eax
jle 0x180003325
mov edx, eax
mov al, r8b
add r8b, r8b
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
xor r8b, cl
sub rdx, 1
jne 0x18000330d
and word [r9 + 2], 0
mov rdx, r9
mov byte [r9], r8b
sub rdx, rbx
mov byte [r9 + 1], r13b
mov rcx, rbx
mov r8, r12
mov al, byte [rcx + rdx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x18000333e
jmp 0x180003387
cmp dword [rdi + 4], 6
jle 0x180003387
cmp edx, r12d
jne 0x180003387
mov rdx, rbx
lea r13, [0x180031a90]
mov r8, r12
movzx eax, byte [rdx]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
mov al, byte [rcx + r13]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x180003366
xor r13d, r13d
mov ecx, dword [rdi + 4]
lea rdx, [r14 + 4]
shl ecx, 2
mov eax, r10d
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp]
xor al, byte [rbx]
mov byte [r14 + 3], al
mov eax, r10d
mov ecx, dword [rdi + 4]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 1]
xor al, byte [rbx + 1]
mov byte [rdx], al
mov eax, r10d
mov ecx, dword [rdi + 4]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 2]
xor al, byte [rbx + 2]
mov byte [r14 + 5], al
mov eax, r10d
mov ecx, dword [rdi + 4]
add r10d, r12d
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 3]
xor al, byte [rbx + 3]
mov byte [r14 + 6], al
mov eax, dword [rdi + 8]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jl 0x180003280
mov rcx, r9
call fcn.18000ff90
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.18000ff90
Function at 0x180003430
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov eax, dword [rcx]
mov r11, rcx
mov r8d, 4
xor r10d, r10d
xor r9d, r9d
test eax, eax
jle 0x18000346e
mov rcx, qword [rdx]
lea rbx, [0x180031990]
inc r10d
movzx eax, byte [rcx + r9]
mov al, byte [rax + rbx]
mov byte [rcx + r9], al
inc r9
mov eax, dword [r11]
cmp r10d, eax
jl 0x18000344a
add rdx, 8
sub r8, 1
jne 0x180003440
mov rbx, qword [rsp + 8]
ret

Function at 0x180003480
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov bl, r8b
mov r11b, dl
xor r10b, r10b
mov edi, 8
mov al, r10b
mov dl, r11b
xor al, r11b
movzx ecx, al
test bl, 1
movzx eax, r10b
cmove ecx, eax
mov al, r11b
add al, al
shr bl, 1
movzx r8d, al
mov r10b, cl
mov cl, r8b
xor cl, 0x1b
test dl, dl
movzx r11d, cl
cmovns r11d, r8d
sub rdi, 1
jne 0x180003498
mov rbx, qword [rsp + 8]
mov al, r10b
mov rdi, qword [rsp + 0x10]
ret
Function at 0x18000353c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
movaps xmmword [r11 - 0x48], xmm6
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
mov r8, qword [rcx + 0x10]
mov eax, 0x20
cmp r8, rax
cmovae r8, rax
cmp qword [rcx + 0x18], 0xf
jbe 0x18000359d
mov rcx, qword [rcx]
test r8, r8
je 0x1800035db
test rcx, rcx
je 0x1800035cb
cmp r8, rax
ja 0x1800035be
mov rdx, rcx
lea rcx, [rsp + 0x140]
call fcn.180026210
jmp 0x1800035db
call fcn.180019788
mov dword [rax], 0x22
jmp 0x1800035d6
call fcn.180019788
mov dword [rax], 0x16
call fcn.180016db0
xorps xmm6, xmm6
movups xmmword [rsp + 0x130], xmm6
mov r8, qword [rbx + 0x10]
mov esi, 0x10
cmp r8, rsi
cmovae r8, rsi
cmp qword [rbx + 0x18], 0xf
jbe 0x180003600
mov rbx, qword [rbx]
test r8, r8
je 0x180003646
test rbx, rbx
je 0x180003636
cmp r8, rsi
ja 0x180003629
mov rdx, rbx
lea rcx, [rsp + 0x130]
call fcn.180026210
movups xmm6, xmmword [rsp + 0x130]
jmp 0x180003646
call fcn.180019788
mov dword [rax], 0x22
jmp 0x180003641
call fcn.180019788
mov dword [rax], 0x16
call fcn.180016db0
mov r12, qword [rdi + 0x10]
mov eax, r12d
and eax, 0xf
mov ecx, eax
mov r13d, esi
sub r13d, eax
mov r15, rsi
sub r15, rcx
lea r8, [r15 + r12]
mov rbx, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, rbx
sub rcx, rdx
cmp r8, rcx
jae 0x18000367a
lea rbx, [rdx + r8]
jmp 0x1800036a9
jbe 0x1800036ad
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp r8, rax
jbe 0x180003699
mov rdx, r8
mov rcx, r14
call fcn.180003b78
mov rbx, qword [r14 + 8]
jmp 0x1800036ad
sub r8, rcx
mov rcx, rbx
add rbx, r8
xor edx, edx
call fcn.180025e50
mov qword [r14 + 8], rbx
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1800036bb
mov rdi, qword [rdi]
mov rcx, qword [r14]
sub rbx, rcx
test rsi, rsi
je 0x180003713
test rcx, rcx
jne 0x1800036d8
call fcn.180019788
mov dword [rax], 0x16
jmp 0x18000370e
test rdi, rdi
je 0x1800036ef
cmp rbx, rsi
jb 0x1800036ef
mov r8, rsi
mov rdx, rdi
call fcn.180026210
jmp 0x180003713
mov r8, rbx
xor edx, edx
call fcn.180025e50
test rdi, rdi
je 0x1800036cb
cmp rbx, rsi
jae 0x180003713
call fcn.180019788
mov dword [rax], 0x22
call fcn.180016db0
mov rcx, qword [r14]
add rcx, r12
mov r8, r15
mov edx, r13d
call fcn.180025e50
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.1800037d0
movdqu xmmword [rsp + 0x120], xmm6
mov rsi, qword [r14]
mov rax, qword [r14 + 8]
sub rax, rsi
mov edi, eax
lea rdx, [rsp + 0x120]
mov ebx, 1
test eax, eax
je 0x180003798
dec rdi
shr rdi, 4
add rdi, rbx
mov rcx, rsi
sub rdx, rsi
mov r8d, 0x10
mov al, byte [rcx + rdx]
xor byte [rcx], al
add rcx, rbx
sub r8, rbx
jne 0x180003772
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180003970
mov rdx, rsi
add rsi, 0x10
sub rdi, rbx
jne 0x180003766
mov byte [rsp + 0x20], bl
jmp 0x1800037a2
mov al, bl
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18000ff70
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800065d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [rcx]
mov rbx, rdx
mov rdi, rcx
movups xmm1, xmmword [rcx + 0x10]
mov qword [rbp - 0x39], rdx
movups xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x56], 0x3433
movups xmmword [rbp - 0x21], xmm1
mov dword [rbp - 0x4c], 0x666564
mov word [rbp - 0x59], 0x3130
mov word [rbp - 0x51], 0x3938
mov word [rbp - 0x4e], 0x6362
mov word [rbp - 0x53], 0x3736
mov byte [rbp - 0x4f], 0x61
mov byte [rbp - 0x57], 0x32
mov byte [rbp - 0x54], 0x35
call fcn.180006478
xor edx, edx
lea r8, [rbp - 0x31]
sub r8, rdi
lea r9d, [rdx + 8]
mov ecx, dword [rdi]
mov eax, ecx
shr rax, 0x1c
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 9], al
mov eax, ecx
shr rax, 0x18
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 8], al
mov eax, ecx
shr rax, 0x14
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 7], al
mov eax, ecx
shr rax, 0x10
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 6], al
mov eax, ecx
shr rax, 0xc
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 5], al
mov eax, ecx
shr rax, 8
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 4], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 3], al
mov al, byte [rbp + rcx - 0x59]
mov byte [rbp + rdx - 2], al
add rdx, 8
mov eax, dword [rdi + r8]
mov dword [rdi], eax
lea rdi, [rdi + 4]
sub r9, 1
jne 0x180006651
cmp rdx, 0x41
jae 0x180006745
xorps xmm0, xmm0
mov byte [rbp + rdx - 9], r9b
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], r9
lea rax, [rbp - 9]
and qword [rbx + 0x18], r9
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000670b
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.180001adc
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18000ff70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180010108
int3

Function at 0x18000674c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov r8, r9
mov rdx, rax
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov rcx, rbx
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.1800063a4
mov rdx, rdi
mov rcx, rbx
call fcn.1800065d0
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1800079d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xb88]
sub rsp, 0xc80
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rbp + 0xb70], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
and dword [rsp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x30], 1
mov ebx, 0x800
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180025e50
mov dword [rsp + 0x68], ebx
mov edx, 0x111
lea rcx, [rsp + 0x38]
call fcn.1800086bc
nop
cmp qword [rax + 0x18], 0xf
jbe 0x180007a61
mov rax, qword [rax]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
mov rdx, rax
call fcn.180006e64
mov ebx, eax
mov esi, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180007ab9
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007ab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007bfc
call fcn.18000ff90
test ebx, ebx
jne 0x180007bcb
mov edx, 0x118
lea rcx, [rsp + 0x38]
call fcn.1800086bc
cmp qword [rax + 0x18], 0xf
jbe 0x180007ada
mov rax, qword [rax]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x180007b3d
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007b38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007bf6
call fcn.18000ff90
test ebx, ebx
jne 0x180007bc0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x770]
call fcn.180025e50
mov r8d, dword [rsp + 0x68]
lea rdx, [rbp + 0x770]
lea rcx, [rsp + 0x70]
call fcn.18000791c
lea rax, [rbp + 0x770]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180007b76
cmp rbx, qword [rdi + 0x18]
ja 0x180007bae
mov rsi, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180007b92
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x770]
mov rcx, rsi
call fcn.180026210
mov byte [rsi + rbx], 0
jmp 0x180007bc0
lea r9, [rbp + 0x770]
mov rdx, rbx
mov rcx, rdi
call fcn.180002a3c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0xb70]
xor rcx, rsp
call fcn.18000ff70
lea r11, [rsp + 0xc80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180016dd0
int3
call fcn.180016dd0
int3
Function at 0x18000c470
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 7
mov rbx, rcx
jbe 0x18000c487
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000c4c3
mov edi, 1
cmp qword [rbx + 0x18], 7
mov rcx, rbx
jbe 0x18000c4a3
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000c4c3
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x78
jl 0x18000c496
xor al, al
jmp 0x18000c4c5
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000c624
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
xor r12d, r12d
mov dil, r12b
call fcn.1800023cc
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000c89c
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r12
lea r13d, [r12 + 7]
mov qword [rbp + 0x178], r13
mov word [rbp + 0x160], r12w
lea rdx, [rbp + 0x160]
mov rcx, rbx
call fcn.18000c4d0
lea r14, [rbp + 0x160]
mov r8, qword [rbp + 0x160]
cmp qword [rbp + 0x178], r13
cmova r14, r8
lea rcx, [rbp + 0x160]
cmova rcx, r8
mov rax, qword [rbp + 0x170]
lea r15, [rcx + rax*2]
lea rbx, [rbp + 0x160]
cmova rbx, r8
cmp rbx, r15
je 0x18000c702
sub r14, rbx
movzx ecx, word [rbx]
call fcn.1800194f4
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c6ec
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call fcn.180025e50
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000230c
mov r13d, 1
jmp 0x18000c87e
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], r12
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x18000c755
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x180]
call fcn.1800085fc
nop
lea r14, [rbp + 0x180]
mov r8, qword [rbp + 0x198]
cmp r8, 7
seta cl
mov rdx, qword [rbp + 0x180]
cmova r14, rdx
lea rax, [rbp + 0x180]
test cl, cl
cmovne rax, rdx
mov r9, qword [rbp + 0x190]
lea r15, [rax + r9*2]
lea rbx, [rbp + 0x180]
cmovne rbx, rdx
cmp rbx, r15
je 0x18000c7e7
sub r14, rbx
movzx ecx, word [rbx]
call fcn.1800194f4
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c7bc
mov r8, qword [rbp + 0x198]
mov r9, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
cmp r8, 7
cmova rcx, rdx
lea r8, [rbp + 0x160]
cmp qword [rbp + 0x178], 7
cmova r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x170]
cmp rdx, r9
jne 0x18000c865
test rdx, rdx
je 0x18000c834
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x18000c865
add rcx, 2
sub rdx, r13
jne 0x18000c821
mov r8d, dword [rsp + 0x28]
call fcn.180002484
mov rbx, rax
test rax, rax
je 0x18000c865
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx edi, dil
cmp eax, r13d
cmove edi, r13d
mov rcx, rbx
call fcn.180002188
nop
lea rcx, [rbp + 0x180]
call fcn.18000270c
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000224c
cmp eax, r13d
je 0x18000c734
mov rcx, rsi
call fcn.180002188
nop
lea rcx, [rbp + 0x160]
call fcn.18000270c
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.18000ff70
lea r11, [rsp + 0x2b0]
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 0x18000eb68
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x180036040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
xorps xmm0, xmm0
or rbx, 0xffffffffffffffff
mov qword [rbp + 0x17], rsi
mov r8, rbx
mov qword [rbp + 0x1f], rsi
mov rdi, rcx
movups xmmword [rbp + 7], xmm0
inc r8
cmp word [rcx + r8*2], si
jne 0x18000ebac
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.1800085fc
cmp qword [rbp + 0x1f], 7
lea rdx, [rbp + 7]
mov r9, qword [rbp + 0x17]
xorps xmm0, xmm0
cmova rdx, qword [rbp + 7]
movdqa xmm1, xmmword [0x180031f50]
movups xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x27], si
movdqu xmmword [rbp + 0x37], xmm1
test r9, r9
je 0x18000ec1d
lea rcx, [r9 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdx + rax*2]
jmp 0x18000ec0e
cmp r8, rdx
je 0x18000ec1d
sub r8, 2
cmp word [r8], 0x5c
jne 0x18000ec05
sub r8, rdx
sar r8, 1
jmp 0x18000ec20
mov r8, rbx
cmp r8, rbx
je 0x18000ec68
cmp r9, r8
lea rdx, [rbp + 7]
xorps xmm0, xmm0
lea rcx, [rbp - 0x19]
cmovb r8, r9
xorps xmm1, xmm1
cmp qword [rbp + 0x1f], 7
movups xmmword [rbp - 0x19], xmm0
cmova rdx, qword [rbp + 7]
movdqu xmmword [rbp - 9], xmm1
call fcn.1800085fc
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.18000d868
lea rcx, [rbp - 0x19]
call fcn.18000270c
mov ebx, esi
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000ec94
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x18000ec6a
jmp 0x18000eca8
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x27]
call fcn.18000cf00
lea rcx, [rbp + 0x27]
call fcn.18000270c
lea rcx, [rbp + 7]
call fcn.18000270c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18000ff70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18000f698
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18000f6d2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18000f6d7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18000f720
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180028630]
cmp byte [rcx + rax], 0
je 0x18000f720
dec r8
sub rdx, 1
jne 0x18000f706
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret