joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005cc5c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14005cc8c
xor eax, eax
jmp 0x14005cd4f
mov rbp, rbx
cmp word [rax], si
je 0x14005ccb1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005cc98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005cc94
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400492d4
movsxd r14, eax
test eax, eax
jne 0x14005ccef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005cc85
mov rcx, r14
call fcn.140026864
mov rdi, rax
test rax, rax
jne 0x14005cd08
xor ecx, ecx
call fcn.140026828
jmp 0x14005cce4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400492d4
test eax, eax
jne 0x14005cd39
mov rcx, rdi
call fcn.140026828
jmp 0x14005cd43
xor ecx, ecx
call fcn.140026828
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14005cd6c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14005cdf3
mov rsi, rbx
cmp word [rax], bp
je 0x14005cdb2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005cd9c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005cd98
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140026864
mov rdi, rax
test rax, rax
je 0x14005cde0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140004d70
mov rbp, rdi
xor ecx, ecx
call fcn.140026828
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006012c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140029fa8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400601b6
cmp byte [rbp - 0x21], r15b
je 0x1400601b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400601ec
call fcn.14002798c
test eax, eax
jne 0x1400601d8
cmp byte [rbp - 0x21], r15b
je 0x1400601d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400601ec
cmp byte [rbp - 0x21], r15b
je 0x1400601e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140048828
test eax, eax
jne 0x14006028c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140029fa8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006022b
cmp byte [rbp - 0x21], r15b
je 0x140060260
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140060260
call fcn.14002798c
test eax, eax
jne 0x14006024c
cmp byte [rbp - 0x21], r15b
je 0x140060245
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140060260
cmp byte [rbp - 0x21], r15b
je 0x14006025d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140048828
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006028c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006028f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006029d
mov rcx, rdi
call fcn.140026828
cmp byte [rbp + 0x3f], r15b
je 0x1400602ac
mov rcx, qword [rbp + 0x27]
call fcn.140026828
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400604b8
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14005aff0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14005aff0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140060608
cmp rax, 0xffffffffffffffff
je 0x140060608
xor edi, edi
test rbp, rbp
jle 0x1400605b3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400267b0
mov rbx, rax
test rax, rax
jne 0x140060540
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400605a9
mov edx, 0x8000
mov ecx, r14d
call fcn.14006033c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140052d6c
cmp eax, 0xffffffff
je 0x140060589
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140060550
mov edx, r15d
mov ecx, r14d
call fcn.14006033c
jmp 0x1400605a9
cmp byte [rsi + 0x38], dil
je 0x1400605a0
cmp dword [rsi + 0x34], 5
jne 0x1400605a0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400605a9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140026828
jmp 0x14006061c
jns 0x14006061c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14005aff0
cmp rax, 0xffffffffffffffff
jne 0x1400605d4
cmp byte [rsi + 0x30], dil
je 0x14006061c
mov edi, dword [rsi + 0x2c]
jmp 0x14006061c
mov ecx, r14d
call fcn.140047ab8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14006061c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14006061c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140060615
mov eax, dword [rsi + 0x2c]
jmp 0x14006061a
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14005aff0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400013e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14000140d
add rsp, 0x28
ret
mov rcx, rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001459
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [rsp + 0x40]
mov r11d, eax
add r11, rbx
and ecx, 0xf
jbe 0x140001454
cmp rbx, r11
jae 0x140001459
add ecx, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140001442
cmp rbx, r11
jb 0x140001465
xor eax, eax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140001590
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rcx]
add rsp, 0x28
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]

Function at 0x140001740
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
sub rsp, 0x48
mov rcx, qword [rcx]
lea rax, [r11 - 0x18]
lea r9, [r11 - 0x14]
mov qword [r11 - 0x20], rax
mov rax, r8
xor r8d, r8d
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x30], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000178b
cmp dword [rsp + 0x34], 4
mov ecx, 0xd
cmovne eax, ecx
add rsp, 0x48
ret

Function at 0x140001790
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov eax, dword [r9]
mov rbx, r8
mov rdi, r9
add eax, eax
xor esi, esi
xor r8d, r8d
mov dword [r9], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x30], eax
lea rax, [r11 - 0x28]
lea r9, [r11 - 0x24]
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001821
mov eax, dword [rsp + 0x34]
cmp eax, 1
je 0x1400017ec
cmp eax, 2
jne 0x14000180b
mov ecx, dword [rsp + 0x30]
test rbx, rbx
je 0x14000181b
test ecx, ecx
je 0x140001818
test cl, 1
jne 0x14000180b
mov rax, rcx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x14000181b
mov eax, 0xd
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov word [rbx], si
shr ecx, 1
xor eax, eax
mov dword [rdi], ecx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c3f4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
sub rsp, 0x28
mov edx, dword [rax + 0x18]
mov r9, rcx
mov rcx, qword [rax + 0x10]
mov r8d, 1
add rsp, 0x28
jmp fcn.1400076bc
Function at 0x14000f12c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9d, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
movsxd rbx, dword [rsp + 0xc8]
mov rax, qword [rdi]
mov r15, rcx
mov r14, rdx
mov qword [r11 - 0x78], rax
mov rax, qword [rdi + 8]
mov ebp, r9d
mov qword [r11 - 0x70], rax
jl 0x14000f248
lea r13, [r11 - 0x48]
mov r12, r8
sub r13, rbx
sub ebp, dword [rsp + 0xc8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8, r15
call fcn.14000a33c
cmp rbx, 0x10
jge 0x14000f1da
mov rax, rbx
mov r8d, 0x10
lea rdx, [rsp + rbx + 0x20]
sub rax, rbx
sub r8, rbx
lea rcx, [rsp + rax + 0x40]
call sub.MSVCR90.dll_memcpy
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rcx, r13
call fcn.14000c420
lea r10, [rsp + 0x40]
xor r8d, r8d
mov rax, qword [r10]
mov qword [rsp + 0x20], rax
mov rax, qword [r10 + 8]
mov qword [rsp + 0x28], rax
test rbx, rbx
jle 0x14000f225
lea rax, [rsp + 0x30]
mov rdx, r12
sub rdx, rax
lea rcx, [rsp + r8 + 0x30]
inc r8
mov al, byte [rdx + rcx]
xor byte [rcx], al
cmp r8, rbx
jl 0x14000f213
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rcx, r14
call fcn.14000c420
add r12, rbx
add r14, rbx
cmp ebp, dword [rsp + 0xc8]
jge 0x14000f19d
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x14000f890
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rsp + 0xb0]
mov edi, r9d
xor ebx, ebx
mov rax, qword [rsi]
add edi, 0xfffffff0
mov r14, rcx
cmp edi, ebx
mov qword [r11 - 0x58], rax
mov rax, qword [rsi + 8]
mov rbp, rdx
mov r13, r8
mov qword [r11 - 0x50], rax
jl 0x14000f958
lea r12d, [rdi + 0x10]
shr r12, 4
mov eax, r12d
neg eax
shl eax, 4
add edi, eax
mov rax, qword [r13]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x28], rax
mov al, byte [rsp + rcx + 0x30]
inc rcx
xor byte [rsp + rcx + 0x1f], al
cmp rcx, 0x10
jl 0x14000f913
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8, r14
call fcn.14000a33c
lea r11, [rsp + 0x30]
add r13, 0x10
mov rax, qword [r11]
mov qword [rbp], rax
mov rax, qword [r11 + 8]
add rbp, 0x10
sub r12, 1
mov qword [rbp - 8], rax
jne 0x14000f8fe
cmp edi, 0xfffffff0
je 0x14000f9c2
lea eax, [rdi + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, r13
movsxd r8, eax
call fcn.14000c420
mov r10d, edi
movsxd rax, edi
neg r10d
lea rcx, [rsp + rax + 0x30]
mov edx, 0x20
movsxd r8, r10d
call sub.MSVCR90.dll_memset
mov al, byte [rsp + rbx + 0x30]
inc rbx
xor byte [rsp + rbx + 0x1f], al
cmp rbx, 0x10
jl 0x14000f98b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8, r14
call fcn.14000a33c
lea r11, [rsp + 0x30]
mov rax, qword [r11]
mov qword [rbp], rax
mov rax, qword [r11 + 8]
mov qword [rbp + 8], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 8], rax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000f9f4
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, qword [rsp + 0xc0]
mov edi, r9d
xor ebx, ebx
mov rax, qword [rsi]
add edi, 0xfffffff0
mov r14, rcx
cmp edi, ebx
mov qword [r11 - 0x78], rax
mov rax, qword [rsi + 8]
mov r12, rdx
mov r13, r8
mov qword [r11 - 0x70], rax
jl 0x14000fad7
lea ebp, [rdi + 0x10]
shr rbp, 4
mov eax, ebp
neg eax
shl eax, 4
add edi, eax
mov rax, qword [r13]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [r13 + 8]
mov r8, r14
mov qword [rsp + 0x38], rax
call fcn.14000b374
mov r11, rbx
mov al, byte [rsp + r11 + 0x20]
inc r11
xor byte [rsp + r11 + 0x3f], al
cmp r11, 0x10
jl 0x14000fa8b
lea rcx, [rsp + 0x30]
add r13, 0x10
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx]
mov qword [r12], rax
mov rax, qword [rcx + 8]
add r12, 0x10
sub rbp, 1
mov qword [r12 - 8], rax
jne 0x14000fa64
cmp edi, 0xfffffff0
je 0x14000fb56
lea eax, [rdi + 0x10]
lea rcx, [rsp + 0x30]
mov rdx, r13
movsxd rbp, eax
mov r8, rbp
call fcn.14000c420
mov r10d, edi
movsxd rax, edi
neg r10d
lea rcx, [rsp + rax + 0x40]
mov edx, 0x20
movsxd r8, r10d
call sub.MSVCR90.dll_memset
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov r8, r14
call fcn.14000b374
mov al, byte [rsp + rbx + 0x20]
inc rbx
xor byte [rsp + rbx + 0x3f], al
cmp rbx, 0x10
jl 0x14000fb1f
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8, rbp
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rcx, r12
mov qword [rsp + 0x28], rax
call fcn.14000c420
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rsi], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 8], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x60
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011728
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rsp + 0x50]
mov edx, r8d
mov eax, 0x48
cmp edx, eax
lea rcx, [0x1400c2340]
mov r9, rdi
cmovg edx, eax
sub r9, rcx
xor ebx, ebx
mov r8d, CWinApp::HtmlHelpW
mov al, byte [rcx]
dec r8
mov byte [r9 + rcx], al
inc rcx
cmp r8, rbx
jne 0x140011765
mov r8, qword [rsp + 0x58]
movsxd r9, edx
mov rdx, rbx
mov r10, r8
add r9, r8
movzx ecx, byte [r10]
inc r10
cmp r10, r9
cmovae r10, r8
shl ecx, 8
movzx eax, byte [r10]
inc r10
or ecx, eax
cmp r10, r9
cmovae r10, r8
shl ecx, 8
movzx eax, byte [r10]
inc r10
or ecx, eax
cmp r10, r9
cmovae r10, r8
shl ecx, 8
movzx eax, byte [r10]
inc r10
or ecx, eax
cmp r10, r9
cmovae r10, r8
xor dword [rdi + rdx*4], ecx
inc rdx
cmp rdx, 0x12
jl 0x140011787
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], ebx
mov rsi, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140010ed0
mov eax, dword [rsp + 0x20]
mov dword [rdi + rsi*4], eax
mov eax, dword [rsp + 0x24]
add rsi, 2
cmp rsi, 0x12
mov dword [rdi + rsi*4 - 4], eax
jl 0x1400117e5
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140010ed0
mov eax, dword [rsp + 0x20]
add rbx, 2
cmp rbx, 0x400
mov dword [rdi + rbx*4 + 0x40], eax
mov eax, dword [rsp + 0x24]
mov dword [rdi + rbx*4 + 0x44], eax
jl 0x14001180b
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x140011840
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9d, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
movsxd rbx, dword [rsp + 0xc8]
mov rax, qword [rdi]
mov r15, rcx
mov r14, rdx
mov qword [r11 - 0x78], rax
mov rax, qword [rdi + 8]
mov ebp, r9d
mov qword [r11 - 0x70], rax
jl 0x14001195c
lea r12, [r11 - 0x48]
mov r13, r8
sub r12, rbx
sub ebp, dword [rsp + 0xc8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8, r15
call fcn.14000a33c
xor r11d, r11d
test rbx, rbx
jle 0x1400118ef
lea rax, [rsp + 0x30]
mov rdx, r13
sub rdx, rax
lea rcx, [rsp + r11 + 0x30]
inc r11
mov al, byte [rdx + rcx]
xor byte [rcx], al
cmp r11, rbx
jl 0x1400118dd
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rcx, r14
call fcn.14000c420
add r13, rbx
add r14, rbx
cmp rbx, 0x10
jge 0x140011929
mov rax, rbx
mov r8d, 0x10
lea rdx, [rsp + rbx + 0x20]
sub rax, rbx
sub r8, rbx
lea rcx, [rsp + rax + 0x40]
call sub.MSVCR90.dll_memcpy
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rcx, r12
call fcn.14000c420
cmp ebp, dword [rsp + 0xc8]
lea r10, [rsp + 0x40]
mov rax, qword [r10]
mov qword [rsp + 0x20], rax
mov rax, qword [r10 + 8]
mov qword [rsp + 0x28], rax
jge 0x1400118b1
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x14001198c
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp r9d, dword [rsp + 0xd8]
mov rdi, qword [rsp + 0xd0]
movsxd rbx, dword [rsp + 0xd8]
mov rax, qword [rdi]
mov r15, rcx
mov r14, rdx
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov r13, r8
mov qword [r11 - 0x80], rax
mov ebp, r9d
jl 0x140011ab9
lea r12, [r11 - 0x58]
sub r12, rbx
sub ebp, dword [rsp + 0xd8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8, r15
call fcn.14000a33c
xor r11d, r11d
test rbx, rbx
jle 0x140011a3c
lea rax, [rsp + 0x30]
mov rdx, r13
sub rdx, rax
lea rcx, [rsp + r11 + 0x30]
inc r11
mov al, byte [rdx + rcx]
xor byte [rcx], al
cmp r11, rbx
jl 0x140011a2a
lea rcx, [rsp + 0x50]
mov r8, rbx
mov rdx, r13
call fcn.14000c420
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rcx, r14
call fcn.14000c420
add r13, rbx
add r14, rbx
cmp rbx, 0x10
jge 0x140011a86
mov rax, rbx
mov r8d, 0x10
lea rdx, [rsp + rbx + 0x20]
sub rax, rbx
sub r8, rbx
lea rcx, [rsp + rax + 0x40]
call sub.MSVCR90.dll_memcpy
lea rdx, [rsp + 0x50]
mov r8, rbx
mov rcx, r12
call fcn.14000c420
cmp ebp, dword [rsp + 0xd8]
lea r10, [rsp + 0x40]
mov rax, qword [r10]
mov qword [rsp + 0x20], rax
mov rax, qword [r10 + 8]
mov qword [rsp + 0x28], rax
jge 0x1400119fe
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004d770
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400190fc
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400bdbf0]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp dword [rcx], 3
mov rbx, rcx
jne 0x14001918c
xor edi, edi
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
mov dword [rsp + 0x38], 0xc3d2e1f0
lea edx, [rdi + 0x10]
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], edi
lea r8, [r11 - 0x80]
mov eax, dword [r8]
mov rcx, qword [rbx + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x140019162
mov rax, qword [rbx + 0x10]
mov dword [rax], edi
mov rax, qword [rbx + 0x10]
mov dword [rax + 4], edi
jmp 0x140019295
cmp dword [rbx], 4
jne 0x1400191f9
xor edi, edi
lea rcx, [rsp + 0x3c]
xor edx, edx
lea r8d, [rdi + 0x40]
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x7c], edi
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
mov dword [rsp + 0x38], 0xc3d2e1f0
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x28]
lea edx, [rdi + 0x10]
mov eax, dword [r8]
mov rcx, qword [rbx + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x1400191df
jmp 0x14001917a
cmp dword [rbx], 1
jne 0x140019255
xor edi, edi
mov dword [rsp + 0x68], 0x67452301
mov dword [rsp + 0x6c], 0xefcdab89
mov dword [rsp + 0x70], 0x98badcfe
mov dword [rsp + 0x74], 0x10325476
mov dword [rsp + 0x78], 0xc3d2e1f0
lea edx, [rdi + 0x10]
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x68]
mov eax, dword [r8]
mov rcx, qword [rbx + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x140019238
jmp 0x14001917a
cmp dword [rbx], 2
jne 0x14001929d
lea rcx, [rsp + 0x20]
call fcn.14001b398
lea r8, [rsp + 0x20]
mov edx, 0x1c
mov eax, dword [r8]
mov rcx, qword [rbx + 0x18]
add r8, 4
mov dword [rdx + rcx], eax
sub rdx, 4
cmp rdx, 0xfffffffffffffffc
jg 0x14001926e
mov rcx, qword [rbx + 0x10]
xor edi, edi
mov dword [rcx], edi
mov rcx, qword [rbx + 0x10]
mov dword [rcx + 4], edi
mov dword [rbx + 0x20], edi
mov ax, di
jmp 0x1400192a2
mov eax, 0xd
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14004d770
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
Function at 0x14001b398
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rbx, qword [rsp + 0x30]
xor edx, edx
lea rcx, [rbx + 0x28]
lea r8d, [rdx + 0x40]
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call sub.MSVCR90.dll_memset
and dword [rbx + 0x24], 0
and dword [rbx + 0x20], 0
add rsp, 0x20
pop rbx
ret