joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180039950
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18003998c
cmp edx, 1
jne 0x1800399b8
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180052330]
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 [0x1800983d0], 0
je 0x1800399b8
xor edx, edx
call fcn.1800394a0
mov rcx, qword [0x1800983c8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x1800983c8], rax
mov dword [0x1800983d0], eax
mov eax, 1
add rsp, 0x38
ret

Function at 0x18003c140
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006e010]
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, [0x180058830]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18003c193
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x18003c1c0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18004bb20
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18003eb50
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x18003c230
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c22b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c22b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180054bf0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call fcn.1800415d0
cmp qword [rbx + 0x18], 8
jb 0x18003c24d
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.180055d88
mov rcx, rdi
call fcn.18003c2b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0xc
lea rdx, str.default.json
lea rcx, [rsp + 0x20]
call fcn.180042910
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18003c4e0
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800549f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x18003dea0
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 0x18003dec8
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 0x18003deee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18003def0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18003df49
test ecx, ecx
jle 0x18003df29
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 0x18003df49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18003df49
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 0x18003df70
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 0x18003df92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18003dfa8
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 0x18003dfc4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18003dfc6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18003e002
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 0x18003e09e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18003e03d
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 0x18003e07e
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 0x18003e09e
cmp rbx, rax
ja 0x18003e050
test rbx, rbx
je 0x18003e09e
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 0x18003e4d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18006e010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003e4fd
xor eax, eax
jmp 0x18003e65a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18003e528
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18003e528
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x18003e65a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003e64d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18003e56b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x18003e596
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 0x18003e652
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 0x18003e605
sub eax, 1
je 0x18003e605
cmp eax, 2
jne 0x18003e64d
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 0x18003e652
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003e633
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 0x18003e64d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18003e652
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800549f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18003fc50
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006e010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003fd23
cmp byte [rcx + 0x71], 0
je 0x18003fd23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18003fd1f
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 0x18003fce4
sub eax, 1
je 0x18003fce8
cmp eax, 2
jne 0x18003fd1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800549f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003fd16
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 0x18003fd1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003fccc
xor al, al
jmp 0x18003fccc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800549f0
add rsp, 0x60
pop rbx
ret

Function at 0x18004f020
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
je 0x18004f037
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.18004f020
mov eax, edx
ret
Function at 0x1800501e0
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 [0x18006e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov rsi, rdx
mov r12, rcx
xor edi, edi
mov dword [rcx + 8], edi
mov dword [rcx + 0x10], edi
lea r14, [rcx + 0x14]
mov rax, r14
mov ecx, 8
nop word [rax + rax]
mov qword [rax], rdi
lea rax, [rax + 8]
sub rcx, 1
jne 0x180050230
mov dword [r12 + 4], 0x7f7fffff
mov dword [r12 + 8], 0x7f7fffff
mov dword [r12 + 0xc], 0xff7fffff
mov dword [r12 + 0x10], 0xff7fffff
movsd xmm6, qword [0x1800623e8]
movsd xmm7, qword [0x1800623d8]
test dil, 1
je 0x18005027e
movss xmm0, dword [rbp]
jmp 0x180050282
movss xmm0, dword [rsi]
movss dword [rsp + 0x20], xmm0
test dil, 2
je 0x180050295
movss xmm0, dword [rbp + 4]
jmp 0x18005029a
movss xmm0, dword [rsi + 4]
movss dword [rsp + 0x24], xmm0
test dil, 4
je 0x1800502ad
movss xmm0, dword [rbp + 8]
jmp 0x1800502b2
movss xmm0, dword [rsi + 8]
movss dword [rsp + 0x28], xmm0
mov rax, qword [0x180097590]
cmp qword [rax + 0x88], 0
je 0x1800503fc
movss xmm0, dword [r14]
movss dword [rsp + 0x38], xmm0
lea r15, [r14 + 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 [0x1800975a0]
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 [r14], 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 0x1800503fc
lea rax, [r12 + 4]
movss xmm0, dword [r12 + 4]
comiss xmm0, xmm3
cmova rax, r14
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 [r14]
comiss xmm0, dword [r12 + 0xc]
cmova rax, r14
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 r14, 8
cmp edi, 8
jl 0x180050271
mov byte [r12], 1
jmp 0x180050401
mov byte [r12], 0
mov rax, r12
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800549f0
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 0x180054110
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 0x180054145
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.1800539a0
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 0x180054286
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
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
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180054200
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180054275
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18005423d
mov r10, qword [rdx]
cmp r10, rax
je 0x180054237
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 0x180054275
cmp r9, rdx
je 0x180054251
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180054297
cmp r9, rdx
jne 0x180054242
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 0x1800541b0
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 0x180054275
Function at 0x1800542c0
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 0x1800542f1
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 [0x180098408]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180098418]
lea rdx, [rdi + rdi]
call fcn.1800539a0
mov rax, qword [0x180098408]
lea r9, [rdi - 1]
mov qword [0x180098430], r9
mov qword [0x180098438], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180054464
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 [0x180098418]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800543b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180054425
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800543ed
mov r10, qword [rdx]
cmp r10, rax
je 0x1800543e7
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 0x180054425
cmp r9, rdx
je 0x180054401
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180054439
cmp r9, rdx
jne 0x1800543f2
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 0x18005445f
mov r9, qword [0x180098430]
jmp 0x180054361
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 0x180054425
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180054810
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x18005481a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.180054810
Function at 0x180054830
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov edx, 0xe80c2f78
lea rcx, [0x1800622f1]
call fcn.18004f020
mov edx, 0xc60bf9f2
mov dword [rsp + 0x78], eax
lea rcx, [0x1800622e1]
call fcn.18004f020
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x20]
call fcn.180053d90
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180053ae0
mov rcx, qword [rax]
movsx rax, word [rcx + 0x1c]
mov rbx, qword [rax + rbx]
test rbx, rbx
je 0x180054938
mov edx, 0xe80c2f78
lea rcx, [0x180062311]
call fcn.18004f020
mov edx, 0xc60bf9f2
mov dword [rsp + 0x88], eax
lea rcx, [0x180062301]
call fcn.18004f020
lea r8, [rsp + 0x80]
mov dword [rsp + 0x80], eax
lea rdx, [rsp + 0x40]
call fcn.180053d90
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180053ae0
mov rcx, qword [rax]
movsx rax, word [rcx + 0x1c]
mov r8, qword [rax + rbx]
test r8, r8
je 0x180054938
movsx eax, byte [r8]
mov ecx, 0x811c9dc5
test al, al
je 0x180054929
xor eax, ecx
lea rcx, [r8 + 1]
imul edx, eax, 0x1000193
call fcn.180054810
mov ecx, eax
cmp ecx, 0x3b96c0aa
sete al
add rsp, 0x60
pop rbx
ret
xor al, al
add rsp, 0x60
pop rbx
ret

Function at 0x180055ae0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180055b64
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180058980]
cmp byte [rcx + rax], 0
je 0x180055b64
dec r8
sub rdx, 1
jne 0x180055b4a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x4180e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41828b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00434d00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41814e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x418161
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x418185
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x418199
cmp rbx, 0x1000
jae 0x418158
nop
jmp 0x418209
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4181ad
xor edx, edx
jmp 0x418200
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00434d00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41818f
jmp 0x418175
call fcn.00466560
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004394c0
lea rax, [0x006982b9]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00439dc0
mov rax, qword [rsp + 0x38]
call fcn.00439ac0
lea rax, [0x006983f1]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439dc0
mov rax, qword [rsp + 0x30]
call fcn.00439ac0
call fcn.00439720
call fcn.00439540
lea rax, [0x0069c1e5]
mov ebx, 0x21
call fcn.00437c00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004629a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004180e0
Function at 0x4182c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4184ea
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434d80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41833b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41834e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x418370
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x418384
cmp rbx, 0x1000
jae 0x418345
jmp 0x41840e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x418396
xor esi, esi
jmp 0x418400
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00434d80
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x41837a
jmp 0x418362
call fcn.00466560
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x418489
call fcn.004394c0
lea rax, [0x006989e6]
mov ebx, 0x19
call fcn.00439dc0
mov rax, qword [rsp + 0x68]
call fcn.00439ac0
lea rax, [0x006983f1]
mov ebx, 0x19
nop
call fcn.00439dc0
mov eax, dword [rsp + 0x34]
call fcn.00439ac0
call fcn.00439720
call fcn.00439540
lea rax, [0x006939d5]
mov ebx, 0xd
call fcn.00437c00
cmp eax, 0x5af
je 0x418433
call fcn.004394c0
lea rax, [0x006989e6]
mov ebx, 0x19
call fcn.00439dc0
mov rax, qword [rsp + 0x38]
call fcn.00439ac0
lea rax, [0x006983f1]
mov ebx, 0x19
nop dword [rax]
call fcn.00439dc0
mov eax, dword [rsp + 0x34]
call fcn.00439ac0
call fcn.00439720
call fcn.00439540
lea rax, [0x0069b38a]
mov ebx, 0x1f
call fcn.00437c00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004629a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004182c0