joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801d72c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
movsxd rdi, r8d
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x1801d730b
cmp edi, 1
jl 0x1801d730b
movzx eax, word [rdx + 2]
cmp edi, eax
jg 0x1801d730b
mov rax, qword [rdx + 0x28]
lea rcx, [rdi + rdi*8]
lea rax, [rax + rcx*8]
add rax, 0xffffffffffffffb8
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
imul rax, rsi, 0x100011b
imul rcx, rdi, 0x1000193
mov qword [rsp + 0x50], rbx
xor rcx, rax
mov rax, qword [r14 + 0x78]
and rcx, qword [r14 + 0x90]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r14 + 0x68]
jne 0x1801d733f
mov rbx, r15
jmp 0x1801d737b
mov qword [rsp + 0x60], rbp
mov rbp, qword [rax + rcx*8]
nop dword [rax + rax]
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x20]
call fcn.1801e9fb0
cmp rsi, qword [rax]
jne 0x1801d7368
cmp edi, dword [rax + 8]
je 0x1801d7376
cmp rbx, rbp
je 0x1801d7373
mov rbx, qword [rbx + 8]
jmp 0x1801d7350
mov rbx, r15
mov rbp, qword [rsp + 0x60]
test rbx, rbx
je 0x1801d7393
cmp rbx, qword [r14 + 0x68]
je 0x1801d7393
mov rax, qword [rbx + 0x10]
cmp byte [rax], 2
cmovne rax, r15
jmp 0x1801d7396
mov rax, r15
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1801d7690
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rsi
push r14
push r15
sub rsp, 0x80
movups xmm0, xmmword [r9]
mov r14, rdx
mov qword [r11 + 0x10], rbx
mov r15, rcx
lea rax, [r11 - 0x48]
movups xmmword [rsp + 0x58], xmm0
mov qword [r11 - 0x30], r8
lea rdx, [r11 - 0x78]
lea rcx, [r11 + 8]
mov byte [rsp + 0x50], 0xb
mov qword [r11 + 8], rax
call fcn.1801e9cd0
xor esi, esi
mov r10, rax
mov edx, esi
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
add r9, r8
cmp r8, r9
jae 0x1801d7703
nop word [rax + rax]
movsx rax, byte [r8]
lea rdx, [rdx + rdx*4]
add rdx, rax
inc r8
cmp r8, r9
jb 0x1801d76f0
imul rcx, qword [r10], 0x1000193
mov rax, qword [r15 + 0x18]
xor rcx, rdx
and rcx, qword [r15 + 0x30]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r15 + 8]
je 0x1801d77b3
mov qword [rsp + 0xb0], rbp
mov rbp, qword [rax + rcx*8]
mov qword [rsp + 0xb8], rdi
nop dword [rax + rax]
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x20]
call fcn.1801e9cd0
lea rdx, [rsp + 0x38]
mov rdi, rax
lea rcx, [rsp + 0xa0]
call fcn.1801e9cd0
mov rcx, qword [rdi]
cmp qword [rax], rcx
jne 0x1801d7795
mov r8, qword [rax + 0x10]
movups xmm1, xmmword [rdi + 8]
mov rcx, qword [rax + 8]
cmp r8, qword [rdi + 0x10]
jne 0x1801d7795
movq rdx, xmm1
cmp rcx, rdx
je 0x1801d77a0
test r8, r8
je 0x1801d77a0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801d77a0
cmp rbx, rbp
je 0x1801d77a3
mov rbx, qword [rbx + 8]
jmp 0x1801d7740
mov rsi, rbx
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xa8]
test rsi, rsi
je 0x1801d77dd
cmp rsi, qword [r15 + 8]
je 0x1801d77dd
mov rax, qword [rsi + 0x10]
mov qword [r14], rax
mov rax, r14
add rsp, 0x80
pop r15
pop r14
pop rsi
ret
lea rax, [0x180271268]
mov qword [r14], rax
mov rax, r14
add rsp, 0x80
pop r15
pop r14
pop rsi
ret
Function at 0x1801e3710
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 r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1802f1dc0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r8, rdx
mov r13, rcx
xor ebp, ebp
cmp qword [rcx + 8], rbp
jne 0x1801e3750
xor al, al
jmp 0x1801e392b
mov rdx, qword [rdx]
xorps xmm0, xmm0
mov qword [rsp + 0x130], rbp
movups xmmword [rsp + 0x120], xmm0
test rdx, rdx
jne 0x1801e3785
mov rdi, rbp
mov esi, 0xf
mov qword [rsp + 0x138], rsi
mov byte [rsp + 0x120], dil
jmp 0x1801e37ae
mov qword [rsp + 0x138], rbp
mov r8, qword [r8 + 8]
lea rcx, [rsp + 0x120]
call fcn.18000b8a0
mov rsi, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x130]
mov r9, qword [r13 + 0x20]
lea r8, [rsp + 0x120]
mov r14, qword [rsp + 0x120]
cmp rsi, 0xf
cmova r8, r14
movabs rdx, 0xcbf29ce484222325
mov rcx, rbp
test rdi, rdi
je 0x1801e3804
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, rdi
jb 0x1801e37f0
mov rcx, qword [r9 + 0x48]
and rcx, rdx
add rcx, rcx
mov rax, qword [r9 + 0x30]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 0x20]
je 0x1801e3860
mov r15, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0xf
jbe 0x1801e3830
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x120]
cmp rsi, 0xf
cmova rcx, r14
cmp rdi, qword [rbx + 0x20]
jne 0x1801e3852
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801e385d
cmp rbx, r15
je 0x1801e3860
mov rbx, qword [rbx + 8]
jmp 0x1801e3821
mov rbp, rbx
test rbp, rbp
je 0x1801e386c
xor bl, bl
jmp 0x1801e38ee
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1801a7540
lea rax, vtable.google::protobuf::FileDescriptorProto.0
mov qword [rsp + 0x40], rax
mov rcx, qword [r13 + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x120]
call qword [rax + 8]
test al, al
je 0x1801e38b8
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1801c7f90
test rax, rax
je 0x1801e38b8
mov bl, 1
jmp 0x1801e38d4
mov rcx, qword [r13 + 0x20]
add rcx, 0x18
lea r8, [rsp + 0x120]
lea rdx, [rsp + 0x28]
call fcn.1801bc9a0
xor bl, bl
lea rcx, [rsp + 0x40]
call fcn.1801a7fe0
mov rsi, qword [rsp + 0x138]
mov r14, qword [rsp + 0x120]
cmp rsi, 0xf
jbe 0x1801e3928
lea rdx, [rsi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1801e3920
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801e3920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.18020cd88
movzx eax, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18020d270
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1801e7e20
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push r13
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov r13, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1801e8039
mov qword [rsp + 0x50], rbp
lea rax, [rdx - 1]
mov rbp, qword [r13 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x58], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x60], rdi
shl rbx, cl
mov qword [rsp + 0x28], r14
lea r14, [r13 + 0x18]
mov rcx, r14
lea rdx, [rbx + rbx]
call fcn.180177470
mov rdi, qword [r13 + 8]
lea rax, [rbx - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rbx
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x1801e7ff7
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x20], r15
mov rdx, qword [rdi + 0x18]
xor eax, eax
mov r8, qword [rdi + 0x20]
mov rsi, qword [rsi]
add r8, rdx
cmp rdx, r8
jae 0x1801e7ee3
nop word [rax + rax]
movsx rcx, byte [rdx]
lea rax, [rax + rax*4]
add rax, rcx
inc rdx
cmp rdx, r8
jb 0x1801e7ed0
mov r12, qword [rdi + 0x10]
imul r15, r12, 0x1000193
xor r15, rax
and r15, qword [r13 + 0x30]
shl r15, 4
add r15, qword [r14]
mov r14, qword [r15]
cmp r14, rbp
jne 0x1801e7f10
mov qword [r15], rdi
mov qword [r15 + 8], rdi
jmp 0x1801e7fdd
mov rbx, qword [r15 + 8]
cmp r12, qword [rbx + 0x10]
jne 0x1801e7f73
mov r8, qword [rdi + 0x20]
movups xmm1, xmmword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
cmp r8, qword [rbx + 0x20]
jne 0x1801e7f73
movq rdx, xmm1
cmp rcx, rdx
je 0x1801e7f44
test r8, r8
je 0x1801e7f44
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1801e7f73
mov r8, qword [rbx]
cmp r8, rdi
je 0x1801e7f6d
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r15 + 8], rdi
jmp 0x1801e7fdd
cmp r14, rbx
je 0x1801e7fb9
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
cmp r12, qword [rbx + 0x10]
jne 0x1801e7fb4
mov r8, qword [rdi + 0x20]
movups xmm1, xmmword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
cmp r8, qword [rbx + 0x20]
jne 0x1801e7fb4
movq rdx, xmm1
cmp rcx, rdx
je 0x1801e8013
test r8, r8
je 0x1801e8013
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1801e8013
cmp r14, rbx
jne 0x1801e7f80
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r15], rdi
lea r14, [r13 + 0x18]
mov rdi, rsi
cmp rsi, rbp
jne 0x1801e7eb0
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
add rsp, 0x38
pop r13
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1801e7fdd
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1801e8550
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r13, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1801e8741
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov r12, qword [r13 + 8]
lea rsi, [r13 + 0x18]
lea rdx, [rbx + rbx]
mov r8, r12
mov rcx, rsi
call fcn.180177470
lea rax, [rbx - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rbx
mov qword [rsp + 0xa8], r13
mov rdi, qword [r13 + 8]
mov rdi, qword [rdi]
cmp rdi, r12
je 0x1801e86fd
mov rbx, rdi
nop
mov rdi, qword [rdi]
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x10]
call fcn.1801e9fb0
movsxd rcx, dword [rax + 8]
imul r14, rcx, 0x1000193
imul rax, qword [rax], 0x100011b
xor r14, rax
and r14, qword [r13 + 0x30]
shl r14, 4
add r14, qword [rsi]
cmp qword [r14], r12
jne 0x1801e8622
mov qword [r14], rbx
mov qword [r14 + 8], rbx
jmp 0x1801e86f1
mov rsi, qword [r14 + 8]
lea rcx, [rsi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.1801e9fb0
mov r15, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x10]
call fcn.1801e9fb0
mov rcx, qword [r15]
cmp qword [rax], rcx
jne 0x1801e8685
mov ecx, dword [r15 + 8]
cmp dword [rax + 8], ecx
jne 0x1801e8685
mov r8, qword [rsi]
cmp r8, rbx
je 0x1801e867f
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r14 + 8], rbx
jmp 0x1801e86ed
cmp qword [r14], rsi
je 0x1801e86c9
nop word [rax + rax]
mov rsi, qword [rsi + 8]
lea rcx, [rsi + 0x10]
lea rdx, [rsp + 0x50]
call fcn.1801e9fb0
mov r15, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbx + 0x10]
call fcn.1801e9fb0
mov rcx, qword [r15]
cmp qword [rax], rcx
jne 0x1801e86c4
mov ecx, dword [r15 + 8]
cmp dword [rax + 8], ecx
je 0x1801e871b
cmp qword [r14], rsi
jne 0x1801e8690
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r14], rbx
lea rsi, [r13 + 0x18]
mov rbx, rdi
cmp rdi, r12
jne 0x1801e85e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x1801e86ed
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1801ece20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1802f1dc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rcx, rdx
call fcn.180194660
dec eax
cmp eax, 9
ja case.default.0x1801ece5a
cdqe
lea rdx, [0x180000000]
mov ecx, dword [rdx + rax*4 + 0x1ed10c]
add rcx, rdx
jmp rcx
mov r9d, 0x11f
lea r8, str.C:_someshit_srcsprotobuf_3.21.12_srcgoogle_protobuf_map_field.h
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.180173af0
nop
lea rdx, str.Unsupported
mov rcx, rax
call fcn.180173ef0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180173ce0
nop
lea rcx, [rsp + 0x28]
call fcn.180173c70
mov r9d, 0x137
lea r8, str.C:_someshit_srcsprotobuf_3.21.12_srcgoogle_protobuf_map_field.h
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.180173af0
nop
lea rdx, str.Cant_get_here.
mov rcx, rax
call fcn.180173ef0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180173ce0
nop
lea rcx, [rsp + 0x28]
call fcn.180173c70
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18020d270
add rsp, 0x70
pop rbx
ret
mov rcx, rbx
call fcn.18018e820
mov r9, rax
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1801ecf11
mov r8, qword [rax]
movabs rax, 0xcbf29ce484222325
mov r9, qword [r9 + 0x10]
xor edx, edx
test r9, r9
je 0x1801ecee6
movabs r10, 0x100000001b3
movzx ecx, byte [r8 + rdx]
xor rax, rcx
imul rax, r10
inc rdx
cmp rdx, r9
jb 0x1801ecf30
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18020d270
add rsp, 0x70
pop rbx
ret
mov rcx, rbx
call fcn.18018e4b0
mov r8, rax
mov rcx, rax
shr rcx, 8
movzx r9d, cl
movzx ecx, al
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
xor r9, rcx
imul r9, r10
mov rax, r8
shr rax, 0x10
movzx ecx, al
xor r9, rcx
imul r9, r10
mov rax, r8
shr rax, 0x18
movzx ecx, al
xor r9, rcx
imul r9, r10
mov rax, r8
shr rax, 0x20
movzx ecx, al
xor r9, rcx
imul r9, r10
mov rax, r8
shr rax, 0x28
movzx eax, al
xor rax, r9
imul rax, r10
mov rcx, r8
shr rcx, 0x30
movzx edx, cl
xor rax, rdx
imul rax, r10
shr r8, 0x38
xor rax, r8
imul rax, r10
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18020d270
add rsp, 0x70
pop rbx
ret
mov rcx, rbx
call fcn.18018e260
mov rcx, rbx
call fcn.18018e260
mov r8d, eax
movzx r9d, al
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs r10, 0x100000001b3
imul r9, r10
mov eax, r8d
shr eax, 8
movzx eax, al
xor rax, r9
imul rax, r10
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
xor rax, rdx
imul rax, r10
shr r8, 0x18
xor rax, r8
imul rax, r10
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18020d270
add rsp, 0x70
pop rbx
ret
mov rcx, rbx
call fcn.18018ecb0
mov rcx, rbx
call fcn.18018ecb0
jmp 0x1801ecf5f
mov rcx, rbx
call fcn.18018ea60
mov rcx, rbx
call fcn.18018ea60
mov r8d, eax
shr eax, 8
movzx r9d, al
movzx ecx, r8b
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs r10, 0x100000001b3
imul rax, r10
xor rax, r9
imul rax, r10
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
xor rax, rdx
imul rax, r10
shr r8, 0x18
jmp 0x1801ecfeb
mov rcx, rbx
call fcn.18018e000
movzx ecx, al
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs r10, 0x100000001b3
jmp 0x1801ecfee
Function at 0x18020c304
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 0x18020c33e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18020c343
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 0x18020c38c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180276850]
cmp byte [rcx + rax], 0
je 0x18020c38c
dec r8
sub rdx, 1
jne 0x18020c372
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400087f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140008814
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1400088a2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008870
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140008870
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.140055530
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000888d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140008895
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140008831
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140008980
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1400088b9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400088bb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400088ed
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.140055530
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000897d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008928
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
cmp rsi, 0xfff
jbe 0x14000895e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14003a468
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14000897d
cmp rsi, rax
ja 0x140008931
test rsi, rsi
je 0x14000897d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14003a468
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140023420
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x1400235c4
cmp r9, 4
jb 0x14002346a
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x140023450
xor r11d, r11d
test r9, r9
je 0x1400235c4
cmp r9, 8
jb 0x14002359d
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x14002349c
cmp rdx, r8
jae 0x14002359d
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x1400234b1
cmp rdx, r10
jae 0x14002359d
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x140023557
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rdx, r10
lea rax, [r8 + 0x10]
sub rdx, r8
mov rbx, rcx
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x1400234f0
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x14002358f
mov rdx, r9
and rdx, 0xfffffffffffffff8
mov rbx, r10
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r11, rdx
jb 0x140023570
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x1400235c4
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x1400235b0
add rsp, 8
ret

Function at 0x140029510
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002955a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002955a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002955a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002955a
cmp dword [rcx + 0x84], 0xe
jbe 0x14002955a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002955c
xor al, al
add rsp, 0x28
ret
Function at 0x140029740
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 0x14002977a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14002977f
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 0x1400297c8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005dc00]
cmp byte [rcx + rax], 0
je 0x1400297c8
dec r8
sub rdx, 1
jne 0x1400297ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14003fb18
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14003fb87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003fb87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003fb87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003fb87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003fb87
cmp dword [rcx + 0x84], 0xe
jbe 0x14003fb87
cmp dword [rcx + 0xf8], 0
je 0x14003fb87
mov ecx, ebx
call fcn.14003fc38
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14003fa14
nop
cmp dword [rbp + 0x20], 0
je 0x14003fbd5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003fbe0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14003fb18

Function at 0x14003fd1c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003fb18

Function at 0x140044b4c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140044b62
mov al, 1
jmp 0x140044bc2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140044b73
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140044bc0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14004ce08
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140044bc0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140044bc0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140044bc0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140044bc2
xor al, al
add rsp, 0x20
pop rbx
ret