joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ca30
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 + 0xa], sil
je 0x14005ca64
mov eax, esi
lea ecx, [rax - 0x6d]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14005ca50
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14004e4f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14005ca89
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14004e3e0
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005cb03
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cafe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cafe
call qword [0x1400cbc78]
int3
call fcn.1400c6460
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14005cb10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 0xb], bl
je 0x14005cb44
mov ecx, ebx
lea eax, [rcx - 0x6d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x14005cb30
mov byte [r8 + 0xb], bl
add r8, 0xa
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.14004e4f0
nop
cmp byte [rdi + 0xb], 0
je 0x14005cb74
lea eax, [rbx - 0x6d]
xor byte [rdi + rbx], al
inc rbx
cmp rbx, 0xa
jb 0x14005cb61
mov byte [rdi + 0xb], 0
lea r8, [rdi + 0xa]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14004e4f0
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.140058ce0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005cbe4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cbde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cbde
call qword [0x1400cbc78]
int3
call fcn.1400c6460
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14005cc24
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cc1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cc1f
call qword [0x1400cbc78]
int3
call fcn.1400c6460
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005cc30
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 + 0xc], sil
je 0x14005cc64
mov eax, esi
lea ecx, [rax - 0x6d]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x14005cc50
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14004e4f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14005cc89
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14004e3e0
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14005cd03
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ccfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ccfe
call qword [0x1400cbc78]
int3
call fcn.1400c6460
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140064980
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 8], al
je 0x1400649b3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x6d]
xor byte [rdx + rax], cl
inc rax
cmp rax, 7
jb 0x1400649a0
mov byte [rdx + 8], 0
lea r8, [rdx + 7]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14004e4f0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400649d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 9], al
je 0x140064a03
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x6d]
xor byte [rdx + rax], cl
inc rax
cmp rax, 8
jb 0x1400649f0
mov byte [rdx + 9], 0
lea r8, [rdx + 8]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14004e4f0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140064a20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x10], al
je 0x140064a53
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x6d]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xf
jb 0x140064a40
mov byte [rdx + 0x10], 0
lea r8, [rdx + 0xf]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14004e4f0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400661e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140066203
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x6d]
xor byte [rcx + rax], dl
inc rax
cmp rax, 4
jb 0x1400661f0
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x140066210
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140066238
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x6d]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x140066220
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x140066240
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140066263
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x6d]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x43
jb 0x140066250
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140066270
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140066293
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x6d]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x46
jb 0x140066280
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x140090e20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x140090fd8
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x140090e98
cmp eax, 0x40
jae 0x140090e82
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x140090e70
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.140091100
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x140090ea0
lea rsi, [rbx + 0x2c]
jae 0x140090eb2
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x140090ea0
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.140091100
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140090ff0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x1400ab130
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x1400ab165
lea rdx, str.Couldnt_set_desired_mode
call fcn.14008d280
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x1400ab17c
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.14008d400
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x1400ab198
mov rcx, rdi
call fcn.1400ab070
jmp 0x1400ab2cf
cmp esi, 0x14
jne 0x1400ab2b1
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x1400ab219
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400ab219
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.140075fd0
test eax, eax
jne 0x1400ab2cf
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call fcn.1400c7632
test rax, rax
je 0x1400ab20e
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x1400ab219
mov rcx, qword [rsp + 0x50]
call qword [str.Jv_f_]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x1400ab23d
cmp byte [rsi + 0xf0d], bl
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x14010e977]
test rbp, rbp
mov r9, r8
lea rax, [0x1400de844]
cmovne r9, rbp
lea rcx, [0x1400d45d0]
cmovne r8, rax
call fcn.14007b210
mov rcx, rbp
mov r14, rax
call qword [str.Jv_f_]
test r14, r14
jne 0x1400ab27c
lea ebx, [r14 + 0x1b]
jmp 0x1400ab2d1
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x14010eae4]
call fcn.1400c1290
mov rcx, r14
mov esi, eax
call qword [str.Jv_f_]
test esi, esi
je 0x1400ab2a5
mov ebx, esi
jmp 0x1400ab2d1
mov dword [rdi + 0xab8], 0x1f
jmp 0x1400ab2d1
cmp esi, 0x15
jne 0x1400ab2bc
lea r8d, [rsi - 8]
jmp 0x1400ab2c5
cmp esi, 0x16
jne 0x1400ab2d1
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.1400aaba0
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c5b10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.Pv_f_]
mov rdi, rax
test rax, rax
jne 0x1400c5b52
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400c5b99
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400c5bf2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x1400c5bb0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400c5c33
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400de4c2]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400de4c3]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400c5c00
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400c726c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400cb2c8]
test rax, rax
je 0x1400c72b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c72b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c72b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c72b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c72b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c72b8
xor al, al
add rsp, 0x28
ret
Function at 0x1408d9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1408d91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408d9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408d906f
add dl, dl
jne 0x1408d9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408d90f6
xor eax, eax
add dl, dl
jne 0x1408d90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408d91ad
add dl, dl
jne 0x1408d90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408d90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408d90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408d90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408d90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408d907e
mov eax, 1
add dl, dl
jne 0x1408d9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408d9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408d90fb
sub eax, ebx
mov ebx, 1
jne 0x1408d914c
mov ecx, 1
add dl, dl
jne 0x1408d912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408d913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408d9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408d907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408d9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408d9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408d915d
cmp eax, 0x7d00
jae 0x1408d919b
cmp eax, 0x500
jb 0x1408d9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408d907e
cmp eax, 0x7f
ja 0x1408d919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408d907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408d91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1408d907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003b40
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov byte [rcx + 0x89], 0
xor eax, eax
mov qword [rcx + 0x10], rax
mov rbx, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8, qword [rdx + 0x10]
jb 0x140003b7f
mov rdx, qword [rdx]
call fcn.140005020
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140005a30
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x888
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x8e0]
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.140017c40
lea rax, [rbp + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x140005a9d
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x140005ad6
mov rax, qword [rbx]
jmp 0x140005ad9
mov rax, rbx
mov word [rax], di
cmp word [rsp + 0x70], di
je 0x140005afa
lea rax, [rsp + 0x70]
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140005af0
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140003190
mov dword [rsp + 0x30], 1
cmp qword [rbx + 0x18], 8
jb 0x140005b1e
mov rax, qword [rbx]
jmp 0x140005b21
mov rax, rbx
mov r11, rsi
sub r11, rax
nop word [rax + rax]
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x140005b46
add rax, 2
test edx, edx
jne 0x140005b30
test r10d, r10d
jne 0x140005b98
mov qword [rsp + 0x20], rsi
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
cmp byte [rbp + 9], r10b
je 0x140005b6b
call fcn.1400058f0
jmp 0x140005b70
call fcn.1400059f0
mov rdx, rax
mov rcx, rbx
call fcn.140001c00
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140005b98
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140003370
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.140013270
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140006c10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x14004a1a0]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140017c40
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x140006c5e
mov r8, qword [r8]
lea r9, str.Config
lea rdx, [0x140032c80]
lea rcx, [rsp + 0x40]
call fcn.140008050
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140006c8f
lea rcx, [rsp + 0x40]
call fcn.140008770
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.140017c40
lea r9, str.UseVestige.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x150]
call fcn.140008050
xor ebx, ebx
cmp word [rbp + 0x150], bx
jne 0x140006cd2
mov r8d, ebx
jmp 0x140006cea
lea rax, [rbp + 0x150]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140006ce0
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x150]
call fcn.140003190
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.140017c40
lea r9, str.Cache.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.140008050
cmp word [rbp + 0x360], bx
jne 0x140006d3e
mov r8, rbx
jmp 0x140006d5a
lea rax, [rbp + 0x360]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x140006d50
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x360]
call fcn.140003190
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.140017c40
lea rdx, str.ShxlPath
lea rcx, [rsp + 0x20]
call fcn.140009ed0
cmp qword [rax + 0x18], 8
jb 0x140006d9c
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x140032cdc]
lea rcx, [rbp + 0x570]
call fcn.140008050
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x140006dcf
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.140003370
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140006dec
lea rcx, [rbp + 0x570]
call fcn.140008770
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.140017c40
lea r9, str.Cache.ini
lea r8, [rbp + 0x570]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.140008050
cmp word [rbp + 0x780], bx
je 0x140006e3f
lea rax, [rbp + 0x780]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140006e35
lea rcx, [rdi + 0x100]
mov r8, rbx
lea rdx, [rbp + 0x780]
call fcn.140003190
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.140013270
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140008420
Capabilities:
Check if file exists
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140008448
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 5]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_MoveFileExW]
add rsp, 0x20
pop rbx
ret

Function at 0x140008770
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
or r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x140008790
lea eax, [rdi + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1400138d4
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x1400087c0
xor r14d, r14d
movsxd rdi, edi
mov ebx, r14d
lea ebp, [r14 + 1]
test rdi, rdi
js 0x14000882f
mov qword [rsp + 0x40], r15
mov r15d, 0x5c
nop dword [rax]
cmp word [rsi + rbx*2], r15w
jne 0x14000881d
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140008818
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140008827
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x1400087f0
jmp 0x14000882a
mov ebp, r14d
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14001315c
mov rbx, qword [rsp + 0x48]
mov eax, ebp
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret