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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000703d
xor eax, eax
jmp 0x1400071a9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007077
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007077
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400071a9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000719c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400070ba
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400070e5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400071a1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007154
sub eax, 1
je 0x140007154
cmp eax, 2
jne 0x14000719c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400071a1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007182
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000719c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400071a1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140025bc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400076f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400077c3
cmp byte [rcx + 0x71], 0
je 0x1400077c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400077bf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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]
test eax, eax
je 0x140007784
sub eax, 1
je 0x140007788
cmp eax, 2
jne 0x1400077bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140025bc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400077b6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400077bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000776c
xor al, al
jmp 0x14000776c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140025bc0
add rsp, 0x60
pop rbx
ret
Function at 0x140008b80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x150
mov qword [rcx + 0x130], rdx
mov rbp, rdx
mov dword [rcx + 0x144], r8d
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x130
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rax, [rsp + 0x20]
mov edx, 2
nop word [rax + rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x20], xmm0
movups xmmword [r8 - 0x10], xmm1
sub rdx, 1
jne 0x140008bd0
movups xmm0, xmmword [rax]
lea ecx, [rdx + 2]
mov qword [rsp + 0x160], rsi
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8 + 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
test rax, rax
je 0x140008c9f
mov rdx, rbx
mov dword [rbx], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140008c9f
mov rdx, rbp
lea rcx, [rbx + 0x2c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
jne 0x140008c8f
mov eax, dword [rbx + 8]
cmp dword [rbx + 0x144], eax
je 0x140008cc5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140008c73
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x160]
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Process_Name_:
call fcn.140004e10
mov rcx, rax
lea rdx, [rbx + 0x2c]
call fcn.140004e10
mov rcx, rax
lea rdx, str.__PID:
call fcn.140004e10
mov edx, dword [rbx + 8]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140004fe0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbx + 0x140], 1
jmp 0x140008ca8
Function at 0x14000e970
Capabilities:
Timestomp file

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1c
sub r8d, ecx
inc r8w
mov word [rsp + 0x4e], r8w
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub r8d, ecx
inc r8w
mov word [rsp + 0x4a], r8w
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
sub r8d, ecx
mov eax, 0x7e2
add r8w, ax
mov word [rsp + 0x48], r8w
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000ea48
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 3]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140025bc0
add rsp, 0x60
pop rbx
ret
Function at 0x14000eab0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12, qword [rsp + 0xd0]
lea r8, [rsp + 0x38]
xor esi, esi
mov qword [rsp + 0x50], 0x1000
mov rbx, rdx
mov r15, rcx
xor edx, edx
mov rcx, r12
mov r14d, esi
lea r9d, [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov ebp, esi
movabs r13, 0xfffffffffff
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x38]
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x14000ec49
cmp dword [rsp + 0x58], 0x1000
jne 0x14000ec49
cmp dword [rsp + 0x5c], 1
je 0x14000ec49
mov rcx, r14
call fcn.14002606c
mov rcx, qword [rsp + 0x50]
call fcn.14002614c
mov r8, qword [rsp + 0x50]
mov r14, rax
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x70]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14000ec49
mov r9, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
mov r8, r14
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x70]
mov r8, qword [rsp + 0x50]
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], sil
jne 0x14000ebe2
mov rdi, qword [rsp + 0x68]
test rdi, rdi
jle 0x14000ec49
mov r10, r14
mov edx, esi
sub r10, rbx
mov r11d, esi
test r8, r8
jle 0x14000ec3d
nop word [rax + rax]
mov r9, r15
mov rax, rbx
sub r9, rbx
nop dword [rax]
cmp byte [rax], 0x3f
je 0x14000ec30
movzx ecx, byte [r10 + rax]
cmp byte [r9 + rax], cl
jne 0x14000ec59
inc edx
inc rax
movsxd rcx, edx
cmp rcx, r8
jl 0x14000ec20
movsxd rcx, r11d
lea rax, [rcx + r14]
test rax, rax
jne 0x14000ec6b
add rbp, qword [rsp + 0x50]
cmp rbp, r13
jb 0x14000eb20
jmp 0x14000ec6f
inc r11d
inc r10
movsxd rax, r11d
cmp rax, rdi
jge 0x14000ec49
mov edx, esi
jmp 0x14000ec10
lea rsi, [rcx + rbp]
mov rcx, r14
call fcn.14002606c
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140025bc0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400205b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.14000b130
cmp qword [rdi + 0x18], 0xf
jbe 0x1400205ff
mov rsi, qword [rdi]
mov rbp, rsi
add rbp, qword [rdi + 0x10]
mov rbx, rsi
jmp 0x14002060c
mov rsi, rdi
mov rbp, qword [rdi + 0x10]
add rbp, rdi
mov rbx, rdi
cmp rbx, rbp
je 0x140020628
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x140020614
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140020639
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140020673
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140020660
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140024310
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14002069b
cmp rbx, qword [r14 + 8]
je 0x14002069b
mov rbx, qword [rbx + 0x30]
jmp 0x140020770
mov rbx, qword [r14 + 0x48]
sub rbx, qword [r14 + 0x40]
sar rbx, 6
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140023790
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm6, xmmword [0x140032180]
movdqu xmmword [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
mov rsi, qword [r14 + 0x48]
cmp rsi, qword [r14 + 0x50]
je 0x14002071c
mov rdx, rdi
mov rcx, rsi
call fcn.140004ae0
mov qword [rsi + 0x30], 0
mov qword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm6
mov edx, 0xf
mov byte [rsp + 0x20], 0
add qword [r14 + 0x48], 0x40
jmp 0x140020735
lea r9, [rsp + 0x20]
mov r8, rdi
mov rdx, rsi
lea rcx, [r14 + 0x40]
call fcn.140024c20
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140020770
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002076b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002076b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002606c
shl rbx, 6
add rbx, qword [r14 + 0x40]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1400207ae
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400207a9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400207ec
mov rcx, r8
call fcn.14002606c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbx + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140025bc0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140020800
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.14000b130
cmp qword [rbx + 0x18], 0xf
jbe 0x140020853
mov rsi, qword [rbx]
mov rbp, rsi
add rbp, qword [rbx + 0x10]
mov rdi, rsi
jmp 0x140020860
mov rsi, rbx
mov rbp, qword [rbx + 0x10]
add rbp, rbx
mov rdi, rbx
cmp rdi, rbp
je 0x140020884
sub rsi, rdi
nop dword [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rsi], al
inc rdi
cmp rdi, rbp
jne 0x140020870
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140020895
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1400208c3
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400208b0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140024310
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400208eb
cmp rcx, qword [r14 + 8]
je 0x1400208eb
mov rbp, qword [rcx + 0x30]
jmp 0x1400209a5
mov rcx, qword [r14 + 0x48]
sub rcx, qword [r14 + 0x40]
movabs rax, 0x8888888888888889
imul rcx
lea rbp, [rcx + rdx]
sar rbp, 6
mov rax, rbp
shr rax, 0x3f
add rbp, rax
mov r8, rbx
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140023790
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.1400214c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rdi, qword [r14 + 0x48]
cmp rdi, qword [r14 + 0x50]
je 0x14002097c
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov rcx, rdi
call fcn.140004ae0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.140025520
nop
add qword [r14 + 0x48], 0x78
jmp 0x140020991
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rdi
lea rcx, [r14 + 0x40]
call fcn.140024df0
nop
lea rcx, [rsp + 0x70]
call fcn.1400219b0
lea rcx, [rsp + 0x30]
call fcn.14000e570
imul rdi, rbp, 0x78
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400209e3
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400209de
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140020a22
mov rcx, r8
call fcn.14002606c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140025bc0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140022030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r15, 0xf
jbe 0x14002205c
mov r9, qword [rdx]
xor ebp, ebp
movabs r8, 0xcbf29ce484222325
mov edx, ebp
test rsi, rsi
je 0x140022094
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x140022080
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
jne 0x1400220b2
mov rbx, rbp
jmp 0x140022102
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1400220d2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x1400220de
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400220ef
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400220fd
cmp rbx, r14
je 0x1400220fa
mov rbx, qword [rbx + 8]
jmp 0x1400220c0
mov rbx, rbp
mov r14, qword [rsp + 0x40]
test rbx, rbx
mov rbx, qword [rsp + 0x48]
setne bpl
mov rax, rbp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x1400266e0
Capabilities:
Parse pe header

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

Function at 0x140026960
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 0x14002699a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14002699f
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 0x1400269e8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002bb70]
cmp byte [rcx + rax], 0
je 0x1400269e8
dec r8
sub rdx, 1
jne 0x1400269ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x2fc4d1f10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d2ff0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2912
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d29aa
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d298e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d2982
cmp qword [rbp - 0x10], 0
je 0x2fc4d2982
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2948
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d29ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2ab0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d2ad8
mov eax, 0
jmp 0x2fc4d2b26
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2b01
mov eax, 0
jmp 0x2fc4d2b26
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2b21
mov eax, 0
jmp 0x2fc4d2b26
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2b2c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d2baa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2ba1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d2ba1
mov rax, qword [rbp - 8]
jmp 0x2fc4d2bbf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d2b74
mov eax, 0
add rsp, 0x20
pop rbp
ret