joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800031dc
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.18001054c
mov ecx, r12d
mov rbx, rax
call fcn.18001054c
mov edx, dword [rdi + 4]
xor r13d, r13d
mov r9, rax
mov r10d, r13d
lea ecx, [rdx*4]
test ecx, ecx
jle 0x180003252
mov rcx, rbp
sub rsi, rbp
mov al, byte [rsi + rcx]
inc r10d
mov byte [rcx], al
inc rcx
mov edx, dword [rdi + 4]
lea eax, [rdx*4]
cmp r10d, eax
jl 0x180003238
mov eax, dword [rdi + 8]
lea r10d, [rdx*4]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jge 0x1800033fa
movsxd r14, r10d
add r14, 0xfffffffffffffffd
add r14, rbp
mov sil, byte [r14 - 1]
mov eax, r10d
cdq
mov byte [rbx], sil
mov cl, byte [r14]
and edx, 3
add eax, edx
mov byte [rbx + 1], cl
mov r8b, byte [r14 + 1]
sar eax, 2
mov byte [rbx + 2], r8b
cdq
mov r11b, byte [r14 + 2]
mov byte [rbx + 3], r11b
idiv dword [rdi + 4]
test edx, edx
jne 0x180003344
mov byte [rbx + 1], r8b
mov rdx, rbx
mov r8, r12
mov byte [rbx], cl
lea r12, [0x180030a40]
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 0x1800032c8
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 0x18000331b
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 0x180003303
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 [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180003334
jmp 0x18000337d
cmp dword [rdi + 4], 6
jle 0x18000337d
cmp edx, r12d
jne 0x18000337d
mov rdx, rbx
lea r13, [0x180030a40]
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 0x18000335c
xor r13d, r13d
mov ecx, dword [rdi + 4]
mov eax, r10d
shl ecx, 2
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 [r14 + 4], 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
add r14, 4
mov eax, dword [rdi + 8]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jl 0x180003278
mov rcx, r9
call fcn.180010240
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.180010240
Function at 0x180003428
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov eax, dword [rcx]
mov r8, rdx
mov r11, rcx
mov r9d, 4
xor ebx, ebx
xor r10d, r10d
test eax, eax
jle 0x180003472
mov rdx, qword [r8]
inc ebx
movzx eax, byte [rdx + r10]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
lea rax, [0x180030940]
mov al, byte [rcx + rax]
mov byte [rdx + r10], al
inc r10
mov eax, dword [r11]
cmp ebx, eax
jl 0x180003444
add r8, 8
sub r9, 1
jne 0x18000343b
mov rbx, qword [rsp + 8]
ret

Function at 0x180003484
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 0x18000349c
mov rbx, qword [rsp + 8]
mov al, r10b
mov rdi, qword [rsp + 0x10]
ret
Function at 0x180003540
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 [0x180035028]
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
lea esi, [rax - 0x10]
cmp qword [rcx + 0x18], rsi
jb 0x1800035a3
mov rcx, qword [rcx]
test r8, r8
je 0x1800035e1
test rcx, rcx
je 0x1800035d1
cmp r8, rax
ja 0x1800035c4
mov rdx, rcx
lea rcx, [rsp + 0x140]
call fcn.180012940
jmp 0x1800035e1
call fcn.180019528
mov dword [rax], 0x22
jmp 0x1800035dc
call fcn.180019528
mov dword [rax], 0x16
call fcn.180016b44
xorps xmm6, xmm6
movups xmmword [rsp + 0x130], xmm6
mov r8, qword [rbx + 0x10]
cmp r8, rsi
cmovae r8, rsi
cmp qword [rbx + 0x18], rsi
jb 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.180012940
movups xmm6, xmmword [rsp + 0x130]
jmp 0x180003646
call fcn.180019528
mov dword [rax], 0x22
jmp 0x180003641
call fcn.180019528
mov dword [rax], 0x16
call fcn.180016b44
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.180003b7c
mov rbx, qword [r14 + 8]
jmp 0x1800036ad
sub r8, rcx
mov rcx, rbx
add rbx, r8
xor edx, edx
call fcn.180012530
mov qword [r14 + 8], rbx
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1800036bb
mov rdi, qword [rdi]
mov rcx, qword [r14]
sub rbx, rcx
test rsi, rsi
je 0x180003713
test rcx, rcx
jne 0x1800036d8
call fcn.180019528
mov dword [rax], 0x16
jmp 0x18000370e
test rdi, rdi
je 0x1800036ef
cmp rbx, rsi
jb 0x1800036ef
mov r8, rsi
mov rdx, rdi
call fcn.180012940
jmp 0x180003713
mov r8, rbx
xor edx, edx
call fcn.180012530
test rdi, rdi
je 0x1800036cb
cmp rbx, rsi
jae 0x180003713
call fcn.180019528
mov dword [rax], 0x22
call fcn.180016b44
mov rcx, qword [r14]
add rcx, r12
mov r8, r15
mov edx, r13d
call fcn.180012530
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 [rdx + rcx]
xor byte [rcx], al
add rcx, rbx
sub r8, rbx
jne 0x180003772
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180003974
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.180010220
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 0x1800065dc
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 [0x180035028]
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.180006484
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 [r8 + rdi]
mov dword [rdi], eax
lea rdi, [rdi + 4]
sub r9, 1
jne 0x18000665d
cmp rdx, 0x41
jae 0x180006751
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 0x180006717
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.1800019ec
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180010220
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800103b8
int3

Function at 0x180006758
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.1800063b0
mov rdx, rdi
mov rcx, rbx
call fcn.1800065dc
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x180007a94
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 [0x180035028]
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.180012530
mov dword [rsp + 0x68], ebx
mov edx, 0x10d
lea rcx, [rsp + 0x38]
call fcn.1800087ec
nop
cmp qword [rax + 0x18], 0x10
jb 0x180007b25
mov rax, qword [rax]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
mov rdx, rax
call fcn.180006f20
test eax, eax
sete bl
mov esi, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180007b80
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007b7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007cc3
call fcn.180010240
test bl, bl
je 0x180007c92
mov edx, 0x114
lea rcx, [rsp + 0x38]
call fcn.1800087ec
cmp qword [rax + 0x18], 0x10
jb 0x180007ba1
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, 0x10
jb 0x180007c04
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007bff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007cbd
call fcn.180010240
test ebx, ebx
jne 0x180007c87
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x770]
call fcn.180012530
mov r8d, dword [rsp + 0x68]
lea rdx, [rbp + 0x770]
lea rcx, [rsp + 0x70]
call fcn.1800079e4
lea rax, [rbp + 0x770]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180007c3d
cmp rbx, qword [rdi + 0x18]
ja 0x180007c75
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180007c59
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x770]
mov rcx, rsi
call fcn.180012940
mov byte [rsi + rbx], 0
jmp 0x180007c87
lea r9, [rbp + 0x770]
mov rdx, rbx
mov rcx, rdi
call fcn.180002948
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.180010220
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.180016b64
int3
call fcn.180016b64
int3
Function at 0x18000c570
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x18000c587
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000c5c3
mov edi, 1
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x18000c5a3
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000c5c3
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x78
jl 0x18000c596
xor al, al
jmp 0x18000c5c5
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000c724
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 [0x180035028]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
xor r12d, r12d
mov dil, r12b
call fcn.1800022dc
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000c99c
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r12
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r12w
lea rdx, [rbp + 0x160]
mov rcx, rbx
call fcn.18000c5d0
lea r14, [rbp + 0x160]
mov r8, qword [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae r14, r8
lea rcx, [rbp + 0x160]
cmovae rcx, r8
mov rax, qword [rbp + 0x170]
lea r15, [rcx + rax*2]
lea rbx, [rbp + 0x160]
cmovae rbx, r8
cmp rbx, r15
je 0x18000c802
sub r14, rbx
movzx ecx, word [rbx]
call fcn.180019294
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c7ec
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call fcn.180012530
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000221c
mov r13d, 1
jmp 0x18000c97e
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 0x18000c855
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x180]
call fcn.1800086c8
nop
lea r14, [rbp + 0x180]
mov r8, qword [rbp + 0x198]
cmp r8, 8
setae cl
mov rdx, qword [rbp + 0x180]
cmovae 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 0x18000c8e7
sub r14, rbx
movzx ecx, word [rbx]
call fcn.180019294
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c8bc
mov r8, qword [rbp + 0x198]
mov r9, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
cmp r8, 8
cmovae rcx, rdx
lea r8, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x170]
cmp rdx, r9
jne 0x18000c965
test rdx, rdx
je 0x18000c934
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x18000c965
add rcx, 2
sub rdx, r13
jne 0x18000c921
mov r8d, dword [rsp + 0x28]
call fcn.180002394
mov rbx, rax
test rax, rax
je 0x18000c965
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.180002098
nop
lea rcx, [rbp + 0x180]
call fcn.18000261c
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000215c
cmp eax, r13d
je 0x18000c834
mov rcx, rsi
call fcn.180002098
nop
lea rcx, [rbp + 0x160]
call fcn.18000261c
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180010220
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 0x18000efb0
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 [0x180035028]
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 0x18000eff4
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.1800086c8
cmp qword [rbp + 0x1f], 8
lea rdx, [rbp + 7]
mov r9, qword [rbp + 0x17]
xorps xmm0, xmm0
cmovae rdx, qword [rbp + 7]
movdqa xmm1, xmmword [0x180030ef0]
movups xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x27], si
movdqu xmmword [rbp + 0x37], xmm1
test r9, r9
je 0x18000f065
lea rcx, [r9 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdx + rax*2]
jmp 0x18000f056
cmp r8, rdx
je 0x18000f065
sub r8, 2
cmp word [r8], 0x5c
jne 0x18000f04d
sub r8, rdx
sar r8, 1
jmp 0x18000f068
mov r8, rbx
cmp r8, rbx
je 0x18000f0b0
cmp r9, r8
lea rdx, [rbp + 7]
xorps xmm0, xmm0
lea rcx, [rbp - 0x19]
cmovb r8, r9
xorps xmm1, xmm1
cmp qword [rbp + 0x1f], 8
movups xmmword [rbp - 0x19], xmm0
cmovae rdx, qword [rbp + 7]
movdqu xmmword [rbp - 9], xmm1
call fcn.1800086c8
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.18000d9e8
lea rcx, [rbp - 0x19]
call fcn.18000261c
mov ebx, esi
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000f0dc
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 0x18000f0b2
jmp 0x18000f0f0
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x27]
call fcn.18000d084
lea rcx, [rbp + 0x27]
call fcn.18000261c
lea rcx, [rbp + 7]
call fcn.18000261c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180010220
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 0x18000f950
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18000f9d4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180027530]
cmp byte [rcx + rax], 0
je 0x18000f9d4
dec r8
sub rdx, 1
jne 0x18000f9ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x18001f564
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 0x18001f594
xor eax, eax
jmp 0x18001f657
mov rbp, rbx
cmp word [rax], si
je 0x18001f5b9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001f5a0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001f59c
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.18001f4b4
movsxd r14, eax
test eax, eax
jne 0x18001f5f7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001f58d
mov rcx, r14
call fcn.18001b730
mov rdi, rax
test rax, rax
jne 0x18001f610
xor ecx, ecx
call fcn.18001b6f4
jmp 0x18001f5ec
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.18001f4b4
test eax, eax
jne 0x18001f641
mov rcx, rdi
call fcn.18001b6f4
jmp 0x18001f64b
xor ecx, ecx
call fcn.18001b6f4
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 0x1800257d0
Capabilities:
Parse pe header

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

Function at 0x140001cdc
Capabilities:
Parse pe header

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