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

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140052621
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400520c0
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 0x1400525e6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
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 0x140052560
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400525d5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005259d
mov r10, qword [rdx]
cmp r10, rax
je 0x140052597
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 0x1400525d5
cmp r9, rdx
je 0x1400525b1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400525fb
cmp r9, rdx
jne 0x1400525a2
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 0x140052510
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x1400525d5
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14005b040
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1401494d8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r14, rdx
mov byte [rsp + 0x30], 0x45
mov rbp, rcx
mov dl, reloc.WLDAP32.dll_Ordinal_35
xor ecx, ecx
xor dl, 0x45
cvtss2sd xmm2, xmm2
mov al, 0x60
mov byte [rsp + 0x32], dl
xor al, 0x45
mov byte [rsp + 0x33], cl
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x38]
mov r15, r9
movq r8, xmm2
call fcn.140060290
cmp qword [rbp + 0x20], 0x10
lea rsi, [rbp + 8]
jb 0x14005b0ad
mov rsi, qword [rsi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005b137
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005b137
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x21032a13
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005b132
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14005b110
cmp r8d, 0xd00d8f57
je 0x14005b13c
test r9d, r9d
jne 0x14005b0f0
mov rax, qword [rax]
jmp 0x14005b0c0
mov r8d, dword [rbx + 0x24]
mov rdx, rsi
add r8, r10
mov qword [rsp + 0x28], r15
mov rcx, r14
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
movzx r9d, word [r8 + r9*2]
mov r8d, dword [rbx + 0x1c]
add r8, r10
mov eax, dword [r8 + r9*4]
lea r9, [rsp + 0x60]
add rax, r10
lea r8, [rsp + 0x38]
call rax
test eax, eax
lea rcx, [rsp + 0x60]
setne bl
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
movzx eax, bl
cvtsd2ss xmm1, xmm0
movss dword [rbp], xmm1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c8560
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005b1c0
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1401494d8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rdx
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_26
mov r14, rcx
mov dl, reloc.WS2_32.dll_WSAStartup
xor dl, 0x1a
xor ecx, ecx
mov al, 0x3f
mov byte [rsp + 0x32], dl
xor al, 0x1a
mov byte [rsp + 0x33], cl
lea rdx, [rsp + 0x31]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x38]
mov r15, r9
call fcn.140060290
cmp qword [r14 + 0x20], 0x10
lea rsi, [r14 + 8]
jb 0x14005b224
mov rsi, qword [rsi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005b2b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005b2b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x73a5bfc8
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005b2b2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14005b290
cmp r8d, 0xd84a9b78
je 0x14005b2bc
test r9d, r9d
jne 0x14005b270
mov rax, qword [rax]
jmp 0x14005b240
mov r8d, dword [rbx + 0x24]
mov rdx, rsi
add r8, r10
mov qword [rsp + 0x28], r15
mov rcx, rbp
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
movzx r9d, word [r8 + r9*2]
mov r8d, dword [rbx + 0x1c]
add r8, r10
mov eax, dword [r8 + r9*4]
lea r9, [rsp + 0x60]
add rax, r10
lea r8, [rsp + 0x38]
call rax
test eax, eax
lea rcx, [rsp + 0x60]
setne bl
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvttsd2si ecx, xmm0
movzx eax, bl
mov dword [r14], ecx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c8560
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005c9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401494d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14005c9ed
xor eax, eax
jmp 0x14005cb56
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14005ca2d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14005ca2d
mov rcx, rdi
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], sil
mov eax, esi
jmp 0x14005cb4e
cmp qword [rdi + 0x80], 0
je 0x14005cb49
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x14005ca67
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x14005ca92
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14005cb4e
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x14005cb01
sub eax, 1
je 0x14005cb01
cmp eax, 2
jne 0x14005cb49
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14005cb4e
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x14005cb2f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14005cb49
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x14005cb4e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c8560
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14005f880
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1401494d8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx], 1
lea rsi, [rcx + 8]
mov r14, r8
mov rbp, rdx
mov r10, rcx
jne 0x14005f99b
xor ecx, ecx
mov byte [rsp + 0x20], Ordinal_60
mov al, reloc.WLDAP32.dll_Ordinal_79
mov byte [rsp + 0x25], cl
xor al, 0x3b
mov dl, 0x49
xor dl, 0x3b
mov byte [rsp + 0x21], al
mov r8b, Ordinal_79
mov byte [rsp + 0x22], dl
xor r8b, 0x3b
mov r9b, 0x5e
xor r9b, 0x3b
mov byte [rsp + 0x23], r8b
cmp qword [rsi + 0x18], 0x10
mov byte [rsp + 0x24], r9b
jb 0x14005f8ee
mov rsi, qword [rsi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov ebx, dword [rcx + r11 + 0x88]
add rbx, r11
cmp rbx, r11
je 0x14005f977
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005f977
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xfaf00de0
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r11]
add rdx, r11
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005f972
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14005f950
cmp r8d, 0xa7eb4ee9
je 0x14005f97c
test r9d, r9d
jne 0x14005f930
mov rax, qword [rax]
jmp 0x14005f900
mov r8d, dword [rbx + 0x24]
add r8, r11
movzx r10d, word [r8 + r9*2]
mov r8d, dword [rbx + 0x1c]
add r8, r11
mov eax, dword [r8 + r10*4]
add rax, r11
jmp 0x14005fa94
xor r11d, r11d
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_30
mov al, 0x78
mov byte [rsp + 0x26], r11b
xor al, 0x1e
mov cl, 0x7f
xor cl, 0x1e
mov byte [rsp + 0x21], al
mov dl, WSAStartup
mov byte [rsp + 0x22], cl
xor dl, 0x1e
mov r8b, WSAGetLastError
xor r8b, 0x1e
mov byte [rsp + 0x23], dl
mov r9b, 0x7b
mov byte [rsp + 0x24], r8b
xor r9b, 0x1e
cmp qword [rsi + 0x18], 0x10
mov byte [rsp + 0x25], r9b
jb 0x14005f9e4
mov rsi, qword [rsi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14005fa77
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005fa77
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd61ea4b0
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005fa72
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14005fa50
cmp r8d, 0xf9dd4939
je 0x14005fa7c
test r9d, r9d
jne 0x14005fa30
mov rax, qword [rax]
jmp 0x14005fa00
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx r8d, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + r8*4]
add rax, r10
mov r9, r14
lea r8, [rsp + 0x21]
mov rdx, rsi
mov rcx, rbp
call rax
test eax, eax
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c8560
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005fad0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1401494d8]
xor rax, rsp
mov qword [rsp + 0x50], rax
movss xmm2, dword [rcx]
lea rsi, [rcx + 8]
mov r14, r8
mov byte [rsp + 0x20], 0x5d
mov rbp, rdx
xor ecx, ecx
cvtps2pd xmm2, xmm2
mov dl, reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x25], cl
xor dl, 0x5d
lea rcx, [rsp + 0x28]
mov r8b, 0x6c
mov byte [rsp + 0x22], dl
xor r8b, 0x5d
lea rdx, [rsp + 0x21]
mov al, 0x78
mov byte [rsp + 0x23], r8b
mov r9b, Ordinal_60
xor al, 0x5d
xor r9b, 0x5d
mov byte [rsp + 0x21], al
movq r8, xmm2
mov byte [rsp + 0x24], r9b
call fcn.140060290
cmp qword [rsi + 0x18], 0x10
jb 0x14005fb4d
mov rsi, qword [rsi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov ebx, dword [rcx + r11 + 0x88]
add rbx, r11
cmp rbx, r11
je 0x14005fbd7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005fbd7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x87b763bf
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r11]
add rdx, r11
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005fbd2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x14005fbb0
cmp r8d, 0x2f672d7e
je 0x14005fbdc
test r9d, r9d
jne 0x14005fb90
mov rax, qword [rax]
jmp 0x14005fb60
mov r8d, dword [rbx + 0x24]
mov rdx, rsi
add r8, r11
mov rcx, rbp
movzx r10d, word [r8 + r9*2]
mov r9, r14
mov r8d, dword [rbx + 0x1c]
add r8, r11
mov eax, dword [r8 + r10*4]
lea r8, [rsp + 0x28]
add rax, r11
call rax
test eax, eax
setne al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c8560
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005fc30
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1401494d8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rdx
mov byte [rsp + 0x20], 0x54
mov rbx, rcx
mov dl, 0x3d
xor dl, 0x54
xor ecx, ecx
mov al, 0x71
mov byte [rsp + 0x22], dl
mov r14, r8
mov byte [rsp + 0x23], cl
mov r8d, dword [rbx]
lea rdx, [rsp + 0x21]
xor al, 0x54
lea rcx, [rsp + 0x28]
mov byte [rsp + 0x21], al
call fcn.140060290
cmp qword [rbx + 0x20], 0x10
lea rsi, [rbx + 8]
jb 0x14005fc8f
mov rsi, qword [rsi]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov ebx, dword [rcx + r11 + 0x88]
add rbx, r11
cmp rbx, r11
je 0x14005fd17
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005fd17
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x6d23df2a
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r11]
add rcx, r11
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005fd12
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14005fcf0
cmp r8d, 0x24ba87df
je 0x14005fd1c
test r9d, r9d
jne 0x14005fcd0
mov rax, qword [rax]
jmp 0x14005fca0
mov r8d, dword [rbx + 0x24]
mov rdx, rsi
add r8, r11
mov rcx, rbp
movzx r10d, word [r8 + r9*2]
mov r9, r14
mov r8d, dword [rbx + 0x1c]
add r8, r11
mov eax, dword [r8 + r10*4]
lea r8, [rsp + 0x28]
add rax, r11
call rax
test eax, eax
setne al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c8560
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140060fd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test r8, r8
jg 0x140060fff
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
cmp qword [rcx + 0x68], 0
je 0x14006101c
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 qword [rsp + 0x30], rbx
mov rbx, rdi
mov qword [rsp + 0x38], r14
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140061084
cmp rax, rdi
mov r14, rdi
mov rcx, rbp
cmovb r14, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r9, r14
mov r8, rsi
test r14, r14
je 0x140061072
sub rax, rsi
nop word [rax + rax]
movzx ecx, byte [rax + r8]
mov byte [r8], cl
lea r8, [r8 + 1]
sub r9, 1
jne 0x140061060
add rsi, r14
sub rbx, r14
mov edx, r14d
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov r14, rbx
je 0x1400610f3
mov rcx, rbp
call fcn.140052da0
cmp rbx, 0xfff
jbe 0x1400610d3
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add rsi, rax
mov r14, rbx
cmp rax, 0xfff
jne 0x140061113
cmp rbx, rax
ja 0x1400610a2
test r14, r14
je 0x1400610f3
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
sub rdi, r14
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
sub rdi, rbx
jmp 0x1400610f6
Function at 0x140061120
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rsi, rcx
je 0x140061148
add rsp, 0x20
pop r14
pop rsi
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 qword [rsp + 0x40], rbp
mov rbp, rbx
mov qword [rsp + 0x48], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rdi, rax
test rbx, rbx
jle 0x1400611d7
test rax, rax
jle 0x1400611b7
mov rcx, rsi
cmp rbx, rax
jge 0x14006117e
mov rdi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rdx, rbx
jmp 0x140061187
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rdx, rdi
mov r8, r14
mov rcx, rax
sub r8, rax
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140061190
mov edx, edi
mov rcx, rsi
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x1400611d7
mov r9, qword [rsi + 0x80]
test r9, r9
je 0x1400611d7
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rdi, qword [rsp + 0x48]
sub rbp, rbx
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rsi
pop rbx
ret
Function at 0x1400660c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x1400660f4
mov eax, esi
lea ecx, [rax + 0x35]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1400660e0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140065bd0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140066119
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072ef0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140066193
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006618e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006618e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c844c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400661a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x1400661d4
mov eax, esi
lea ecx, [rax + 0x35]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x1400661c0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140065bd0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400661f9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140072ef0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140066273
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006626e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006626e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c844c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret