joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007aae0
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.18007b0f0
mov rbp, rax
test rax, rax
jne 0x18007ab19
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 0x18007aba8
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.18007a9e0
mov rax, qword [rsi + 0x18]
mov rbx, qword [rsi + 0x10]
cmp rbx, rax
je 0x18007ab8c
mov rcx, qword [rbx]
cmp qword [rcx + 8], rdi
je 0x18007ab65
add rbx, 8
cmp rbx, rax
jne 0x18007ab51
jmp 0x18007ab8c
test rcx, rcx
je 0x18007ab74
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 0x18007ab31
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test r15b, r15b
je 0x18007acb4
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 0x18007ac63
mov rax, qword [r8]
cmp r14, qword [r9 + 0x10]
je 0x18007ac65
cmp rdx, rax
je 0x18007ac63
mov rdx, qword [rdx + 8]
cmp r14, qword [rdx + 0x10]
jne 0x18007ac52
jmp 0x18007ac65
xor edx, edx
test rdx, rdx
je 0x18007acb4
mov rax, qword [r8]
cmp r9, rdx
jne 0x18007ac8a
cmp rax, rdx
jne 0x18007ac80
mov qword [r8], rcx
mov qword [r8 + 8], rcx
jmp 0x18007ac95
mov rcx, qword [rdx + 8]
mov qword [r8 + 8], rcx
jmp 0x18007ac95
cmp rax, rdx
jne 0x18007ac95
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.180079420
mov rbp, qword [rsp + 0x58]
mov al, 1
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x18007b0f0
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 0x18007b1b1
mov rcx, qword [rcx]
cmp rdx, qword [rax + 0x10]
je 0x18007b1b4
nop dword [rax + rax]
cmp rax, rcx
je 0x18007b1b1
mov rax, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
jne 0x18007b1a0
jmp 0x18007b1b4
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 0x18007b660
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 0x18007b680
cmp rax, 0x100
jae 0x18007b750
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.18007b930
test eax, eax
je 0x18007b750
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 0x18007b8b0
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.180073bc0

Function at 0x18007bc50
Capabilities:
Encode data using xor

Disassembly:
cmp ecx, 0x38c
jl 0x1800868e0
xor eax, eax
ret
xor eax, eax
lea r10, [0x18010dbc0]
mov byte [0x18010dbd0], al
xorps xmm0, xmm0
imul eax, ecx, 0x11
movups xmmword [0x18010dbc0], 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 0x180086920
lea rax, [0x18010dbc0]
ret

Function at 0x18007d1d0
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 0x18007d223
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x18007d217
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x18007d201
test rdi, rdi
jne 0x18007d24f
xor eax, eax
jmp 0x18007d2d2
mov rdx, rcx
test r8, r8
je 0x18007d217
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x18007d24a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x18007d230
jmp 0x18007d217
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 0x18007d2ca
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x18007d2b9
cmp dword [rbx + 0x14], ebp
jne 0x18007d2b9
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x18007d2aa
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x18007d2c1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18007d291
test rbx, rbx
je 0x18007d2ca
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 0x180085a40
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 0x180085b37
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x180085ac8
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 0x180085aa0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800852c0
mov dword [r14], eax
test eax, eax
jne 0x180085b62
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.18008ba40
mov dword [r14], eax
test eax, eax
jne 0x180085b62
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180085780
test eax, eax
je 0x180085b37
mov ecx, dword [rsi]
test eax, ecx
jne 0x180085b5b
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.18008bac0
cmp al, 2
jne 0x180085b37
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x180085a80
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 0x180085b3c
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.18008bac0
cmp al, 2
jne 0x180085bd5
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x180085bd5
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x180085bbd
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 0x180085b93
lea rcx, [rsp + 0x20]
call fcn.180085780
cmp eax, 0x10
jne 0x180085bd5
or dword [rsi], eax
xor eax, eax
jmp 0x180085b3c
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x180085b3c

Function at 0x180086950
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lea r10, [0x18010dbd4]
mov dword [0x18010dbd4], eax
mov word [0x18010dbd8], 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 0x180086990
lea rax, [0x18010dbd4]
ret
Function at 0x18008cd50
Capabilities:
Encode data using xor

Disassembly:
lea eax, [rcx - 1]
cmp al, 1
jbe 0x18008cd50
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 0x18008ceb4
cmp r8, 0xffffffffffffffff
jne 0x18008cd8a
nop
inc r9
cmp byte [rdx + r9], 0
jne 0x18008cd80
lea rax, [r9 - 1]
cmp rax, 0x10
ja 0x18008ceb4
movsx eax, byte [rdx]
sub eax, 0x61
cmp eax, 0x19
ja 0x18008ceb4
lea rcx, [rax*4]
lea r15, [0x180000000]
movzx eax, word [rcx + r15 + 0xb4200]
test ax, ax
je 0x18008ceb4
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 0x18008ceb4
lea rbp, [0x18010dbe0]
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 [0x18010dbe0], xmm0
movups xmmword [0x18010dbf0], 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 0x18008ce40
mov rax, r14
test r9, r9
je 0x18008ce8b
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 0x18008ce90
inc rax
cmp rax, r9
jb 0x18008ce70
movzx r8d, byte [r9 + rbp]
test r8d, r8d
je 0x18008ced1
lea rax, [r11 - 1]
cmovns rax, r11
mov r11, rax
lea rax, [rdi + 8]
cmovns rax, rsi
shr r11, 1
mov rsi, rax
jne 0x18008ce00
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 0x18008ceb6

Function at 0x1800917b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.180092150
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.180092150
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.180092150
mov ecx, dword [0x18010e888]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x14
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.180093630
call fcn.180092150
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x1800948e0
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 0x18009491c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1800914ec
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 0x1800949d8
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 0x180094a3e
test ebx, ebx
jne 0x180094a3e
lea ecx, [rax + 2]
call fcn.1800914ec
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.180090f10
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x18009e460
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 0x18009e621
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 0x18009e4df
call sub.msvcrt.dll__errno
mov dword [rax], esi
jmp 0x18009e510
call sub.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x18009e5ff
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 0x18009e5ff
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x18009e520
cmp rcx, 3
je 0x18009e5e5
inc rax
cmp word [rdi + rax*2], 0
jne 0x18009e534
cmp rax, 5
jb 0x18009e5ff
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x18009e55b
cmp ax, 0x2f
jne 0x18009e5ff
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x18009e56f
cmp ax, 0x2f
jne 0x18009e5ff
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x18009e5ff
cmp ax, 0x2f
je 0x18009e5ff
movzx eax, word [rdi + 6]
lea rcx, [rdi + 6]
test ax, ax
je 0x18009e5ff
cmp ax, 0x5c
je 0x18009e5a9
cmp ax, 0x2f
je 0x18009e5a9
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x18009e590
test ax, ax
je 0x18009e5ff
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
je 0x18009e5ff
nop dword [rax + rax]
cmp ax, 0x5c
je 0x18009e5d9
cmp ax, 0x2f
je 0x18009e5d9
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x18009e5c0
test ax, ax
je 0x18009e5e5
cmp word [rcx + 2], 0
jne 0x18009e5ff
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
cmp eax, 1
jbe 0x18009e602
call fcn.180094a84
mov al, 1
jmp 0x18009e609
mov rcx, rbx
call fcn.180094a84
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.180090f10
add rsp, 0x250
pop rbp
ret
Function at 0x18009ee20
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 [0x18010e8f8]
test rcx, rcx
jne 0x18009ee7b
call fcn.1800a11e0
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 [0x18010e8f8], rcx
xor ebx, ebx
cmp rcx, 0xffffffffffffffff
mov edi, ebx
cmovne rdi, rcx
test rdi, rdi
je 0x18009efc5
test rbp, rbp
je 0x18009eece
lea edx, [rbx + 0x2d]
mov rcx, rbp
call sub.msvcrt.dll_strchr
test rax, rax
je 0x18009eece
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rbp
movsx eax, byte [rdx]
test al, al
je 0x18009eedb
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x18009eeb2
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x18009f0a2
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x18009f0bf
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x18009eece
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 0x18009eece
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 0x18009eece
lea rax, [rsp + 0x320]
lea rcx, [rsp + 0x20]
movzx edx, word [rax]
test dx, dx
je 0x18009efab
mov byte [rcx], dl
inc ebx
inc rcx
add rax, 2
cmp ebx, 0x100
jne 0x18009ef83
mov rdx, rbp
mov ecx, r15d
call rdi
jmp 0x18009f0a2
movsxd rax, ebx
lea rbp, [rsp + 0x20]
mov rdx, rbp
mov ecx, r15d
mov byte [rsp + rax + 0x20], 0
call rdi
jmp 0x18009f0a2
cmp r15d, 5
ja 0x18009f094
test rbp, rbp
je 0x18009f094
call fcn.18009f200
mov rdi, rax
test rax, rax
je 0x18009f09f
mov qword [rsp + 0x570], rsi
mov qword [rsp + 0x530], r14
call fcn.180092150
mov rdx, rbp
mov rsi, rax
mov r14d, dword [rax + 0xc8]
mov ecx, r14d
or ecx, 2
mov dword [rax + 0xc8], ecx
mov ecx, r15d
call fcn.18009f360
test rax, rax
je 0x18009f03f
mov rax, qword [rsi + 0xc0]
mov ecx, dword [rax + 4]
call sub.msvcrt.dll__setmbcp
test eax, eax
jne 0x18009f03f
call fcn.18009f200
mov rbx, rax
mov rcx, qword [rsi + 0xc0]
mov dword [rsi + 0xc8], r14d
mov rax, qword [rdi]
mov r14, qword [rsp + 0x530]
cmp rax, rcx
je 0x18009f067
mov qword [rdi], rcx
mov qword [rsi + 0xc0], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rsi + 0xb8]
cmp rax, rcx
je 0x18009f082
mov qword [rdi + 8], rcx
mov qword [rsi + 0xb8], rax
mov rcx, rdi
call fcn.18009f0d0
mov rsi, qword [rsp + 0x570]
jmp 0x18009f09f
call sub.msvcrt.dll__errno
mov dword [rax], 0x16
mov rax, rbx
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180090f10
add rsp, 0x538
pop r15
pop rdi
pop rbp
pop rbx
ret
call fcn.180091038
int3
Function at 0x18009f360
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x180109b28]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x18009f3cc
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x18009f3cc
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x18009f41f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x18009f3b0
mov rcx, qword [0x18010e908]
test rcx, rcx
jne 0x18009f402
call fcn.1800a11e0
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x18010e908], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x18009f503
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x18009f505
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x18009f52a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x18009f3cc
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 0x18009f3cc
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 0x18009f3cc
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x18009f4f3
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x18009f4d1
jmp 0x18009f3cc
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x18009f3cc
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180090f10
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.180091038
int3