joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b17a8
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
lea r14, [rcx + 0x1000]
lea r9, [0x14010b430]
mov rdi, rdx
mov rbx, rcx
lea r15, [rcx + 0x400]
lea r12, [rcx + 0x800]
mov r10, r14
sub r9, r14
movsx esi, r8w
mov r11d, 2
mov ecx, dword [r9 + r10]
lea eax, [r11 - 2]
cdq
mov dword [r10], ecx
idiv esi
movsxd rax, edx
movzx r8d, byte [rax + rdi]
lea eax, [r11 - 1]
cdq
shl r8d, 0x18
xor r8d, ecx
mov dword [r10], r8d
idiv esi
movsxd rax, edx
movzx ecx, byte [rax + rdi]
mov eax, r11d
cdq
shl ecx, 0x10
xor ecx, r8d
mov dword [r10], ecx
idiv esi
movsxd rax, edx
movzx r8d, byte [rax + rdi]
lea eax, [r11 + 1]
add r11d, 4
cdq
shl r8d, 8
xor r8d, ecx
mov dword [r10], r8d
idiv esi
movsxd rax, edx
movzx ecx, byte [rax + rdi]
xor ecx, r8d
mov dword [r10], ecx
lea r10, [r10 + 4]
cmp r11d, 0x4a
jl 0x1400b17f9
lea rdx, [0x14010b030]
lea r8, [0x14010ac30]
lea r10, [0x14010a830]
lea rdi, [0x14010a430]
lea rsi, [rbx + 0xc00]
mov r9, r15
mov r11, r12
sub rdx, rbx
sub r8, rbx
sub r10, rbx
sub rdi, rbx
sub r9, rbx
sub r11, rbx
mov rcx, rbx
mov r13d, 0x100
sub rsi, rbx
mov eax, dword [rdx + rcx]
mov dword [rcx], eax
mov eax, dword [r8 + rcx]
mov dword [r9 + rcx], eax
mov eax, dword [r10 + rcx]
mov dword [r11 + rcx], eax
mov eax, dword [rdi + rcx]
mov dword [rsi + rcx], eax
lea rcx, [rcx + 4]
dec r13
jne 0x1400b18b1
xor edi, edi
mov eax, edi
mov ecx, edi
mov esi, edi
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x30], ecx
lea r8, [rbp + 0x30]
mov r9, rbx
mov edx, eax
call fcn.1400b0e90
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x34]
mov dword [r14 + rsi*4], ecx
mov dword [r14 + rsi*4 + 4], eax
add rsi, 2
cmp rsi, 0x12
jl 0x1400b18e3
mov rsi, rdi
mov r14d, 0x100
lea r8, [rbp + 0x30]
mov r9, rbx
mov edx, eax
call fcn.1400b0e90
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x34]
mov dword [rbx + rsi*4], ecx
mov dword [rbx + rsi*4 + 4], eax
add rsi, 2
cmp rsi, r14
jl 0x1400b1913
mov rsi, rdi
lea r8, [rbp + 0x30]
mov r9, rbx
mov edx, eax
call fcn.1400b0e90
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x34]
mov dword [r15 + rsi*4], ecx
mov dword [r15 + rsi*4 + 4], eax
add rsi, 2
cmp rsi, r14
jl 0x1400b193a
mov rsi, rdi
lea r8, [rbp + 0x30]
mov r9, rbx
mov edx, eax
call fcn.1400b0e90
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x34]
mov dword [r12 + rsi*4], ecx
mov dword [r12 + rsi*4 + 4], eax
add rsi, 2
cmp rsi, r14
jl 0x1400b1963
lea r8, [rbp + 0x30]
mov r9, rbx
mov edx, eax
call fcn.1400b0e90
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x34]
mov dword [rbx + rdi*4 + 0xc00], ecx
mov dword [rbx + rdi*4 + 0xc04], eax
add rdi, 2
cmp rdi, r14
jl 0x1400b1989
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400b40ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r10d, dword [rcx]
mov r11d, 4
movzx r8d, byte [rdx]
movzx r9d, r10b
mov eax, r10d
xor r9, r8
shr eax, 8
lea r8, [0x14010b4c0]
mov r10d, dword [r8 + r9*4]
inc rdx
xor r10d, eax
dec r11
jne 0x1400b40f5
mov dword [rcx], r10d
ret
Function at 0x1400b5cd4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
add r8, 0x110
mov edi, edx
mov rsi, rcx
call fcn.1400b5a3c
lea r8, [rbx + 0x88]
mov edx, edi
mov rcx, rsi
call fcn.1400b5944
mov r8, rbx
mov edx, edi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400b5a3c

Function at 0x1400b5eb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
movzx edx, byte [rdx + 4]
mov rbx, rcx
movzx eax, byte [rdi + 5]
movzx ecx, byte [rdi]
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 6]
shl ecx, 8
shl edx, 8
mov r8, rbx
or edx, eax
movzx eax, byte [rdi + 7]
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 1]
or ecx, eax
movzx eax, byte [rdi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 3]
shl ecx, 8
or ecx, eax
call fcn.1400b43d0
movzx eax, byte [rdi + 0xd]
movzx edx, byte [rdi + 0xc]
movzx ecx, byte [rdi + 8]
shl edx, 8
lea r8, [rbx + 0x88]
or edx, eax
movzx eax, byte [rdi + 0xe]
shl ecx, 8
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 0xf]
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 9]
or ecx, eax
movzx eax, byte [rdi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0xb]
shl ecx, 8
or ecx, eax
call fcn.1400b43d0
movzx eax, byte [rdi + 0x15]
movzx edx, byte [rdi + 0x14]
movzx ecx, byte [rdi + 0x10]
shl edx, 8
lea r8, [rbx + 0x110]
or edx, eax
movzx eax, byte [rdi + 0x16]
shl ecx, 8
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 0x17]
shl edx, 8
or edx, eax
movzx eax, byte [rdi + 0x11]
or ecx, eax
movzx eax, byte [rdi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdi + 0x13]
shl ecx, 8
or ecx, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400b43d0
Function at 0x1400b95b8
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea eax, [rdx + rdx*2]
mov r14d, edx
mov rdi, rcx
shl eax, 4
mov qword [rsp + 0x20], rcx
xor ebp, ebp
lea edx, [rbp + 1]
movsxd rcx, eax
mov r13, r8
call fcn.1400a159c
xor r12d, r12d
mov rbx, rax
test r14d, r14d
jle 0x1400b979e
xor esi, esi
mov rcx, rdi
call fcn.1400b94dc
mov rdi, rax
test rax, rax
je 0x1400b96e7
mov rcx, rax
call qword [sym.imp.msvcrt.dll_strlen]
mov r10, rax
test al, 3
jne 0x1400b9788
cmp rax, 0x40
ja 0x1400b9788
xor r15d, r15d
test rax, rax
je 0x1400b976d
mov r11, rdi
xor edx, edx
lea r8d, [rdx + 1]
mov cl, byte [r11 + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x1400b9667
movsx eax, cl
sub eax, 0x41
jmp 0x1400b96a5
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1400b9676
movsx eax, cl
sub eax, 0x47
jmp 0x1400b96a5
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400b9685
movsx eax, cl
add eax, 4
jmp 0x1400b96a5
cmp cl, 0x2b
jne 0x1400b9691
mov eax, 0x3e
jmp 0x1400b96a5
cmp cl, 0x2f
jne 0x1400b969d
mov eax, 0x3f
jmp 0x1400b96a5
cmp cl, 0x3d
jne 0x1400b96de
or eax, 0xffffffff
mov dword [rsp + rdx*4 + 0x28], eax
add rdx, r8
cmp rdx, 4
jl 0x1400b9654
mov ecx, dword [rsp + 0x28]
cmp ecx, 0xffffffff
je 0x1400b974a
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400b974a
mov r9d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
cmp r9d, 0xffffffff
jne 0x1400b96fc
cmp eax, r9d
je 0x1400b970d
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
test rbx, rbx
je 0x1400b96f5
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x1400b97a5
mov r8d, 3
cmp eax, 0xffffffff
jne 0x1400b970d
mov r8d, 2
shl ecx, 6
and eax, 0x3f
and r9d, 0x3f
or ecx, dword [rsp + 0x2c]
mov edx, r8d
shl ecx, 6
or ecx, r9d
shl ecx, 6
or ecx, eax
mov eax, ecx
shr eax, 0x10
mov byte [rsi + rbx], al
cmp edx, 1
jle 0x1400b973f
mov eax, ecx
shr eax, 8
mov byte [rsi + rbx + 1], al
cmp edx, 2
jle 0x1400b974f
mov byte [rsi + rbx + 2], cl
jmp 0x1400b974f
xor edx, edx
xor r8d, r8d
test r8, r8
je 0x1400b96de
add r15d, 4
add ebp, edx
add rsi, r8
movsxd rax, r15d
add r11, 4
cmp rax, r10
jb 0x1400b964e
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
inc r12d
cmp r12d, r14d
jge 0x1400b979e
mov rdi, qword [rsp + 0x20]
jmp 0x1400b960d
test rbx, rbx
je 0x1400b9796
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
jmp 0x1400b96ef
mov dword [r13], ebp
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ba428
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov eax, dword [0x140130400]
movups xmm0, xmmword [str.PuTTY_User_Key_File_]
movups xmm1, xmmword [0x140130418]
mov dword [rbp - 9], eax
mov al, byte [0x140130404]
lea rdx, [0x14013043c]
mov byte [rbp - 5], al
mov al, byte [0x140130428]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
movups xmmword [rbp + 0x2f], xmm1
mov byte [rbp + 0x3f], al
mov eax, dword [0x140130438]
mov dword [rbp - 0x21], eax
movups xmmword [rbp + 0x1f], xmm0
movsd xmm0, qword [str._____BEGIN]
movsd qword [rbp - 0x29], xmm0
call qword [sym.imp.msvcrt.dll__wfopen]
mov rdi, rax
test rax, rax
je 0x1400ba562
mov esi, 0x20
lea rcx, [rbp - 1]
mov r9, rax
lea edx, [rsi - 0x1f]
mov r8d, esi
call qword [sym.imp.msvcrt.dll_fread]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.msvcrt.dll_fclose]
cmp rbx, rsi
jae 0x1400ba4ea
lea eax, [rsi - 0x1f]
jmp 0x1400ba562
lea rdx, str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n
lea rcx, [rbp - 1]
mov r8, rsi
call qword [sym.imp.msvcrt.dll_memcmp]
test eax, eax
jne 0x1400ba509
mov eax, 2
jmp 0x1400ba562
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 1]
mov r8d, SafeArrayGetElement
call qword [sym.imp.msvcrt.dll_memcmp]
test eax, eax
jne 0x1400ba528
mov eax, 3
jmp 0x1400ba562
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
mov r8d, reloc.WS2_32.dll_inet_addr
call qword [sym.imp.msvcrt.dll_memcmp]
test eax, eax
jne 0x1400ba547
mov eax, 4
jmp 0x1400ba562
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
mov r8, rsi
call qword [sym.imp.msvcrt.dll_memcmp]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 5
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400ba7e4
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rcx, rdx
mov rdi, rdx
call fcn.1400b3b14
add eax, 8
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, eax
mov r8d, eax
mov ebx, eax
sar ecx, 0x10
sar r8d, 0x18
mov byte [rsp + 0x33], al
mov byte [rsp + 0x31], cl
mov ecx, eax
mov byte [rsp + 0x30], r8b
sar ecx, 8
mov r8d, 4
mov byte [rsp + 0x32], cl
jmp 0x1400ba84f
dec ebx
mov rcx, rdi
mov edx, ebx
call fcn.1400b3b50
mov r8d, 1
mov byte [rsp + 0x30], al
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x30]
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test ebx, ebx
jg 0x1400ba839
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 4]
call qword [sym.imp.msvcrt.dll_memset]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400baf34
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp], rax
mov r14, rcx
mov rcx, qword [r8 + 8]
xor edi, edi
mov rsi, r8
movsxd r13, edx
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
mov qword [rbp - 0x80], rdi
mov dword [rbp - 0x78], edi
call fcn.1400b3b14
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ebx, eax
test eax, eax
je 0x1400bafd5
mov rcx, qword [rsi + 8]
dec ebx
mov edx, ebx
call fcn.1400b3b50
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov byte [rsp + 0x20], al
call fcn.1400b8760
test ebx, ebx
jne 0x1400bafab
mov rcx, qword [rsi + 0x10]
call fcn.1400b3b14
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ebx, eax
test eax, eax
je 0x1400bb01a
mov rcx, qword [rsi + 0x10]
dec ebx
mov edx, ebx
call fcn.1400b3b50
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov byte [rsp + 0x20], al
call fcn.1400b8760
test ebx, ebx
jne 0x1400baff0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400b8868
mov rcx, qword [rsi + 8]
call fcn.1400b3b14
lea rdx, [0x14013050c]
lea rcx, [rbp - 0x60]
mov r8d, eax
call qword [sym.imp.msvcrt.dll_sprintf]
mov r12d, edi
mov r15, rdi
movzx edi, byte [rbp + r15 - 0x70]
lea rax, [0x14012f614]
lea rbx, [0x14010ea73]
lea rcx, [rbp - 0x60]
test r12d, r12d
cmovne rbx, rax
call qword [sym.imp.msvcrt.dll_strlen]
lea rcx, [rbp - 0x60]
lea rdx, str._s_02x
mov r9d, edi
mov r8, rbx
add rcx, rax
call qword [sym.imp.msvcrt.dll_sprintf]
inc r15
inc r12d
cmp r15, 0x10
jl 0x1400bb04b
lea rdx, [rbp - 0x60]
mov r8, r13
mov rcx, r14
mov rbx, r13
call qword [sym.imp.msvcrt.dll_strncpy]
lea rdi, [r14 + r13]
xor r15d, r15d
mov rcx, r14
mov byte [rdi - 1], r15b
call qword [sym.imp.msvcrt.dll_strlen]
cmp qword [rsi + 0x38], r15
je 0x1400bb0f0
lea ecx, [r13 - 1]
movsxd rdx, ecx
cmp rax, rdx
jae 0x1400bb0f0
sub rbx, rax
mov byte [r14 + rax], 0x20
mov rdx, qword [rsi + 0x38]
lea rcx, [r14 + 1]
lea r8, [rbx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_strncpy]
mov byte [rdi - 1], r15b
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bc66c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, dword [rsp + 0xc0]
mov rsi, r9
mov r13d, r8d
mov r12, rdx
mov r15, rcx
xor ebp, ebp
jmp 0x1400bc72e
cmp edi, dword [r15 + 0x18]
mov eax, ebp
mov r14d, edi
cmovg r14d, dword [r15 + 0x18]
shr eax, 0x18
mov byte [rsp + 0x23], bpl
mov byte [rsp + 0x20], al
mov eax, ebp
shr eax, 0x10
mov byte [rsp + 0x21], al
mov eax, ebp
shr eax, 8
mov byte [rsp + 0x22], al
call qword [r15]
mov r8d, r13d
mov rcx, rax
mov rdx, r12
mov rbx, rax
call qword [r15 + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, rbx
call qword [r15 + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [r15 + reloc.SHELL32.dll_ILFindLastID]
inc ebp
movsxd r9, r14d
test r14d, r14d
jle 0x1400bc728
lea rdx, [rsp + 0x28]
mov rcx, rsi
mov r8, r9
sub rdx, rsi
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
dec r8
jne 0x1400bc71b
add rsi, r9
sub edi, r14d
test edi, edi
jg 0x1400bc6a6
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001010
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400bc974
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov edi, 0x40
lea rcx, [rsp + 0x20]
mov r8d, edi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x28]
mov eax, dword [rdx + 0x2c]
xor eax, dword [rdx + 0x18]
xor eax, dword [rdx - 8]
xor eax, dword [rdx]
lea rdx, [rdx + 4]
rol eax, 1
mov dword [rdx + 0x34], eax
dec rdi
jne 0x1400bc9bf
mov r14d, dword [rbx]
mov r15d, dword [rbx + 4]
mov r12d, dword [rbx + 8]
mov r13d, dword [rbx + 0xc]
mov esi, dword [rbx + 0x10]
xor ebp, ebp
mov r11d, r14d
mov r9d, r15d
mov r8d, r12d
mov r10d, r13d
lea edi, [rbp + 0x14]
mov eax, r8d
mov ecx, r9d
mov edx, r11d
and eax, r9d
rol edx, 5
not ecx
and ecx, r10d
inc rbp
or eax, ecx
add eax, edx
add eax, dword [rsp + rbp*4 + 0x1c]
add eax, esi
mov esi, r10d
mov r10d, r8d
mov r8d, r9d
mov r9d, r11d
lea r11d, [rax + 0x5a827999]
ror r8d, 2
cmp rbp, rdi
jl 0x1400bc9fb
mov ebp, 0x28
mov edx, r10d
mov eax, r11d
inc rdi
xor edx, r8d
rol eax, 5
add eax, dword [rsp + rdi*4 + 0x1c]
xor edx, r9d
add eax, esi
mov esi, r10d
mov r10d, r8d
mov r8d, r9d
add edx, eax
mov r9d, r11d
lea r11d, [rdx + 0x6ed9eba1]
ror r8d, 2
cmp rdi, rbp
jl 0x1400bca3d
mov edi, 0x3c
mov ecx, r8d
mov edx, r11d
mov eax, r8d
and eax, r9d
or ecx, r9d
rol edx, 5
and ecx, r10d
inc rbp
or ecx, eax
lea eax, [rsi + rdx]
mov esi, r10d
add ecx, dword [rsp + rbp*4 + 0x1c]
add eax, 0x8f1bbcdc
mov r10d, r8d
mov r8d, r9d
add eax, ecx
mov r9d, r11d
mov r11d, eax
ror r8d, 2
cmp rbp, rdi
jl 0x1400bca78
mov eax, dword [rsp + rdi*4 + 0x20]
mov edx, r11d
mov ecx, r10d
xor ecx, r8d
rol edx, 5
inc rdi
xor ecx, r9d
add eax, ecx
lea ecx, [rsi + rdx]
mov esi, r10d
add ecx, 0xca62c1d6
mov r10d, r8d
mov r8d, r9d
add ecx, eax
mov r9d, r11d
ror r8d, 2
mov r11d, ecx
cmp rdi, 0x50
jl 0x1400bcab8
add dword [rbx + 0x10], esi
lea eax, [r14 + rcx]
mov dword [rbx], eax
lea eax, [r15 + r9]
mov dword [rbx + 4], eax
lea eax, [r12 + r8]
mov dword [rbx + 8], eax
lea eax, [r10 + r13]
mov dword [rbx + 0xc], eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400bcd64
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rbx, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
mov dword [rsp + 0x30], 0xc3d2e1f0
mov qword [rsp + 0x74], rax
mov dword [rsp + 0x7c], eax
call fcn.1400bcb44
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400bcc58
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140001010
add rsp, 0x90
pop rbx
ret
Function at 0x1400bcdec
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x60
call qword [sym.imp.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
test rax, rax
je 0x1400bce15
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
jmp 0x1400bce17
xor ebx, ebx
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
and dword [rbx + 0x54], 0
and dword [rbx + 0x5c], 0
and dword [rbx + 0x58], 0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400bced0
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, 0x40
mov rsi, rdx
mov rdi, rcx
movsxd rbx, r8d
lea rcx, [r11 - 0x58]
lea edx, [rbp - 0xa]
mov r8d, ebp
call qword [sym.imp.msvcrt.dll_memset]
xor r8d, r8d
test rbx, rbx
jle 0x1400bcf3e
lea rax, [rsp + 0x20]
mov rdx, rsi
sub rdx, rax
cmp r8, rbp
jge 0x1400bcf3e
lea rcx, [rsp + 0x20]
add rcx, r8
inc r8
mov al, byte [rdx + rcx]
xor byte [rcx], al
cmp r8, rbx
jl 0x1400bcf24
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
and dword [rdi + 0x54], 0
and dword [rdi + 0x5c], 0
and dword [rdi + 0x58], 0
lea rdx, [rsp + 0x20]
mov r8d, ebp
mov rcx, rdi
call fcn.1400bcb44
lea rcx, [rsp + 0x20]
mov r8, rbp
mov edx, 0x5c
call qword [sym.imp.msvcrt.dll_memset]
xor edx, edx
test rbx, rbx
jle 0x1400bcfb8
lea rax, [rsp + 0x20]
sub rsi, rax
cmp rdx, rbp
jge 0x1400bcfb8
lea rcx, [rsp + 0x20]
add rcx, rdx
inc rdx
mov al, byte [rsi + rcx]
xor byte [rcx], al
cmp rdx, rbx
jl 0x1400bcf9e
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x20]
mov r8d, ebp
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
and dword [rcx + 0x54], 0
and dword [rcx + 0x5c], 0
and dword [rcx + 0x58], 0
call fcn.1400bcb44
lea rcx, [rsp + 0x20]
mov r8, rbp
xor edx, edx
call qword [sym.imp.msvcrt.dll_memset]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400c8230
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edx, edx
lea r8, [rsp + 0x30]
lea edi, [rdx + 8]
mov ecx, edi
call qword [sym.imp.Secur32.dll_GetUserNameExW]
mov ecx, dword [rsp + 0x30]
lea edx, [rdi - 6]
call fcn.1400a159c
lea r8, [rsp + 0x30]
mov ecx, edi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.Secur32.dll_GetUserNameExW]
xor esi, esi
movzx edi, al
test al, al
je 0x1400c828f
lea edx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
je 0x1400c829d
mov word [rax], si
jmp 0x1400c829d
test rbx, rbx
je 0x1400c82a1
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
test edi, edi
jne 0x1400c82f5
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, dword [rsp + 0x30]
mov r8d, 0x100
test eax, eax
mov edx, 2
cmove ecx, r8d
mov dword [rsp + 0x30], ecx
call fcn.1400a159c
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, eax
test eax, eax
jne 0x1400c82f5
test rbx, rbx
je 0x1400c82f5
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
mov rsi, qword [rsp + 0x40]
neg edi
sbb rax, rax
and rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c913c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dword [rcx + 0x50], edx
je 0x1400c9189
mov dword [rcx + 0x50], edx
test edx, edx
jne 0x1400c9185
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
mov r8b, 1
call fcn.1400c8858
cmp dword [rbx + 0x54], 0
je 0x1400c9185
mov rcx, qword [rbx + 0x10]
mov r9d, 2
lea rdx, [rsp + 0x38]
lea r8d, [r9 - 1]
mov byte [rsp + 0x38], 0
call qword [sym.imp.WS2_32.dll_recv]
and dword [rbx + 0x54], 0
add rsp, 0x20
pop rbx
ret
Function at 0x1400c9524
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, dword [rbx + 0x60]
test edi, edi
jne 0x1400c955f
cmp dword [rbx + 0x40], edi
jle 0x1400c9613
mov rcx, qword [rbx + 0x30]
xor r9d, r9d
mov edi, dword [rcx]
movsxd rax, dword [rcx + 4]
lea rdx, [rcx + 8]
sub edi, dword [rcx + 4]
add rdx, rax
jmp 0x1400c9569
mov r9d, 1
lea rdx, [rbx + 0x5c]
mov rcx, qword [rbx + 0x10]
mov r8d, edi
call qword [sym.imp.WS2_32.dll_send]
movsxd rsi, eax
test eax, eax
jg 0x1400c95c6
jns 0x1400c9589
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
jmp 0x1400c958b
xor ecx, ecx
cmp ecx, 0x2710
jae 0x1400c9597
test esi, esi
js 0x1400c960f
cmp ecx, 0x2733
je 0x1400c960f
test esi, esi
je 0x1400c9607
lea eax, [rcx - 0x2745]
cmp eax, 1
jbe 0x1400c9607
lea rdx, str.Network_error__winsock_.
lea rcx, [0x1401312e8]
call fcn.1400c8398
jmp 0x1400c9536
cmp dword [rbx + 0x60], 0
je 0x1400c95f7
cmp esi, edi
jge 0x1400c95ee
sub edi, esi
lea rdx, [rbx + 0x5c]
lea rcx, [rbx + 0x5c]
add rdx, rsi
movsxd r8, edi
call qword [sym.imp.msvcrt.dll_memmove]
mov dword [rbx + 0x60], edi
jmp 0x1400c9536
and dword [rbx + 0x60], 0
jmp 0x1400c9536
lea rcx, [rbx + 0x30]
mov edx, esi
call fcn.1400a1534
jmp 0x1400c9536
mov dword [rbx + 0x94], ecx
jmp 0x1400c9613
and dword [rbx + 0x4c], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ca7ec
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
lea rax, vtable.Archive.0
mov qword [rcx], rax
cmp byte [rcx + 0x6858], 0
je 0x1400ca837
mov rdi, qword [rcx + 0x6860]
test rdi, rdi
je 0x1400ca837
mov rcx, rdi
call fcn.1400d4a48
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rbx + 0x9c98]
test rcx, rcx
je 0x1400ca849
call qword [sym.imp.msvcrt.dll_free]
mov rcx, qword [rbx + 0x7940]
test rcx, rcx
je 0x1400ca85b
call qword [sym.imp.msvcrt.dll_free]
lea rcx, [rbx + 0x20f0]
call fcn.1400ca750
nop
lea rcx, [rbx + 0x1030]
call fcn.1400cfc08
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400d31e8