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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1400fc549
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400fc637
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400fc5df
cmp qword [rsp + 0x20], 0
jle 0x1400fc5df
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1400fc589
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14000a350
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x1400fc627
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400fc627
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400fc640
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140168340]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400fc674
xor eax, eax
jmp 0x1400fc870
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400fc6a6
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400fc870
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400fc757
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14000ac30
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000a350
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400fc860
mov rcx, qword [rsp + 0x80]
call fcn.1400fd870
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400fc80d
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400fc808
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400fc870
jmp 0x1400fc783
cmp qword [rsp + 0x50], 0
jbe 0x1400fc860
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14011d530
add rsp, 0x78
ret
Function at 0x1400fd930
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140168340]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400fd96d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400fd974
mov al, 1
jmp 0x1400fdacc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140026030
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140026030
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140026090
movzx eax, al
test eax, eax
je 0x1400fd9c9
xor al, al
jmp 0x1400fdacc
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400fda39
cmp dword [rsp + 0x30], 1
je 0x1400fda45
cmp dword [rsp + 0x30], 3
je 0x1400fdaba
jmp 0x1400fdaca
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400fda91
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400fda91
xor al, al
jmp 0x1400fdacc
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400fdaab
mov dword [rsp + 0x34], 1
jmp 0x1400fdab3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x1400fdacc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400fdacc
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14011d530
add rsp, 0xa8
ret
Function at 0x140114640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.140114370
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.140114370
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1401147cb
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x1401146d5
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.140114410
jmp 0x1401147bc
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x1401147a9
mov rcx, rsi
call fcn.140114370
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.140114370
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x140114789
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x140114790
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.140114410
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x1401147ad
mov rcx, rsi
mov edi, ebx
call fcn.140114370
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.140114370
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x140114720
mov edx, 0xfffd
jmp 0x1401147af
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x1401147ad
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.140114410
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x14011cb80
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 0x14011cbba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011cbbf
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 0x14011cc08
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14012d390]
cmp byte [rcx + rax], 0
je 0x14011cc08
dec r8
sub rdx, 1
jne 0x14011cbee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14011e3f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011e43a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011e43a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011e43a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011e43a
cmp dword [rcx + 0x84], 0xe
jbe 0x14011e43a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011e43c
xor al, al
add rsp, 0x28
ret
Function at 0x180574058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1805741df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180574089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18057406f
add dl, dl
jne 0x180574096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805740f6
xor eax, eax
add dl, dl
jne 0x1805740a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805741ad
add dl, dl
jne 0x1805740b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805740c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805740d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805740dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1805740ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18057407e
mov eax, 1
add dl, dl
jne 0x180574106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180574113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805740fb
sub eax, ebx
mov ebx, 1
jne 0x18057414c
mov ecx, 1
add dl, dl
jne 0x18057412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18057413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180574123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18057407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180574168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180574175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18057415d
cmp eax, 0x7d00
jae 0x18057419b
cmp eax, 0x500
jb 0x180574196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18057407e
cmp eax, 0x7f
ja 0x18057419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18057407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1805741d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18057407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10000be00
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x1000194b0]
cmp ax, 0xcb
je 0x10000bf3c
cmp ax, 0xcc
je 0x10000bf3c
nop
mov rax, qword [0x100026ac0]
test rax, rax
je 0x10000be3d
mov ecx, dword [0x1000268b0]
call rax
mov rbx, rax
jmp 0x10000be44
lea rbx, [0x1000268b8]
cmp word [0x1000268a0], 0
jle 0x10000be6c
lea rcx, [0x100026870]
call fcn.10000c120
mov rcx, rbx
call fcn.10000b8c0
mov rcx, rbx
call fcn.10000b950
nop
mov rsi, qword [rbx]
jmp 0x10000be99
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x10000be92
mov rdx, rsi
mov rcx, rbx
call fcn.10000ab40
jmp 0x10000be96
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x10000be78
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x1000268a0], 0
jle 0x10000bf3c
lea rdx, [0x100026780]
mov rcx, rbx
call fcn.10000acc0
mov rsi, rax
test rax, rax
je 0x10000bf08
mov rax, qword [0x100026820]
mov qword [rsi + 0x18], rax
cmp qword [0x100026820], 0
je 0x10000bef8
mov rax, qword [0x100026820]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x100026820], rax
nop
sub word [0x1000268a0], 1
cmp word [0x1000268a0], 0
sete bl
lea rcx, [0x100026870]
call fcn.10000c140
test bl, bl
je 0x10000bf3c
lea rcx, [0x100026870]
call fcn.10000c100
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x10000ef00
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x128]
xor esi, esi
mov qword [0x100026490], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x24]
mov r8d, 0x104
xor ecx, ecx
call sub.kernel32.dll_GetModuleFileNameA
mov ebx, eax
and eax, eax
mov byte [rsp + rax + 0x24], 0
mov r8d, ebx
xor edx, edx
mov rcx, rsp
call fcn.10000f0e0
movsxd rax, ebx
lea r8, [rax + 1]
mov rax, qword [0x100026490]
mov rdx, qword [rax]
lea rcx, [rsp + 0x24]
call fcn.100003700
call sub.kernel32.dll_GetCommandLineA
mov qword [0x100019520], rax
mov r14, rax
jmp 0x10000f087
add r14, 1
movzx eax, byte [r14]
sub eax, 1
cmp eax, 0x20
jb 0x10000ef88
cmp byte [r14], 0
je 0x10000f091
nop
xor dil, dil
mov r12, r14
xor ebx, ebx
jmp 0x10000eff0
mov al, byte [r14]
cmp al, 1
jb 0x10000efe8
sub al, 0x20
jbe 0x10000efc4
sub al, 2
je 0x10000efd0
jmp 0x10000efe8
test dil, dil
je 0x10000eff6
add ebx, 1
jmp 0x10000efec
cmp byte [r14 + 1], 0x22
je 0x10000efe0
test dil, dil
sete dil
jmp 0x10000efec
add r14, 1
jmp 0x10000efec
add ebx, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x10000efb0
test esi, esi
je 0x10000f084
mov r8d, ebx
mov edx, esi
mov rcx, rsp
call fcn.10000f0e0
xor dil, dil
mov r14, r12
mov rdx, qword [0x100026490]
movsxd rax, esi
mov r13, qword [rdx + rax*8]
jmp 0x10000f078
mov al, byte [r14]
cmp al, 1
jb 0x10000f068
sub al, 0x20
jbe 0x10000f03c
sub al, 2
je 0x10000f050
jmp 0x10000f068
test dil, dil
je 0x10000f07e
mov al, byte [r14]
mov byte [r13], al
add r13, 1
jmp 0x10000f074
cmp byte [r14 + 1], 0x22
je 0x10000f060
test dil, dil
sete dil
jmp 0x10000f074
add r14, 1
jmp 0x10000f074
mov al, byte [r14]
mov byte [r13], al
add r13, 1
nop
add r14, 1
cmp byte [r14], 0
jne 0x10000f028
mov byte [r13], 0
nop
add esi, 1
cmp byte [r14], 0
jne 0x10000ef8c
mov dword [0x100026480], esi
movsxd rax, esi
lea rdx, [rax + 1]
shl rdx, 3
lea rcx, [0x100026490]
call fcn.10000bbe0
mov rax, qword [0x100026490]
movsxd rsi, esi
mov qword [rax + rsi*8], 0
nop
lea rsp, [rsp + 0x128]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x100012a40
Capabilities:
Hash data with crc32

Disassembly:
mov dx, 0xffff
nop dword [rax]
add dx, 1
movsx eax, dx
mov ecx, eax
xor r8w, r8w
nop
add r8w, 1
mov eax, ecx
and eax, 1
je 0x100012a72
mov eax, ecx
shr eax, 1
xor eax, 0xedb88320
mov ecx, eax
jmp 0x100012a74
shr ecx, 1
cmp r8w, 8
jl 0x100012a58
movzx eax, dx
lea r9, [0x10012f8b0]
mov dword [r9 + rax*4], ecx
cmp dx, 0xff
jl 0x100012a48
ret

Function at 0x100012aa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ebx, ecx
mov rsi, rdx
mov edi, r8d
cmp dword [0x10012f8b4], 0
jne 0x100012ac0
call fcn.100012a40
nop
mov eax, ebx
not eax
cmp edi, 1
jl 0x100012afc
xor edx, edx
nop dword [rax + rax]
add edx, 1
mov cl, al
xor cl, byte [rsi]
and ecx, 0xff
mov r8d, eax
shr r8d, 8
lea r9, [0x10012f8b0]
xor r8d, dword [r9 + rcx*4]
mov eax, r8d
add rsi, 1
cmp edi, edx
jg 0x100012ad0
nop
not eax
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret
Function at 0x100017540
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x50]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov rsi, rcx
mov edi, edx
mov r12d, r8d
mov r13, r9
mov qword [rbp - 8], 0
nop
mov edx, r12d
mov ecx, edi
xor r9d, r9d
xor r8, r8
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x1000175c1
movsxd rdx, ebx
sub rdx, 1
lea rcx, [rbp - 8]
call fcn.100008790
cmp ebx, 1
jle 0x1000175b0
mov r8, qword [rbp - 8]
mov r9d, ebx
mov edx, r12d
mov ecx, edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
nop
mov rcx, rsi
mov rdx, qword [rbp - 8]
xor r8d, r8d
call fcn.1000083f0
jmp 0x1000175cc
mov rcx, rsi
mov rdx, r13
call fcn.100006630
nop
mov rcx, rbp
call fcn.100017520
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x18]
mov r13, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000177b0
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x10012fec0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100006630
mov eax, ebx
lea rdx, [0x10012ff00]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x1000177d0
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x100017884
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.100007150
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.100013340
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x100017884
lea rcx, [0x100017650]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x100017700]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.100017790
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100017f40
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.100013320
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.100006630
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.100007cd0
mov rcx, rbx
xor edx, edx
call fcn.100006630
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x100018085
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.1000070a0
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x100017fec
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.100007cd0
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.100007760
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.1000075f0
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.100013320
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.100007310
test rax, rax
jne 0x100018078
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x10001805d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.1000075f0
jmp 0x10001808e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x100017fd0
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.100017f00
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret

Function at 0x1000180e0
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x10012ff40], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x10012fd80], eax
mov eax, dword [rsp + 0x24]
mov dword [0x10012fd90], eax
mov eax, dword [rsp + 0x28]
mov dword [0x10012fda0], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x10012fdb0], eax
lea rdx, [0x10012fdc1]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.100003700
lea rcx, [rsp + 0x34]
call fcn.100004330
mov byte [0x10012fdc0], al
lea rcx, str.kernel32
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x10012ff50], rax
test rax, rax
je 0x100018188
mov rcx, qword [0x10012ff50]
lea rdx, str.GetDiskFreeSpaceExA
call sub.kernel32.dll_GetProcAddress
mov qword [0x10012ff40], rax
nop
cmp dword [0x10012fd90], 6
jae 0x10001819c
mov dword [0x100019cc0], 0
nop
cmp dword [0x10012fd90], 6
jb 0x1000181b8
cmp dword [0x10012fda0], 1
jb 0x1000181b8
mov dword [0x100019cd0], 2
nop
lea rsp, [rsp + 0xb8]
ret
Function at 0x10000dcf0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rdi
push rsi
lea rsp, [rsp - 0x20]
mov ax, word [0x10001b4b0]
cmp ax, 0xcb
je 0x10000de2c
cmp ax, 0xcc
je 0x10000de2c
nop
mov rax, qword [0x100029ac0]
test rax, rax
je 0x10000dd2d
mov ecx, dword [0x1000298b0]
call rax
mov rbx, rax
jmp 0x10000dd34
lea rbx, [0x1000298b8]
cmp word [0x1000298a0], 0
jle 0x10000dd5c
lea rcx, [0x100029870]
call fcn.10000e010
mov rcx, rbx
call fcn.10000d7b0
mov rcx, rbx
call fcn.10000d840
nop
mov rsi, qword [rbx]
jmp 0x10000dd89
mov rdi, qword [rsi + 8]
mov rax, qword [rsi]
and rax, 1
jne 0x10000dd82
mov rdx, rsi
mov rcx, rbx
call fcn.10000ca30
jmp 0x10000dd86
and qword [rsi], 0xfffffffffffffffe
mov rsi, rdi
test rsi, rsi
jne 0x10000dd68
mov qword [rbx], 0
mov dword [rbx + 0x90], 0
cmp word [0x1000298a0], 0
jle 0x10000de2c
lea rdx, [0x100029780]
mov rcx, rbx
call fcn.10000cbb0
mov rsi, rax
test rax, rax
je 0x10000ddf8
mov rax, qword [0x100029820]
mov qword [rsi + 0x18], rax
cmp qword [0x100029820], 0
je 0x10000dde8
mov rax, qword [0x100029820]
mov qword [rax + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0xa0]
mov qword [0x100029820], rax
nop
sub word [0x1000298a0], 1
cmp word [0x1000298a0], 0
sete bl
lea rcx, [0x100029870]
call fcn.10000e030
test bl, bl
je 0x10000de2c
lea rcx, [0x100029870]
call fcn.10000dff0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rsi
pop rdi
pop rbx
ret