joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f070
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140103888]
test rcx, rcx
je 0x14004f201
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
nop
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140103a48]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140103848]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140103948]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14004f12e
mov rcx, qword [0x1401038c8]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14004f12e
mov rcx, qword [0x140103a08]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x14004f12e
mov rcx, qword [0x140103a88]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x14004f1d5
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 0x14004f1b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14004f1b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14004f1b2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14004f190
cmp r8d, 0xa52bcaf9
je 0x14004f1bc
test r9d, r9d
jne 0x14004f170
mov rax, qword [rax]
jmp 0x14004f140
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
call rax
mov rcx, qword [0x1401039c8]
test rcx, rcx
je 0x14004f1f7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140103888]
test rcx, rcx
jne 0x14004f090
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x14004f610
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14004f640
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14004f668
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004f66a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004f6c3
test ecx, ecx
jle 0x14004f6a3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14004f6c3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004f6c3
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 rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14004f6f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14004f712
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14004f721
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f744
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004f746
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x14004f780
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004f827
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14004f7bb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14004f801
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14004f840
cmp rbx, rax
ja 0x14004f7d0
mov r8, rdi
test rdi, rdi
je 0x14004f827
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14004f82a
Function at 0x14004fc40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400fe700]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14004fc6d
xor eax, eax
jmp 0x14004fdc2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14004fc98
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14004fc98
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14004fdc2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14004fdb5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14004fcdb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14004fd06
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 0x14004fdba
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 0x14004fd75
sub eax, 1
je 0x14004fd75
cmp eax, 2
jne 0x14004fdb5
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 0x14004fdba
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14004fda3
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 0x14004fdb5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14004fdba
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c8ee0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400515f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400fe700]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400516c3
cmp byte [rcx + 0x71], 0
je 0x1400516c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400516bf
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 0x140051684
sub eax, 1
je 0x140051688
cmp eax, 2
jne 0x1400516bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c8ee0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400516b6
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 0x1400516bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005166c
xor al, al
jmp 0x14005166c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c8ee0
add rsp, 0x60
pop rbx
ret

Function at 0x14005bb80
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400fe700]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword gs:[0x60]
mov rax, qword [r14 + 0x18]
add rax, 0x20
mov rbp, qword [rax]
cmp rbp, rax
je 0x14005bc30
cmp qword [rbp + 0x40], 0
je 0x14005bc1f
mov rax, qword [rbp + 0x20]
xor ebx, ebx
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
movzx eax, word [rsi + 0x14]
lea rdi, [rsi + 0x24]
add rdi, rax
mov ecx, dword [rdi]
lea rdx, [rsp + 0x20]
add rcx, qword [rbp + 0x20]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14005bc11
cmp dword [rsp + 0x40], 0x1000
jne 0x14005bc11
test dword [rsp + 0x44], 0x100
jne 0x14005bc5a
movzx eax, word [rsi + 6]
inc ebx
add rdi, 0x28
cmp ebx, eax
jle 0x14005bbe1
mov rax, qword [r14 + 0x18]
mov rbp, qword [rbp]
add rax, 0x20
cmp rbp, rax
jne 0x14005bbc2
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c8ee0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov al, 1
jmp 0x14005bc32
Function at 0x14005bd10
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [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 0x14005bda7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005bda7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005bda2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14005bd80
cmp r8d, 0xe463da3c
je 0x14005bdac
test r9d, r9d
jne 0x14005bd60
mov rax, qword [rax]
jmp 0x14005bd30
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
movabs rcx, 0xe202707a703f2684
mov qword [rsp + 0x20], rcx
add rax, r10
movabs rcx, 0x9da3d80feed68bd0
mov qword [rsp + 0x28], rcx
movabs rcx, 0xcc6e1c3e155644d7
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rcx
movabs rcx, 0x9da3d80feebae7b4
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x20]
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call rax
mov rbx, qword [rsp + 0x50]
test rax, rax
setne al
add rsp, 0x40
pop rdi
ret
Function at 0x14005be80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [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 0x14005bf17
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14005bf17
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14005bf12
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14005bef0
cmp r8d, 0xb0327e93
je 0x14005bf1c
test r9d, r9d
jne 0x14005bed0
mov rax, qword [rax]
jmp 0x14005bea0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0x1000
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
test eax, eax
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x14005c110
Capabilities:
Check for debugger via api
Execute command

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400fe700]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14005c154
lea rcx, [0x1400e868c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [0x140103ac8]
test rcx, rcx
je 0x14005c18c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x14005c199
cmp dword [rsp + 0x20], 0
je 0x14005c199
lea rcx, [0x1400e868c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [0x140103ac8]
test rcx, rcx
jne 0x14005c193
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c8ee0
add rsp, 0x38
ret
Function at 0x14005d150
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14005d1b1
lea r8, [r10 + 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 r9, 1
jne 0x14005d170
mov ecx, dword [r10]
jmp 0x14005d29a
cmp ecx, 0x4e0
jb 0x14005d29a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14005d1d0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14005d220
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 0x1400616f0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1400fe700]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov eax, edx
mov dword [rbp - 0x61], 0x67452301
and eax, 0x1fffffff
mov dword [rbp - 0x5d], 0xefcdab89
mov dword [rbp - 0x69], eax
mov rdi, r8
mov eax, edx
mov dword [rbp - 0x59], 0x98badcfe
shr eax, 0x1d
mov rbx, rdx
mov dword [rbp - 0x55], 0x10325476
mov dword [rbp - 0x65], eax
cmp edx, 0x40
jb 0x140061760
mov r8d, ebx
mov rdx, rcx
and r8d, 0xffffffc0
lea rcx, [rbp - 0x69]
call fcn.140060c20
mov rcx, rax
and ebx, 0x3f
mov rdx, rcx
mov r8d, ebx
lea rcx, [rbp - 0x51]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbp - 0x69]
mov eax, 0x40
and ecx, 0x3f
mov byte [rbp + rcx - 0x51], 0x80
inc ecx
sub eax, ecx
cmp eax, 8
jae 0x1400617b5
mov r8d, eax
xor edx, edx
mov eax, ecx
lea rcx, [rbp - 0x51]
add rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x40
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x69]
call fcn.140060c20
xor ecx, ecx
mov eax, 0x40
add eax, 0xfffffff8
xor edx, edx
mov r8d, eax
mov eax, ecx
lea rcx, [rbp - 0x51]
add rcx, rax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbp - 0x69]
lea rdx, [rbp - 0x51]
mov r8d, 0x40
lea ecx, [rax*8]
movzx eax, cl
mov dword [rbp - 0x69], ecx
mov eax, ecx
mov byte [rbp - 0x19], cl
shr eax, 8
mov byte [rbp - 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp - 0x17], al
movzx eax, byte [rbp - 0x65]
shr ecx, 0x18
mov byte [rbp - 0x15], al
mov byte [rbp - 0x16], cl
mov ecx, dword [rbp - 0x65]
mov eax, ecx
shr eax, 8
mov byte [rbp - 0x14], al
mov eax, ecx
shr ecx, 0x18
mov byte [rbp - 0x12], cl
lea rcx, [rbp - 0x69]
shr eax, 0x10
mov byte [rbp - 0x13], al
call fcn.140060c20
mov ecx, dword [rbp - 0x61]
movzx eax, byte [rbp - 0x61]
mov byte [rdi], al
mov eax, ecx
shr eax, 8
mov byte [rdi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 2], al
movzx eax, byte [rbp - 0x5d]
mov byte [rdi + 4], al
shr ecx, 0x18
mov byte [rdi + 3], cl
mov ecx, dword [rbp - 0x5d]
mov eax, ecx
shr eax, 8
mov byte [rdi + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 6], al
movzx eax, byte [rbp - 0x59]
mov byte [rdi + 8], al
shr ecx, 0x18
mov byte [rdi + 7], cl
mov ecx, dword [rbp - 0x59]
mov eax, ecx
shr eax, 8
mov byte [rdi + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0xa], al
movzx eax, byte [rbp - 0x55]
mov byte [rdi + 0xc], al
shr ecx, 0x18
mov byte [rdi + 0xb], cl
mov ecx, dword [rbp - 0x55]
mov eax, ecx
shr eax, 8
mov byte [rdi + 0xd], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [rdi + 0xf], cl
mov byte [rdi + 0xe], al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400c8ee0
add rsp, 0xd0
pop rdi
pop rbx
pop rbp
ret
Function at 0x140063710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400fe700]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9d, r8d
lea rax, [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x28], rax
mov edx, dword [rsp + 0x88]
mov rbx, rcx
mov rcx, qword [rsp + 0x80]
call fcn.140063130
mov rdi, rax
test rax, rax
je 0x14006378d
lea r8, [0x1400e98b0]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rbx, qword [rsp + 0x38]
xor ecx, ecx
test eax, eax
cmovne rbx, rcx
mov rcx, rdi
mov qword [rsp + 0x38], rbx
test rbx, rbx
jne 0x140063791
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400637bb
movsxd r8, dword [rsp + 0x30]
mov r9, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c8ee0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140071a70
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140071b52
call fcn.1400894a0
test al, al
jne 0x140071b52
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140071aa2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1400946e0
test rax, rax
je 0x140071ae7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1400946e0
mov rsi, rax
test rax, rax
je 0x140071ae7
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x140071b1b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400841b0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140071b00
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14007f220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa97], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x14007f2e9
cmp qword [rcx + 0x260], 0
je 0x14007f29e
mov qword [rsp + 0x40], rbx
call fcn.14006c170
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.14006c4d0
mov rcx, qword [rdi + 0x1d8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x260]
movzx edx, bl
mov rcx, rdi
call fcn.14006c4d0
mov rbx, qword [rsp + 0x40]
jmp 0x14007f2e9
mov ecx, esi
test edx, edx
je 0x14007f2ae
sub ecx, 1
je 0x14007f2ae
cmp ecx, 1
jne 0x14007f2e9
mov r9, qword [rdi + 0x1d0]
lea rax, [0x1400d0b70]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140081b70
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret