joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180180500
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x80
mov rbx, rdx
mov rdi, rcx
test r9b, r9b
je 0x18018056c
mov rcx, qword [0x180234b80]
mov rax, qword [rcx]
mov r9, rdi
lea r8, str.__s_
lea rdx, [rsp + 0xa0]
call qword [rax + 0xb8]
mov rcx, qword [0x180234b80]
mov rax, qword [rcx]
mov dword [rsp + 0xa8], 0xffffffff
mov r9, rbx
lea r8, [0x180209f54]
lea rdx, [rsp + 0xa8]
call qword [rax + 0xb8]
cmp byte [rsp + 0xb8], 0
je 0x180180615
lea rax, str.____n
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x50], rdi
movabs rax, 0xb000000000000000
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rbx
movabs rax, 0xb000000000000008
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1800a98a0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x60]
call fcn.180091c20
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x1801817d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18022dd50]
movsxd rax, dword [rcx + 3]
mov rbx, qword [rax + rcx + 7]
test rbx, rbx
jne 0x1801817f3
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, dword [0x18023327c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1802352ec], ecx
jle 0x1801818d1
lea rcx, [0x1802352ec]
call fcn.180184dbc
cmp dword [0x1802352ec], 0xffffffff
jne 0x1801818d1
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1801818be
nop dword [rax + rax]
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x180181861
mov rdx, r11
test rax, rax
je 0x1801818a0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x180181880
cmp r9d, 0x13914a63
je 0x1801818ab
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180181850
jmp 0x1801818be
lea r8, str.m_iRoundState
mov rdx, qword [r10 + 0x18]
call fcn.180184950
mov r11d, eax
mov dword [0x1802352f4], r11d
lea rcx, [0x1802352ec]
call fcn.180184d50
movsxd rax, dword [0x1802352f4]
mov eax, dword [rax + rbx]
add rsp, 0x20
pop rbx
ret
Function at 0x180182730
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180182791
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180182750
mov ecx, dword [r9]
jmp 0x18018287b
cmp ecx, 0x4e0
jb 0x18018287b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1801827b0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180182800
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1801828c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rsi
sub rsp, 0x30
movsx eax, byte [rdx]
lea rsi, [rdx + 1]
mov qword [rsp + 0x50], rdi
mov rdi, rdx
mov ebx, 0x811c9dc5
test al, al
jne 0x1801828ec
mov r9d, ebx
jmp 0x1801828ff
xor eax, ebx
mov rcx, rsi
imul edx, eax, 0x1000193
call fcn.1800e1a60
mov r9d, eax
movabs r10, 0x100000001b3
movzx r8d, r9b
movabs rax, 0xcbf29ce484222325
mov ecx, r9d
xor r8, rax
shr ecx, 8
imul r8, r10
movzx edx, cl
mov eax, r9d
xor r8, rdx
shr eax, 0x10
imul r8, r10
movzx ecx, al
xor r8, rcx
mov eax, r9d
mov rcx, qword [0x18022e370]
imul r8, r10
shr rax, 0x18
xor r8, rax
imul r8, r10
and rcx, r8
shl rcx, 4
add rcx, qword [0x18022e358]
mov rax, qword [rcx + 8]
cmp rax, qword [0x18022e348]
je 0x180182988
mov rcx, qword [rcx]
cmp r9d, dword [rax + 0x10]
je 0x18018298a
cmp rax, rcx
je 0x180182988
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x180182977
jmp 0x18018298a
xor eax, eax
test rax, rax
jne 0x1801829e3
mov rcx, qword [0x180234b80]
mov rdx, rdi
mov qword [rsp + 0x48], rbp
mov rax, qword [rcx]
call qword [rax + 0x68]
movsx ecx, byte [rdi]
mov rbp, rax
test cl, cl
jne 0x1801829b2
mov eax, ebx
jmp 0x1801829c4
mov eax, ecx
mov rcx, rsi
xor eax, ebx
imul edx, eax, 0x1000193
call fcn.1800e1a60
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x20]
call fcn.180182d20
mov rcx, qword [rax]
mov qword [rcx + 0x18], rbp
mov rbp, qword [rsp + 0x48]
movsx eax, byte [rdi]
mov rdi, qword [rsp + 0x50]
test al, al
je 0x180182a01
xor eax, ebx
mov rcx, rsi
imul edx, eax, 0x1000193
call fcn.1800e1a60
mov ebx, eax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x20]
call fcn.180182d20
mov rbx, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
add rsp, 0x30
pop rsi
ret
Function at 0x180183000
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 0x180183031
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 [0x18022e348]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18022e358]
lea rdx, [rdi + rdi]
call fcn.180091fb0
mov rax, qword [0x18022e348]
lea r9, [rdi - 1]
mov qword [0x18022e370], r9
mov qword [0x18022e378], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1801831a4
mov qword [rsp + 0x38], 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 [0x18022e358]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1801830f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180183165
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18018312d
mov r10, qword [rdx]
cmp r10, rax
je 0x180183127
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 0x180183165
cmp r9, rdx
je 0x180183141
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180183179
cmp r9, rdx
jne 0x180183132
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 0x18018319f
mov r9, qword [0x18022e370]
jmp 0x1801830a1
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 0x180183165
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180183f20
Capabilities:
Enumerate gui resources
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
sub rsp, 0x48
mov qword [rax + 0x18], rbx
mov rbx, r8
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
test r8, r8
jne 0x180183f5a
lea r8, [rax + 0x10]
lea rdx, [rax - 0x28]
call fcn.180184070
mov edx, dword [rsp + 0x58]
mov rbx, qword [rax]
add rbx, 0x18
mov qword [rsp + 0x40], rbp
test edx, edx
je 0x18018402e
mov ecx, edx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18018402e
cmp qword [0x180235300], 0
jne 0x180183fa9
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea rcx, [0x180180330]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x50]
mov qword [0x180235300], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x180235300]
jne 0x18018402e
cmp byte [rbx], 0
mov dil, 1
jne 0x180184031
movzx esi, dil
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
lea r8, [rbx + 8]
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8]
add rax, 0xfa
cmp rdx, rax
jge 0x180184058
movzx ecx, dil
xor al, al
mov rbp, qword [rsp + 0x40]
test sil, sil
mov byte [rbx], dil
mov rdi, qword [rsp + 0x30]
mov byte [rbx + 1], sil
mov rsi, qword [rsp + 0x38]
mov byte [rbx + 2], cl
mov byte [rbx + 3], al
mov rbx, qword [rsp + 0x60]
je 0x180184029
mov qword [r8], rdx
add rsp, 0x48
ret
xor dil, dil
xor sil, sil
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xor cl, cl
lea r8, [rbx + 8]
test dil, dil
jne 0x180183ffe
cmp byte [rbx], cl
je 0x180183ffe
mov al, 1
jmp 0x180184000
Function at 0x180184360
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 0x180184391
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 [0x18022e428]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18022e438]
lea rdx, [rdi + rdi]
call fcn.180091fb0
mov rax, qword [0x18022e428]
lea r9, [rdi - 1]
mov qword [0x18022e450], r9
mov qword [0x18022e458], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180184504
mov qword [rsp + 0x38], 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 [0x18022e438]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180184450
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1801844c5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18018448d
mov r10, qword [rdx]
cmp r10, rax
je 0x180184487
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 0x1801844c5
cmp r9, rdx
je 0x1801844a1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1801844d9
cmp r9, rdx
jne 0x180184492
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 0x1801844ff
mov r9, qword [0x18022e450]
jmp 0x180184401
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 0x1801844c5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180184950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x80
mov rbp, r8
mov r15, rdx
mov esi, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r8], 0
jne 0x180184972
xor edx, edx
test rcx, rcx
je 0x1801849a5
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
inc rdx
xor eax, esi
imul esi, eax, 0x1000193
cmp rdx, rcx
jb 0x180184990
xor edi, edi
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r14
cmp dword [r15 + 8], edi
jle 0x180184a38
xor r14d, r14d
mov rbx, qword [r15]
mov r9d, 0x811c9dc5
mov rax, 0xffffffffffffffff
movups xmm1, xmmword [rbx + r14 + 0x40]
mov r8, qword [rbx + r14]
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x1801849e0
xor edx, edx
test rax, rax
je 0x180184a08
movsx ecx, byte [rdx + r8]
inc rdx
xor ecx, r9d
imul r9d, ecx, 0x1000193
cmp rdx, rax
jb 0x1801849f1
cmp esi, r9d
je 0x180184a67
movq rdx, xmm1
test rdx, rdx
je 0x180184a2c
mov r8, rbp
lea rcx, [0x180234c58]
call fcn.180184950
mov ecx, eax
test eax, eax
jne 0x180184a5e
inc edi
add r14, 0x60
cmp edi, dword [r15 + 8]
jl 0x1801849c0
xor eax, eax
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop rdi
pop rsi
ret
mov eax, dword [rbx + r14 + 0x48]
add eax, ecx
jmp 0x180184a3a
psrldq xmm1, 8
movd eax, xmm1
jmp 0x180184a3a

Function at 0x1801868dc
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 0x180186916
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18018691b
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 0x180186964
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801b4360]
cmp byte [rcx + rax], 0
je 0x180186964
dec r8
sub rdx, 1
jne 0x18018694a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140003640
Capabilities:
Prepare http request

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
cmp qword [r8 + 0x18], 8
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
jb 0x14000365e
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x140003668
mov rdx, qword [rdx]
xor r14d, r14d
xor r9d, r9d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbp, rax
test rax, rax
jne 0x14000373a
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [0x140036600]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400036e4
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400036df
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400037de
mov rcx, r8
call fcn.140020d6c
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140003733
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000372e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400037de
mov rcx, r8
call fcn.140020d6c
xor eax, eax
jmp 0x1400037c3
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003775
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003770
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400037de
mov rcx, r8
call fcn.140020d6c
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400037c0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400037bb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400037de
mov rcx, r8
call fcn.140020d6c
mov rax, rbp
mov word [rbx], r14w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400041e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r14
sub rsp, 0x68
mov rax, qword [0x140033190]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov qword [rsp + 0x28], rcx
cmp qword [rdx + 0x18], 0x10
mov rbp, rcx
mov qword [rsp + 0x28], r14
jb 0x140004211
mov rdx, qword [rdx]
lea r8, [0x140029f34]
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400043c7
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400043c7
mov qword [rsp + 0x90], rbx
lea r8d, [rax + 2]
xor edx, edx
mov qword [rsp + 0x60], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x28]
xor r8d, r8d
xor edx, edx
movsxd rdi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
movabs rbx, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
cmp rdi, rbx
ja 0x1400043db
mov qword [rsp + 0x98], rsi
cmp rdi, 0x10
jae 0x1400042c0
mov r8, rdi
mov qword [rsp + 0x40], rdi
xor edx, edx
mov qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + rdi + 0x30], r14b
jmp 0x140004359
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x1400042f5
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140020ae0
test rax, rax
je 0x140004320
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140004339
mov ecx, 0x16
mov rbx, rax
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004327
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400043e1
jmp 0x1400042da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140004336
call fcn.140020ae0
mov rsi, rax
jmp 0x140004339
mov rsi, r14
mov r8, rdi
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, rsi
mov qword [rsp + 0x48], rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rsi + rdi], r14b
cmp qword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x30]
mov r9, qword [rsp + 0x28]
mov r8, rdi
cmovae rcx, qword [rsp + 0x30]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movups xmm0, xmmword [rsp + 0x30]
mov rsi, qword [rsp + 0x98]
mov rax, rbp
movups xmm1, xmmword [rsp + 0x40]
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x60]
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140020ab0
add rsp, 0x68
pop r14
pop rbp
ret
lea rdx, [0x140029c28]
mov rcx, rbp
call fcn.140006cd0
mov rax, rbp
jmp 0x1400043b2
call fcn.140001630
int3
call fcn.140001590
int3
Function at 0x14001bb60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x14001bd04
cmp r9, 4
jb 0x14001bbaa
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 0x14001bb90
xor r11d, r11d
test r9, r9
je 0x14001bd04
cmp r9, 8
jb 0x14001bcde
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x14001bbdc
cmp rdx, r8
jae 0x14001bcde
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x14001bbf1
cmp rdx, r10
jae 0x14001bcde
mov rdx, r10
mov qword [rsp + 0x10], rbx
sub rdx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x14001bc9b
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rbx, rcx
lea rax, [r8 + 0x10]
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]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x14001bc30
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x14001bcd0
mov rbx, r9
lea rax, [r11 + r8]
and rbx, 0xfffffffffffffff8
mov rdi, rcx
sub rdi, r8
nop dword [rax]
movq xmm1, qword [rax + rdx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
pxor xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r11, rbx
jb 0x14001bcb0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x14001bd04
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
nop dword [rax + rax]
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x14001bcf0
add rsp, 8
ret

Function at 0x14002185c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400218a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400218a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400218a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400218a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400218a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400218a8
xor al, al
add rsp, 0x28
ret
Function at 0x140001b00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.140002160
mov rcx, rax
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400048a0
mov r8d, 1
jmp 0x1400057f4
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x14000232c
mov rcx, rdx
jmp 0x140005674
jmp 0x140002444
xor r9d, r9d
test r8, r8
je 0x14000581a
movzx eax, byte [rdx + r9]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x1400057fc
mov rax, rcx
ret