joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180038b00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18006d010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180099c20]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180038b73
mov eax, 0xa
jmp 0x180038c06
test esi, esi
je 0x180038b95
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180038bb8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180038bb8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180038bb1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180038bb8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800543c0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180039570
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x1800395ac
cmp edx, 1
jne 0x1800395d8
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180051d50]
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 [0x1800973a0], 0
je 0x1800395d8
xor edx, edx
call fcn.1800390c0
mov rcx, qword [0x180097398]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180097398], rax
mov dword [0x1800973a0], eax
mov eax, 1
add rsp, 0x38
ret

Function at 0x18003bcd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006d010]
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, [0x180058800]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x18003bd23
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x18003bd50
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18004b6a0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18003e6f0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x18003bdc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003bdbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003bdbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800545c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call fcn.1800411d0
cmp qword [rbx + 0x18], 8
jb 0x18003bddd
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.1800555d8
mov rcx, rdi
call fcn.18003be40
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.180042680
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18003c070
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800543c0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x18003e060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18006d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003e08d
xor eax, eax
jmp 0x18003e1f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18003e0c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18003e0c7
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 0x18003e1f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18003e1ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003e10a
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 0x18003e135
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 0x18003e1f1
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 0x18003e1a4
sub eax, 1
je 0x18003e1a4
cmp eax, 2
jne 0x18003e1ec
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 0x18003e1f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18003e1d2
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 0x18003e1ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18003e1f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800543c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18003f840
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003f913
cmp byte [rcx + 0x71], 0
je 0x18003f913
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18003f90f
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 0x18003f8d4
sub eax, 1
je 0x18003f8d8
cmp eax, 2
jne 0x18003f90f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800543c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003f906
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 0x18003f90f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003f8bc
xor al, al
jmp 0x18003f8bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800543c0
add rsp, 0x60
pop rbx
ret

Function at 0x18004ea50
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
je 0x18004ea67
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.18004ea50
mov eax, edx
ret
Function at 0x18004fc20
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 [0x18006d010]
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 [0x180062308]
movsd xmm7, qword [0x1800622f8]
test dil, 1
je 0x18004fcb4
movss xmm0, dword [r14]
jmp 0x18004fcb9
movss xmm0, dword [rbp]
movss dword [rsp + 0x20], xmm0
test dil, 2
je 0x18004fccd
movss xmm0, dword [r14 + 4]
jmp 0x18004fcd2
movss xmm0, dword [rbp + 4]
movss dword [rsp + 0x24], xmm0
test dil, 4
je 0x18004fce6
movss xmm0, dword [r14 + 8]
jmp 0x18004fceb
movss xmm0, dword [rbp + 8]
movss dword [rsp + 0x28], xmm0
mov rax, qword [0x180096590]
cmp qword [rax + 0x88], 0
je 0x18004fe32
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 [0x1800965a0]
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 0x18004fe32
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 0x18004fca7
mov byte [r12], 1
jmp 0x18004fe37
mov byte [r12], 0
mov rax, r12
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800543c0
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 0x180053b70
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 0x180053ba5
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.1800533c0
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 0x180053ce6
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 0x180053c60
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180053cd5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180053c9d
mov r10, qword [rdx]
cmp r10, rax
je 0x180053c97
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 0x180053cd5
cmp r9, rdx
je 0x180053cb1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180053cf7
cmp r9, rdx
jne 0x180053ca2
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 0x180053c10
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 0x180053cd5
Function at 0x180053d20
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 0x180053d51
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 [0x1800973d8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800973e8]
lea rdx, [rdi + rdi]
call fcn.1800533c0
mov rax, qword [0x1800973d8]
lea r9, [rdi - 1]
mov qword [0x180097400], r9
mov qword [0x180097408], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180053ec4
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 [0x1800973e8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180053e10
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180053e85
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x180053e4d
mov r10, qword [rdx]
cmp r10, rax
je 0x180053e47
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 0x180053e85
cmp r9, rdx
je 0x180053e61
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180053e99
cmp r9, rdx
jne 0x180053e52
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 0x180053ebf
mov r9, qword [0x180097400]
jmp 0x180053dc1
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 0x180053e85
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800541e0
Capabilities:
Hash data using fnv

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

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov edx, 0xe80c2f78
lea rcx, [0x180062201]
call fcn.18004ea50
mov edx, 0xc60bf9f2
mov dword [rsp + 0x78], eax
lea rcx, [0x180062211]
call fcn.18004ea50
lea r8, [rsp + 0x70]
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x20]
call fcn.1800537b0
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180053500
mov rcx, qword [rax]
movsx rax, word [rcx + 0x1c]
mov rbx, qword [rax + rbx]
test rbx, rbx
je 0x180054308
mov edx, 0xe80c2f78
lea rcx, [0x180062221]
call fcn.18004ea50
mov edx, 0xc60bf9f2
mov dword [rsp + 0x88], eax
lea rcx, [0x180062231]
call fcn.18004ea50
lea r8, [rsp + 0x80]
mov dword [rsp + 0x80], eax
lea rdx, [rsp + 0x40]
call fcn.1800537b0
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180053500
mov rcx, qword [rax]
movsx rax, word [rcx + 0x1c]
mov r8, qword [rax + rbx]
test r8, r8
je 0x180054308
movsx eax, byte [r8]
mov ecx, 0x811c9dc5
test al, al
je 0x1800542f9
xor eax, ecx
lea rcx, [r8 + 1]
imul edx, eax, 0x1000193
call fcn.1800541e0
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 0x180055330
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 0x1800553b4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800588a0]
cmp byte [rcx + rax], 0
je 0x1800553b4
dec r8
sub rdx, 1
jne 0x18005539a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004bc7
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140011fb0
mov r15, qword [0x14001f45c]
cmp r15, 1
jne 0x140004c96
push qword [0x14001f54c]
pop rcx
call fcn.14000d17c
mov r15, rax
and r15, r15
jle 0x140004c2c
mov rcx, qword [0x14001f54c]
call fcn.14000d184
mov rcx, qword [0x14001f54c]
call fcn.14000d198
or rax, rax
je 0x140004c2c
mov rbp, qword [0x14001f554]
push qword [rbp + 0x10]
pop rcx
call fcn.14000d58c
jmp 0x140004c09
push qword [0x14001f53c]
pop rcx
call fcn.14000d17c
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004c96
push 5
push 0
push 1
push qword [0x14001f53c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140008c40
mov rcx, qword [0x14001f53c]
call fcn.14000d184
mov rcx, qword [0x14001f53c]
call fcn.14000d198
or rax, rax
je 0x140004c96
mov rbp, qword [0x14001f544]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004c73
mov rax, 1
jmp 0x140004ca2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006178
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001e180]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x4167e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416986
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.00432900
xorps xmm15, xmm15
mov r14, qword [0x0066ef58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41684b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416860
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x416885
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416899
cmp rbx, 0x1000
jae 0x416855
nop dword [rax]
jmp 0x416909
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 0x4168ad
xor edx, edx
jmp 0x416900
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.00432900
xorps xmm15, xmm15
mov r14, qword [0x0066ef58]
mov r14, qword gs:[r14]
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 dword [rax]
test dl, dl
jne 0x41688f
jmp 0x416874
call fcn.00464120
xorps xmm15, xmm15
mov r14, qword [0x0066ef58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436f40
lea rax, [0x0052ffa0]
mov ebx, 0x18
call fcn.00437840
mov rax, qword [rsp + 0x38]
call fcn.00437540
lea rax, [0x00530090]
mov ebx, 0x19
call fcn.00437840
mov rax, qword [rsp + 0x30]
nop
call fcn.00437540
call fcn.004371a0
call fcn.00436fc0
lea rax, [0x005326f8]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00435600
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460560
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004167e0