joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fba30
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 0x1400fba52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400fba68
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 0x1400fba84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400fba86
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400fbac0
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 0x1400fbb67
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400fbafb
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 0x1400fbb41
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 0x1400fbb80
cmp rbx, rax
ja 0x1400fbb10
mov r8, rdi
test rdi, rdi
je 0x1400fbb67
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 0x1400fbb6a
Function at 0x1400fbf80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14029ba50]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400fbfad
xor eax, eax
jmp 0x1400fc102
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400fbfd8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400fbfd8
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 0x1400fc102
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400fc0f5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400fc01b
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 0x1400fc046
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 0x1400fc0fa
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 0x1400fc0b5
sub eax, 1
je 0x1400fc0b5
cmp eax, 2
jne 0x1400fc0f5
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 0x1400fc0fa
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400fc0e3
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 0x1400fc0f5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400fc0fa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401a75d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400fd170
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14029ba50]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400fd243
cmp byte [rcx + 0x71], 0
je 0x1400fd243
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400fd23f
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 0x1400fd204
sub eax, 1
je 0x1400fd208
cmp eax, 2
jne 0x1400fd23f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401a75d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400fd236
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 0x1400fd23f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400fd1ec
xor al, al
jmp 0x1400fd1ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401a75d0
add rsp, 0x60
pop rbx
ret
Function at 0x140103770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14029ba50]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rdx
mov eax, dword [str.RSB1]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140241230]
mov byte [rsp + 0x34], al
mov r10, qword [rdx]
mov eax, dword [r10]
mov dword [rsp + 0x28], eax
xor ebp, ebp
mov r8d, ebp
mov r9d, ebp
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rsp + r9 + 0x30]
xor dl, byte [rsp + r9 + 0x28]
movzx eax, r8b
imul ecx, eax, 0x29
sub dl, cl
mov byte [rsp + r9 + 0x28], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jb 0x1401037d0
mov r8, rbp
mov rdx, qword [rbx + 8]
cmp rdx, r10
je 0x14010383b
mov r9, rbp
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, r8
and eax, 3
movzx ecx, r9b
add cl, byte [rsp + rax + 0x28]
xor byte [rdx + r8], cl
inc r8
add r9, 0x29
mov rdx, qword [rbx + 8]
mov rax, rdx
sub rax, qword [rbx]
cmp r8, rax
jb 0x140103810
mov rcx, qword [rbx]
sub rdx, rcx
mov r8d, 0x2a
call fcn.14018ebd0
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
mov qword [rdi], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov esi, ecx
xor r8d, r8d
mov edx, ecx
mov rcx, rdi
call fcn.140100900
mov rcx, qword [rbx]
mov r9, qword [rbx + 8]
sub r9, rcx
add r9, 0xfffffffffffffff8
lea r8, [rcx + 8]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140103892
mov rcx, qword [rdi]
mov rdx, rsi
call fcn.14018d9a0
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401038db
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1401038cb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401038f8
mov rcx, r8
call fcn.1401a78c8
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401a75d0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14011af50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x1410
call fcn.1401a81d0
sub rsp, rax
mov rax, qword [0x14029ba50]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rsp + 0x13c0], xmm0
movups xmm1, xmmword [0x1402430d8]
movups xmmword [rsp + 0x13d0], xmm1
movups xmm0, xmmword [0x1402430e8]
movups xmmword [rsp + 0x13e0], xmm0
movsd xmm1, qword [0x1402430f8]
movsd qword [rsp + 0x13f0], xmm1
mov eax, dword [0x140243100]
mov dword [rsp + 0x13f8], eax
movzx eax, word [0x140243104]
mov word [rsp + 0x13fc], ax
movzx eax, byte [0x140243106]
mov byte [rsp + 0x13fe], al
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov r13d, 0xffffffff
mov dword [rsp + 0x13b4], r13d
mov dword [rsp + 0x34], eax
mov ecx, 1
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x14011b020
mov dword [rsp + 0x30], 0x270
mov qword [r14], 0
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov dword [rsp + 0x20], 1
mov r15d, 0xa
mov ebp, 0x40
mov rsi, 0xffffffffffffffff
nop dword [rax]
lea rbp, [rbp - 1]
shr rsi, 1
cmp rsi, r13
ja 0x14011b080
nop dword [rax]
xor edi, edi
xor ebx, ebx
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rbp - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14011ba60
mov eax, eax
cmp rax, rsi
ja 0x14011b0b0
or rdi, rax
lea rcx, [rbp - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, 0x3d
jb 0x14011b0a0
movabs r8, 0x842108421084211
mov rax, r8
mul rbx
mov rcx, rbx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rax, rcx, 0x3e
sub rbx, rax
mov rax, r8
mul rdi
mov rax, rdi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
cmp rax, rcx
jb 0x14011b123
cmp rbx, 0x3d
jne 0x14011b090
mov rax, r8
mul rdi
mov rax, rdi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rdi, rax
movzx r9d, byte [rsp + rdi + 0x13c0]
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
cmp rcx, rdx
jae 0x14011b175
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x14011b16a
mov rax, qword [r14]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14011b17d
mov rcx, r14
call fcn.1400fe9b0
sub r15, 1
jne 0x14011b070
mov rax, r14
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.1401a75d0
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x14011ba60
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 0x14011bac1
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 0x14011ba80
mov ecx, dword [r10]
jmp 0x14011bbaa
cmp ecx, 0x4e0
jb 0x14011bbaa
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 0x14011bae0
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 0x14011bb30
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 0x14011bfc0
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov r11, rcx
lea r10, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
xor r9b, r9b
nop dword [rax]
movzx edx, r9b
lea r10, [r10 + 4]
movzx eax, r9b
add r9b, 4
movzx r8d, byte [rax + r11 + 1]
movzx eax, byte [rdx + r11]
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + r11 + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + r11 + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x14011bff0
mov r10b, reloc.WS2_32.dll_recv
lea r9, [rsp + 0x20]
nop dword [rax]
mov ecx, dword [r9 + 4]
lea r9, [r9 + 4]
mov r8d, ecx
movzx eax, r10b
rol r8d, 0xe
inc r10b
mov edx, dword [rsp + rax*4 + 0x18]
mov eax, ecx
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 + 0x20]
add r8d, dword [r9 - 4]
mov dword [r9 + 0x3c], r8d
cmp r10b, 0x40
jb 0x14011c040
movups xmm0, xmmword [r11 + 0x50]
lea rax, [r11 + 0x50]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rsp + 0x168], rax
movups xmmword [rsp], xmm0
mov r15d, dword [rsp + 8]
lea r13d, [rsi + 0x40]
mov r12d, dword [rsp + 4]
mov ebx, dword [rsp]
mov r11d, dword [rsp + 0xc]
movups xmmword [rsp + 0x10], xmm1
mov ebp, dword [rsp + 0x18]
mov r14d, dword [rsp + 0x14]
mov edi, dword [rsp + 0x10]
mov eax, dword [rsp + 0x1c]
nop word [rax + rax]
mov ecx, edi
lea rsi, [rsi + 4]
rol ecx, 7
mov r10d, edi
ror r10d, 0xb
mov edx, edi
xor r10d, ecx
not edx
and edx, ebp
mov ecx, edi
ror ecx, 6
mov r9d, r12d
xor r10d, ecx
mov r8d, r15d
mov ecx, r14d
and ecx, edi
xor edx, ecx
lea rcx, [0x140249880]
add r10d, edx
mov edx, ebx
add r10d, dword [rsi + rcx - 4]
mov ecx, ebx
add r10d, dword [rsp + rsi + 0x1c]
rol ecx, 0xa
add r10d, eax
ror edx, 0xd
mov eax, ebp
xor edx, ecx
mov ebp, r14d
mov ecx, ebx
mov r14d, edi
ror ecx, 2
lea edi, [r11 + r10]
xor edx, ecx
mov r11d, r15d
mov r15d, r12d
and r9d, r11d
mov r12d, ebx
mov ecx, r15d
or ecx, r11d
and ebx, ecx
lea ecx, [r10 + rdx]
or ebx, r9d
add ebx, ecx
sub r13, 1
jne 0x14011c0e0
lea r8, [rsp]
mov dword [rsp + 0x1c], eax
sub r8, qword [rsp + 0x160]
lea edx, [r13 + 8]
mov rax, qword [rsp + 0x168]
mov dword [rsp], ebx
mov dword [rsp + 0x10], edi
mov dword [rsp + 0x18], ebp
mov dword [rsp + 0x14], r14d
mov dword [rsp + 8], r15d
mov dword [rsp + 4], r12d
mov dword [rsp + 0xc], r11d
nop word [rax + rax]
mov ecx, dword [r8 + rax - 0x50]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x14011c1b0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14011c1e0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x40]
mov edx, gethostname
cmp eax, edx
mov r8d, 0x40
mov rbx, rcx
cmovb r8d, edx
mov byte [rax + rcx], 0x80
lea rcx, [rax + 1]
cmp rcx, r8
jae 0x14011c217
sub r8, rcx
xor edx, edx
add rcx, rbx
call fcn.1401a88dc
mov eax, dword [rbx + 0x40]
cmp eax, 0x38
jb 0x14011c23e
mov rcx, rbx
call fcn.14011bfc0
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbx], xmm2
movups xmmword [rbx + 0x10], xmm2
movups xmmword [rbx + 0x20], xmm2
mov qword [rbx + 0x30], rax
mov eax, dword [rbx + 0x40]
lea ecx, [rax*8]
add qword [rbx + 0x48], rcx
mov rcx, qword [rbx + 0x48]
mov rax, rcx
mov byte [rbx + 0x3f], cl
shr rax, 8
mov byte [rbx + 0x3e], al
mov rax, rcx
shr rax, 0x10
mov byte [rbx + 0x3d], al
mov rax, rcx
shr rax, 0x18
mov byte [rbx + 0x3c], al
mov rax, rcx
shr rax, 0x20
mov byte [rbx + 0x3b], al
mov rax, rcx
shr rax, 0x28
mov byte [rbx + 0x3a], al
mov rax, rcx
shr rcx, 0x38
mov byte [rbx + 0x38], cl
mov rcx, rbx
shr rax, 0x30
mov byte [rbx + 0x39], al
add rsp, 0x20
pop rbx
jmp fcn.14011bfc0
Function at 0x1401256f0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1401257d2
call fcn.14013a710
test al, al
jne 0x1401257d2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140125722
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140146dd0
test rax, rax
je 0x140125767
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140146dd0
mov rsi, rax
test rax, rax
je 0x140125767
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 0x14012579b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.140136990
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140125780
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 0x140131d20
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 + 0xab7], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x140131de9
cmp qword [rcx + 0x268], 0
je 0x140131d9e
mov qword [rsp + 0x40], rbx
call fcn.14011fd20
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.140120090
mov rcx, qword [rdi + 0x1e0]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x268]
movzx edx, bl
mov rcx, rdi
call fcn.140120090
mov rbx, qword [rsp + 0x40]
jmp 0x140131de9
mov ecx, esi
test edx, edx
je 0x140131dae
sub ecx, 1
je 0x140131dae
cmp ecx, 1
jne 0x140131de9
mov r9, qword [rdi + 0x1d8]
lea rax, [0x14022a720]
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 + 0x1d8]
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 0x1401342b0
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
Function at 0x140134730
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x14029ba50]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140134796
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140134779
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140134773
shr ax, 8
cmp al, 2
je 0x140134796
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401a75d0
add rsp, 0x1e8
ret
call fcn.140169370
test eax, eax
jne 0x1401349b0
mov qword [rsp + 0x200], rsi
lea rcx, str.kernel32
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x1401347d6
mov qword [0x14029d288], rsi
jmp 0x14013496d
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExW
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x14022ab18]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcspbrk
test rax, rax
je 0x14013483a
mov rcx, rbx
test rbp, rbp
je 0x14013482c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x14013492c
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
jmp 0x14013492c
test rbp, rbp
je 0x140134869
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140134869
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x14013492c
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
test eax, eax
je 0x140134924
lea ecx, [rax + 1]
lea rcx, [rcx*2 + 0x18]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14013491b
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14013491b
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop dword [rax]
cmp word [rdi + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x1401348c0
mov dword [rdi + rax*2], 0x5c
cmp word [rdi + rcx*2 + 2], si
lea rcx, [rcx + 1]
jne 0x1401348d2
lea rdx, [rcx + rcx]
sub rdx, rbx
add rdx, rdi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rdx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1401348f0
mov rcx, rdi
test rbp, rbp
je 0x140134912
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x140134918
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1401a894e]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x14029d288], rsi
test rsi, rsi
je 0x14013496d
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14029d280]
test rax, rax
cmovne rcx, rax
mov qword [0x14029d280], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140168f20
test al, al
lea rcx, [0x14029da58]
setne byte [0x14029da50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401a75d0
add rsp, 0x1e8
ret
Function at 0x14013b4f0
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x14013b505
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.14013af80
Function at 0x140147560
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.140125ae0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.140145470
mov rcx, rdi
mov rsi, rax
call fcn.140145470
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140147610
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140125ae0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140125b70
cmp rax, 0x3e8
ja 0x140147641
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1401475c0
test rsi, rsi
je 0x14014761d
mov rcx, rsi
call fcn.1401a894e
test rbx, rbx
je 0x14014762a
mov rcx, rbx
call fcn.1401a894e
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x14014764e
mov rcx, rsi
call fcn.1401a894e
test rbx, rbx
je 0x14014765b
mov rcx, rbx
call fcn.1401a894e
mov eax, 1
jmp 0x14014762c