joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180037e20
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180097c2c]
mov ebx, edi
test ecx, ecx
je 0x180037f5d
mov rax, qword [0x180097c20]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180037e78
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180037e50
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180037f5d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180037b40
mov r8d, dword [0x180097c2c]
cmp ebx, r8d
jae 0x180037ee8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180097c20]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180037ee1
mov edx, esi
mov ecx, ebx
call fcn.180037cf0
mov edi, eax
test eax, eax
jne 0x180037ee8
mov r8d, dword [0x180097c2c]
inc ebx
cmp ebx, r8d
jb 0x180037eb0
cmp qword [rsp + 0x20], 0
je 0x180037f5d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180037f49
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180037f3a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180037f10
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800953b8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180038760
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18003879c
cmp edx, 1
jne 0x1800387c8
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180050100]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
cmp dword [0x180095438], 0
je 0x1800387c8
xor edx, edx
call fcn.1800382b0
mov rcx, qword [0x180095430]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180095430], rax
mov dword [0x180095438], eax
mov eax, 1
add rsp, 0x38
ret

Function at 0x18003b140
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov dword [rcx], 0
mov word [rcx + 4], 0
mov byte [rcx + 6], 0
lea rbx, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800567d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18003b193
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x18003b1c0
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18004ac40
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18003daf0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x18003b23b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003b236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003b236
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005230c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call fcn.180040550
cmp qword [rbx + 0x18], 7
jbe 0x18003b258
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.18005341c
mov rcx, rdi
call fcn.18003b2c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.default.json
lea rcx, [rsp + 0x30]
call fcn.180041b60
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18003b4e0
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800520a0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x18003ce70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18003ce98
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18003cebe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18003cec0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18003cf19
test ecx, ecx
jle 0x18003cef9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18003cf19
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18003cf19
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x18003cf40
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18003cf62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18003cf78
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp 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]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18003cf94
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003cf96
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18003cfd2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18003d06e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18003d00d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18003d04e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18003d06e
cmp rbx, rax
ja 0x18003d020
test rbx, rbx
je 0x18003d06e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x18003d4d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003d4fd
xor eax, eax
jmp 0x18003d669
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18003d537
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18003d537
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 0x18003d669
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003d65c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003d57a
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 0x18003d5a5
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 0x18003d661
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 0x18003d614
sub eax, 1
je 0x18003d614
cmp eax, 2
jne 0x18003d65c
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 0x18003d661
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003d642
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 0x18003d65c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18003d661
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800520a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18003ec80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003ed53
cmp byte [rcx + 0x71], 0
je 0x18003ed53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18003ed4f
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 0x18003ed14
sub eax, 1
je 0x18003ed18
cmp eax, 2
jne 0x18003ed4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800520a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003ed46
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 0x18003ed4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003ecfc
xor al, al
jmp 0x18003ecfc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800520a0
add rsp, 0x60
pop rbx
ret

Function at 0x18004e5e0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
je 0x18004e5f7
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.18004e5e0
mov eax, edx
ret
Function at 0x18004e770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov rax, qword [0x18006b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r8
mov rbp, rdx
mov r12, rcx
xor edi, edi
lea rsi, [rcx + 0x14]
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], rdi
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rdi
mov dword [rcx + 4], 0x7f7fffff
mov dword [rcx + 8], 0x7f7fffff
mov dword [rcx + 0xc], 0xff7fffff
mov dword [rcx + 0x10], 0xff7fffff
movsd xmm6, qword [0x1800600a0]
movsd xmm7, qword [0x180060090]
test dil, 1
je 0x18004e804
movss xmm0, dword [r14]
jmp 0x18004e809
movss xmm0, dword [rbp]
movss dword [rsp + 0x20], xmm0
test dil, 2
je 0x18004e81d
movss xmm0, dword [r14 + 4]
jmp 0x18004e822
movss xmm0, dword [rbp + 4]
movss dword [rsp + 0x24], xmm0
test dil, 4
je 0x18004e836
movss xmm0, dword [r14 + 8]
jmp 0x18004e83b
movss xmm0, dword [rbp + 8]
movss dword [rsp + 0x28], xmm0
mov rax, qword [0x180094610]
cmp qword [rax + 0x88], 0
je 0x18004e982
movss xmm0, dword [rsi]
movss dword [rsp + 0x38], xmm0
lea r15, [rsi + 4]
movss xmm0, dword [r15]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rax + 0x88]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call rax
movzx ebx, al
mov rax, qword [0x180094620]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
call qword [rax + 0x180]
movss xmm2, dword [rsp + 0x38]
cvtps2pd xmm2, xmm2
addsd xmm2, xmm6
mulsd xmm2, xmm7
movd xmm0, dword [rsp + 0x30]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm2, xmm1
cvtpd2ps xmm3, xmm2
movss dword [rsi], xmm3
movd xmm0, dword [rsp + 0x34]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
movss xmm1, dword [rsp + 0x3c]
cvtps2pd xmm1, xmm1
addsd xmm1, xmm6
mulsd xmm1, xmm7
mulsd xmm1, xmm2
subsd xmm2, xmm1
cvtpd2ps xmm0, xmm2
movss dword [r15], xmm0
test bl, bl
jne 0x18004e982
lea rax, [r12 + 4]
movss xmm0, dword [r12 + 4]
comiss xmm0, xmm3
cmova rax, rsi
mov eax, dword [rax]
mov dword [r12 + 4], eax
lea rax, [r12 + 8]
movss xmm0, dword [r12 + 8]
comiss xmm0, dword [r15]
cmova rax, r15
mov eax, dword [rax]
mov dword [r12 + 8], eax
lea rax, [r12 + 0xc]
movss xmm0, dword [rsi]
comiss xmm0, dword [r12 + 0xc]
cmova rax, rsi
mov eax, dword [rax]
mov dword [r12 + 0xc], eax
lea rcx, [r12 + 0x10]
movss xmm0, dword [r15]
comiss xmm0, dword [r12 + 0x10]
cmova rcx, r15
mov ecx, dword [rcx]
mov dword [r12 + 0x10], ecx
inc edi
add rsi, 8
cmp edi, 8
jl 0x18004e7f7
mov byte [r12], 1
jmp 0x18004e987
mov byte [r12], 0
mov rax, r12
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800520a0
mov rbx, qword [rsp + 0xc8]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180051c20
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180051c55
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180051480
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 0x180051d94
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180051d0d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180051d83
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180051d4a
mov r10, qword [rdx]
cmp r10, rax
je 0x180051d44
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 0x180051d83
cmp r9, rdx
je 0x180051d5f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180051da5
cmp r9, rdx
jne 0x180051d50
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 0x180051cc0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x180051d83
Function at 0x180051dd0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180051e01
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180095468]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180095478]
lea rdx, [rdi + rdi]
call fcn.180051480
mov rax, qword [0x180095468]
lea r9, [rdi - 1]
mov qword [0x180095490], r9
mov qword [0x180095498], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180051f74
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180095478]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180051ec0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180051f35
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180051efd
mov r10, qword [rdx]
cmp r10, rax
je 0x180051ef7
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 0x180051f35
cmp r9, rdx
je 0x180051f11
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180051f49
cmp r9, rdx
jne 0x180051f02
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
je 0x180051f6f
mov r9, qword [0x180095490]
jmp 0x180051e71
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 0x180051f35
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180053170
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 0x1800531aa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800531af
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 0x1800531f8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180056870]
cmp byte [rcx + rax], 0
je 0x1800531f8
dec r8
sub rdx, 1
jne 0x1800531de
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400021fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002246
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002246
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002246
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002246
cmp dword [rcx + 0x84], 0xe
jbe 0x140002246
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002248
xor al, al
add rsp, 0x28
ret
Function at 0x1400010d0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov qword [rsp + 0x40], 0x37c
mov rcx, qword [rsp + 0x40]
call fcn.140004874
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000111a
mov ecx, 2
call fcn.14000499c
lea rdx, [0x140016340]
mov rcx, rax
call fcn.140001060
mov eax, 1
jmp 0x14000123e
lea rax, section..data
mov rdi, qword [rsp + 0x30]
mov rsi, rax
mov rcx, qword [rsp + 0x40]
rep movsb byte [rdi], byte [rsi]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140001183
mov ecx, 2
call fcn.14000499c
lea rdx, [0x140016350]
mov rcx, rax
call fcn.140001060
mov rcx, qword [rsp + 0x30]
call fcn.140004860
mov eax, 1
jmp 0x14000123e
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.140014ab0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001204
mov ecx, 2
call fcn.14000499c
lea rdx, [0x140016360]
mov rcx, rax
call fcn.140001060
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x30]
call fcn.140004860
mov eax, 1
jmp 0x14000123e
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x30]
call fcn.140004860
xor eax, eax
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x140001cc4
Capabilities:
Parse pe header

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