joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007a6a0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x230
mov r12, r9
mov r14, r8
mov rbx, rdx
xor sil, sil
call fcn.18007a040
mov r15, rax
test rax, rax
je 0x18007a82a
mov qword [rsp + 0x250], rbp
mov qword [rsp + 0x258], rdi
test rbx, rbx
jne 0x18007a6ed
xor ecx, ecx
jmp 0x18007a6f9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1800a6e60]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__wfopen
xor edx, edx
mov rcx, rax
mov rdi, rax
lea r8d, [rdx + 2]
call sub.msvcrt.dll_fseek
mov rcx, rdi
call sub.msvcrt.dll_ftell
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_fseek
mov rcx, rbx
call fcn.180090994
mov r9, rdi
mov r8d, 1
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call sub.msvcrt.dll_fread
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov rdi, qword [rsp + 0x258]
mov eax, 0x5a4d
cmp word [rbp], ax
jne 0x18007a81a
movsxd rcx, dword [rbp + 0x3c]
add rcx, rbp
cmp dword [rcx], 0x4550
jne 0x18007a81a
movzx ebx, word [rcx + 0x14]
xor r9d, r9d
movzx r11d, word [rcx + 6]
add rbx, rcx
test r11d, r11d
je 0x18007a81a
nop dword [rax]
movsxd rax, r9d
lea r8, [rbx + 0x18]
lea rcx, [rax + rax*4]
mov rax, r14
lea r10, [rcx*8]
add r8, r10
sub r8, r14
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18007a7e3
inc rax
test ecx, ecx
jne 0x18007a7d0
test edx, edx
je 0x18007a7f1
inc r9d
cmp r9d, r11d
jl 0x18007a7b0
jmp 0x18007a81a
mov eax, dword [r10 + rbx + 0x24]
mov sil, 1
add rax, r15
mov qword [r12], rax
mov ecx, dword [r10 + rbx + 0x28]
cmp ecx, dword [r10 + rbx + 0x20]
mov rax, qword [rsp + 0x270]
cmovbe ecx, dword [r10 + rbx + 0x20]
mov dword [rax], ecx
mov rcx, rbp
call fcn.18009087c
mov rbp, qword [rsp + 0x250]
lea r11, [rsp + 0x230]
movzx eax, sil
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x18007a850
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov dword [rsp + 0x50], 0
mov rbx, rdx
lea r9, [rsp + 0x50]
mov rdx, rsi
mov r8d, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9, rsi
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18007a950
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push r14
push r15
sub rsp, 0x20
movzx r15d, r8b
mov r14, rdx
mov rsi, rcx
call fcn.18007af60
mov rbp, rax
test rax, rax
jne 0x18007a989
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov rax, qword [rax + 8]
cmp qword [rbp], rax
je 0x18007aa18
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rdi
mov rdi, qword [rax - 8]
mov rcx, r14
mov r8, qword [rdi]
lea rdx, [rdi + 8]
call fcn.18007a850
mov rax, qword [rsi + 0x18]
mov rbx, qword [rsi + 0x10]
cmp rbx, rax
je 0x18007a9fc
mov rcx, qword [rbx]
cmp qword [rcx + 8], rdi
je 0x18007a9d5
add rbx, 8
cmp rbx, rax
jne 0x18007a9c1
jmp 0x18007a9fc
test rcx, rcx
je 0x18007a9e4
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov r8, qword [rsi + 0x18]
lea rdx, [rbx + 8]
sub r8, rdx
mov rcx, rbx
call sub.msvcrt.dll_memmove
add qword [rsi + 0x18], 0xfffffffffffffff8
mov rax, qword [rbp + 8]
add rax, 0xfffffffffffffff8
mov qword [rbp + 8], rax
cmp qword [rbp], rax
jne 0x18007a9a1
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test r15b, r15b
je 0x18007ab24
mov r8, qword [rsi + 0x98]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r14b
xor rdx, rax
movzx eax, byte [rsp + 0x49]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x4a]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x4b]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x4c]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x4d]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x4e]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x4f]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [rsi + 0x70]
and r8, rdx
shl r8, 4
add r8, qword [rsi + 0x80]
mov r9, qword [r8 + 8]
mov rdx, r9
cmp r9, rcx
je 0x18007aad3
mov rax, qword [r8]
cmp r14, qword [r9 + 0x10]
je 0x18007aad5
cmp rdx, rax
je 0x18007aad3
mov rdx, qword [rdx + 8]
cmp r14, qword [rdx + 0x10]
jne 0x18007aac2
jmp 0x18007aad5
xor edx, edx
test rdx, rdx
je 0x18007ab24
mov rax, qword [r8]
cmp r9, rdx
jne 0x18007aafa
cmp rax, rdx
jne 0x18007aaf0
mov qword [r8], rcx
mov qword [r8 + 8], rcx
jmp 0x18007ab05
mov rcx, qword [rdx + 8]
mov qword [r8 + 8], rcx
jmp 0x18007ab05
cmp rax, rdx
jne 0x18007ab05
mov rax, qword [rdx]
mov qword [r8], rax
mov r8, qword [rdx]
lea rcx, [rsi + 0x70]
dec qword [rsi + 0x78]
mov rax, qword [rdx + 8]
mov qword [rax], r8
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
call fcn.180079280
mov rbp, qword [rsp + 0x58]
mov al, 1
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x18007af60
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
movzx r8d, dl
mov r9, rcx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
mov r10, qword [r9 + 0x70]
mov qword [r11 + 0x10], rdx
movzx eax, byte [r11 + 0x11]
xor r8, rax
movzx eax, byte [r11 + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [r11 + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x98]
and rcx, r8
xor r8d, r8d
shl rcx, 4
add rcx, qword [r9 + 0x80]
mov rax, qword [rcx + 8]
cmp rax, r10
je 0x18007b021
mov rcx, qword [rcx]
cmp rdx, qword [rax + 0x10]
je 0x18007b024
nop dword [rax + rax]
cmp rax, rcx
je 0x18007b021
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x18007b010
jmp 0x18007b024
mov rax, r8
test rax, rax
cmove rax, r10
cmp rax, r10
lea rcx, [rax + 0x18]
cmovne r8, rcx
mov rax, r8
ret
Function at 0x18007b4d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rbx, rdx
mov rdi, rcx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x18007b4f0
cmp rax, 0x100
jae 0x18007b5c0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x230
call sub.msvcrt.dll_memset
mov r8, rbx
mov qword [rsp + 0x38], rdi
mov edx, 0x100
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_strcpy_s
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], 1
call fcn.18007b7a0
test eax, eax
je 0x18007b5c0
mov edx, dword [rsp + 0x40]
lea r9, [rsp + 0x280]
mov r8d, 0x40
mov dword [rsp + 0x280], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov rcx, rax
lea r8, [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [rsp + 0x40]
lea r9, [rsp + 0x280]
mov r8d, dword [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov rbx, qword [rsp + 0x270]
xor eax, eax
add rsp, 0x260
pop rdi
ret
Function at 0x18007b720
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, qword [rdx]
mov r10, r9
mov r9d, dword [rsp + 0x28]
movsxd r8, r8d
inc r9d
mov byte [rsp + 0x28], 1
mov rdx, qword [rax + r8*8]
mov r8, r10
jmp fcn.180073a20

Function at 0x18007bac0
Capabilities:
Encode data using xor

Disassembly:
cmp ecx, 0x38c
jl 0x180086750
xor eax, eax
ret
xor eax, eax
lea r10, [0x18010dce0]
mov byte [0x18010dcf0], al
xorps xmm0, xmm0
imul eax, ecx, 0x11
movups xmmword [0x18010dce0], xmm0
movsxd rdx, eax
add rdx, qword [section..data]
movzx eax, cl
imul r11d, eax, 0xd
movzx r9d, r11b
xor r9b, 0x6e
xor r8d, r8d
nop dword [rax + rax]
movzx ecx, r9b
lea r10, [r10 + 1]
xor cl, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r10 - 1], cl
movzx ecx, r11b
add cl, byte [rdx - 1]
add cl, r8b
inc r8d
add r9b, cl
cmp r8d, 0x11
jl 0x180086790
lea rax, [0x18010dce0]
ret

Function at 0x18007d040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x18007d093
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x18007d087
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x18007d071
test rdi, rdi
jne 0x18007d0bf
xor eax, eax
jmp 0x18007d142
mov rdx, rcx
test r8, r8
je 0x18007d087
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x18007d0ba
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x18007d0a0
jmp 0x18007d087
mov ecx, 0x11
mov eax, dword [rbx + 0x108]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x10c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x100]
mov rbx, qword [rbx + 0xf0]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x18007d13a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x18007d129
cmp dword [rbx + 0x14], ebp
jne 0x18007d129
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x18007d11a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x18007d131
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18007d101
test rbx, rbx
je 0x18007d13a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800858b0
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
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1800859a7
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x180085938
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x180085910
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180085130
mov dword [r14], eax
test eax, eax
jne 0x1800859d2
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.18008b8b0
mov dword [r14], eax
test eax, eax
jne 0x1800859d2
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800855f0
test eax, eax
je 0x1800859a7
mov ecx, dword [rsi]
test eax, ecx
jne 0x1800859cb
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.18008b930
cmp al, 2
jne 0x1800859a7
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x1800858f0
mov eax, 0x1a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov eax, 0x37
jmp 0x1800859ac
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.18008b930
cmp al, 2
jne 0x180085a45
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x180085a45
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x180085a2d
lea rax, [rsp + 0x20]
sub r11, rax
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x180085a03
lea rcx, [rsp + 0x20]
call fcn.1800855f0
cmp eax, 0x10
jne 0x180085a45
or dword [rsi], eax
xor eax, eax
jmp 0x1800859ac
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1800859ac

Function at 0x1800867c0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lea r10, [0x18010dcf4]
mov dword [0x18010dcf4], eax
mov word [0x18010dcf8], ax
lea eax, [rcx + rcx*2]
add eax, eax
movsxd rdx, eax
add rdx, qword [0x1800f3008]
movzx eax, cl
imul r11d, eax, 0xd
movzx r9d, r11b
xor r9b, 0x6e
xor r8d, r8d
nop word [rax + rax]
movzx ecx, r9b
lea r10, [r10 + 1]
xor cl, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r10 - 1], cl
movzx ecx, r11b
add cl, byte [rdx - 1]
add cl, r8b
inc r8d
add r9b, cl
cmp r8d, 6
jl 0x180086800
lea rax, [0x18010dcf4]
ret
Function at 0x18008cbc0
Capabilities:
Encode data using xor

Disassembly:
lea eax, [rcx - 1]
cmp al, 1
jbe 0x18008cbc0
xor eax, eax
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r9, r8
mov rbx, rdx
test rdx, rdx
je 0x18008cd24
cmp r8, 0xffffffffffffffff
jne 0x18008cbfa
nop
inc r9
cmp byte [rdx + r9], 0
jne 0x18008cbf0
lea rax, [r9 - 1]
cmp rax, 0x10
ja 0x18008cd24
movsx eax, byte [rdx]
sub eax, 0x61
cmp eax, 0x19
ja 0x18008cd24
lea rcx, [rax*4]
lea r15, [0x180000000]
movzx eax, word [rcx + r15 + 0xb4200]
test ax, ax
je 0x18008cd24
movzx r11d, word [rcx + r15 + 0xb4202]
lea r12, [0x1800ae6d0]
shl r11, 3
lea rsi, [r12 + rax*8]
sub r11, rsi
add r11, r12
sar r11, 3
test r11, r11
je 0x18008cd24
lea rbp, [0x18010dd00]
xor r14d, r14d
nop dword [rax]
xorps xmm0, xmm0
lea rcx, [r15 + 0xf3010]
mov rax, r11
mov r8, rbp
shr rax, 1
mov edx, dword [rsi + rax*8]
lea rdi, [rsi + rax*8]
and edx, 0x3fff
add rcx, rdx
sub r8, rcx
movups xmmword [0x18010dd00], xmm0
movups xmmword [0x18010dd10], xmm0
nop dword [rax]
nop dword [rax + rax]
movzx eax, dl
inc edx
xor al, byte [rcx]
lea rcx, [rcx + 1]
xor al, 0x6e
mov byte [r8 + rcx - 1], al
test al, al
jne 0x18008ccb0
mov rax, r14
test r9, r9
je 0x18008ccfb
mov r10, rbx
sub r10, rbp
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rax + rbp]
lea rcx, [rax + rbp]
movzx edx, byte [r10 + rcx]
sub r8d, edx
jne 0x18008cd00
inc rax
cmp rax, r9
jb 0x18008cce0
movzx r8d, byte [r9 + rbp]
test r8d, r8d
je 0x18008cd41
lea rax, [r11 - 1]
cmovns rax, r11
mov r11, rax
lea rax, [rdi + 8]
cmovns rax, rsi
shr r11, 1
mov rsi, rax
jne 0x18008cc70
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
sub rdi, r12
sar rdi, 3
mov eax, edi
jmp 0x18008cd26
Function at 0x180094ae0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180109b28]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180094b1c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18009135c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x180094bd8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x180094c3e
test ebx, ebx
jne 0x180094c3e
lea ecx, [rax + 2]
call fcn.18009135c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180090d80
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x18009e630
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x250
mov rax, qword [0x180109b28]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1800baa30]
mov rbp, rcx
call sub.msvcrt.dll_wcspbrk
test rax, rax
je 0x18009e7f1
mov qword [rsp + 0x268], rbx
xor ebx, ebx
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], rdi
call sub.msvcrt.dll__errno
mov esi, dword [rax]
call sub.msvcrt.dll__errno
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], ebx
call sub.msvcrt.dll__wfullpath
mov rdi, rax
test rax, rax
je 0x18009e6af
call sub.msvcrt.dll__errno
mov dword [rax], esi
jmp 0x18009e6e0
call sub.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x18009e7cf
call sub.msvcrt.dll__errno
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], esi
call sub.msvcrt.dll__wfullpath
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x18009e7cf
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x18009e6f0
cmp rcx, 3
je 0x18009e7b5
inc rax
cmp word [rdi + rax*2], 0
jne 0x18009e704
cmp rax, 5
jb 0x18009e7cf
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x18009e72b
cmp ax, 0x2f
jne 0x18009e7cf
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x18009e73f
cmp ax, 0x2f
jne 0x18009e7cf
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x18009e7cf
cmp ax, 0x2f
je 0x18009e7cf
movzx eax, word [rdi + 6]
lea rcx, [rdi + 6]
test ax, ax
je 0x18009e7cf
cmp ax, 0x5c
je 0x18009e779
cmp ax, 0x2f
je 0x18009e779
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x18009e760
test ax, ax
je 0x18009e7cf
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
je 0x18009e7cf
nop dword [rax + rax]
cmp ax, 0x5c
je 0x18009e7a9
cmp ax, 0x2f
je 0x18009e7a9
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x18009e790
test ax, ax
je 0x18009e7b5
cmp word [rcx + 2], 0
jne 0x18009e7cf
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
cmp eax, 1
jbe 0x18009e7d2
call fcn.180094c84
mov al, 1
jmp 0x18009e7d9
mov rcx, rbx
call fcn.180094c84
xor al, al
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180090d80
add rsp, 0x250
pop rbp
ret
Function at 0x18009eff0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0x538
mov rax, qword [0x180109b28]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r15d, ecx
mov rbp, rdx
mov rcx, qword [0x18010ea08]
test rcx, rcx
jne 0x18009f04b
call fcn.1800a13e0
mov rcx, rax
lea rdx, str._create_locale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x18010ea08], rcx
xor ebx, ebx
cmp rcx, 0xffffffffffffffff
mov edi, ebx
cmovne rdi, rcx
test rdi, rdi
je 0x18009f195
test rbp, rbp
je 0x18009f09e
lea edx, [rbx + 0x2d]
mov rcx, rbp
call sub.msvcrt.dll_strchr
test rax, rax
je 0x18009f09e
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rbp
movsx eax, byte [rdx]
test al, al
je 0x18009f0ab
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x18009f082
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x18009f28e
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x18009f2ab
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x18009f09e
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x18009f09e
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x18009f09e
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x20]
movzx edx, word [rax]
test dx, dx
je 0x18009f17b
mov byte [rcx], dl
inc ebx
inc rcx
add rax, 2
cmp ebx, 0x100
jne 0x18009f153
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x18009f28e
movsxd rax, ebx
lea rbp, [rsp + 0x20]
mov rdx, rbp
mov ecx, r15d
mov byte [rsp + rax + 0x20], 0
call rdi
jmp 0x18009f28e
mov qword [rsp + 0x570], rsi
cmp r15d, 5
ja 0x18009f278
test rbp, rbp
je 0x18009f278
call fcn.18009f3f0
mov rsi, rax
test rax, rax
je 0x18009f283
mov qword [rsp + 0x530], r14
call sub.msvcrt.dll__errno
mov rcx, qword [rax - 8]
dec rcx
lea rdi, [rax - 0x10]
cmp rcx, 0xfffffffffffffffd
ja 0x18009f1ed
mov ecx, 0x10
mov rdi, rbx
call qword [sym.imp.msvcrt.dll__amsg_exit]
mov r14d, dword [rdi + 0xc8]
mov rdx, rbp
mov eax, r14d
mov ecx, r15d
or eax, 2
mov dword [rdi + 0xc8], eax
call fcn.18009f560
test rax, rax
je 0x18009f22b
mov rax, qword [rdi + 0xc0]
mov ecx, dword [rax + 4]
call sub.msvcrt.dll__setmbcp
test eax, eax
jne 0x18009f22b
call fcn.18009f3f0
mov rbx, rax
mov rcx, qword [rdi + 0xc0]
mov dword [rdi + 0xc8], r14d
mov rax, qword [rsi]
mov r14, qword [rsp + 0x530]
cmp rax, rcx
je 0x18009f253
mov qword [rsi], rcx
mov qword [rdi + 0xc0], rax
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0xb8]
cmp rax, rcx
je 0x18009f26e
mov qword [rsi + 8], rcx
mov qword [rdi + 0xb8], rax
mov rcx, rsi
call fcn.18009f2c0
jmp 0x18009f283
call sub.msvcrt.dll__errno
mov dword [rax], 0x16
mov rsi, qword [rsp + 0x570]
mov rax, rbx
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180090d80
add rsp, 0x538
pop r15
pop rdi
pop rbp
pop rbx
ret
call fcn.180090ea8
int3