joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400045a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140016020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400045cd
xor eax, eax
jmp 0x140004739
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004607
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004607
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004739
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000472c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000464a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x140004675
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 0x140004731
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 0x1400046e4
sub eax, 1
je 0x1400046e4
cmp eax, 2
jne 0x14000472c
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 0x140004731
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004712
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 0x14000472c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004731
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000e7e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140005130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140005164
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140005150
ret
Function at 0x140005a00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140016020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005ad3
cmp byte [rcx + 0x71], 0
je 0x140005ad3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005acf
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 0x140005a94
sub eax, 1
je 0x140005a98
cmp eax, 2
jne 0x140005acf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e7e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005ac6
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 0x140005acf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005a7c
xor al, al
jmp 0x140005a7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e7e0
add rsp, 0x60
pop rbx
ret
Function at 0x14000c3d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14000c49c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000c49c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000c4b5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000c48c
cmp byte [rax], 0x5c
jne 0x14000c486
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000c486
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000c472
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000c483
test r8b, 0x10
jne 0x14000c486
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000c486
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140007e80
test edi, edi
jne 0x14000c3f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140007e70
int3

Function at 0x14000f4b4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f4fe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f4fe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f4fe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f4fe
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f4fe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000f500
xor al, al
add rsp, 0x28
ret
Function at 0x14000dae0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov ebx, ecx
mov edx, 0x10
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, rax
mov qword [rsi], rax
xor eax, eax
test rcx, rcx
je 0x14000dc41
mov dword [rcx], ebx
mov eax, 1
test ebx, ebx
je 0x14000dc41
cmp ebx, 2
je 0x14000db61
cmp ebx, 1
jne 0x14000dc36
mov edx, 8
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsi]
mov qword [rcx + 8], rax
test rax, rax
je 0x14000dc36
mov rax, qword [rsi]
mov rax, qword [rax + 8]
mov qword [rax], rdi
mov eax, 1
jmp 0x14000dc41
mov edx, 8
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsi]
mov qword [rcx + 8], rax
test rax, rax
je 0x14000dc36
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov edx, 0x10
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx], rax
test rax, rax
je 0x14000dc36
lea rcx, [0x1402b7b20]
lea rdx, str._3G.
call fcn.1400f5160
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8d, 2
xor r9d, r9d
call rax
mov rcx, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rcx]
test rax, rax
je 0x14000dc31
mov qword [rsp + 0x20], 0
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, qword [rbx]
mov qword [rcx + 8], rax
mov rcx, qword [rbx]
test rax, rax
je 0x14000dc31
mov rax, qword [rcx + 8]
cmp dword [rax], 0x504d444d
jne 0x14000dc31
movzx eax, word [rax + 4]
cmp eax, 0xa793
mov eax, 1
je 0x14000dc41
call fcn.14000dcb0
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140029f05
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp r9b, 1
jne 0x140029f20
xor r10d, r10d
mov r9d, 1
mov r11, rcx
jmp 0x140029f63
movzx r11d, r9b
mov eax, 3
sub eax, r11d
xor r10d, r10d
cmp eax, r8d
jge 0x140029f50
cdqe
movsxd r8, r8d
cmp byte [rcx + rax], 0
jne 0x140029f4a
add rax, 2
cmp rax, r8
jl 0x140029f39
jmp 0x140029f50
mov r10d, 1
xor eax, 1
and r11d, 1
add r11, rcx
mov r9d, 2
mov r8d, eax
movsxd rax, r8d
add rcx, rax
mov r8b, 1
cmp r11, rcx
jae 0x140029fa4
mov eax, r9d
lea rsi, [0x1402a79a0]
movzx edi, byte [r11]
test byte [rdi + rsi], 1
je 0x140029f8f
add r11, rax
cmp r11, rcx
jb 0x140029f7b
jmp 0x140029fa4
cmp edi, 0x2b
je 0x140029fa1
cmp edi, 0x2d
jne 0x140029fa4
add r11, rax
xor r8d, r8d
jmp 0x140029fa4
add r11, rax
mov rsi, r11
cmp r11, rcx
jae 0x140029fbf
mov eax, r9d
mov rsi, r11
cmp byte [rsi], 0x30
jne 0x140029fbf
add rsi, rax
cmp rsi, rcx
jb 0x140029fb2
cmp rsi, rcx
jae 0x14002a009
mov r14d, r9d
xor edi, edi
xor eax, eax
movzx r15d, byte [rsi + rdi]
lea ebx, [r15 - 0x30]
cmp bl, 0xa
setb bl
jae 0x140029ff4
lea rax, [rax + rax*4]
lea rax, [r15 + rax*2]
add rax, 0xffffffffffffffd0
add rdi, r14
lea r15, [rsi + rdi]
cmp r15, rcx
jb 0x140029fcb
test rax, rax
jns 0x14002a00f
movabs rax, 0x7fffffffffffffff
lea r14, [rax + 1]
jmp 0x14002a015
xor edi, edi
mov bl, 1
xor eax, eax
mov r14, rax
neg r14
test r8b, r8b
cmovne r14, rax
mov qword [rdx], r14
test edi, edi
jne 0x14002a02d
mov eax, 0xffffffff
cmp r11, rsi
je 0x14002a064
test r10d, r10d
setne al
or al, bl
mov eax, r10d
jne 0x14002a064
mov eax, edi
mov r10d, r9d
add rax, rsi
lea r11, [0x1402a79a0]
movzx ebx, byte [rax]
test byte [rbx + r11], 1
je 0x14002a05f
add rax, r10
cmp rax, rcx
jb 0x14002a049
xor eax, eax
jmp 0x14002a064
mov eax, 1
lea ecx, [r9 + r9*8]
lea ecx, [r9 + rcx*2]
cmp edi, ecx
jb 0x14002a10d
jbe 0x14002a095
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + 1]
test r8b, r8b
cmovne rcx, rax
mov qword [rdx], rcx
mov eax, 2
jmp 0x14002a10d
mov ecx, r9d
xor r11d, r11d
lea r10, [0x1402a94e0]
mov rbx, rsi
movsx r9d, byte [rbx]
movsx edi, byte [r11 + r10]
cmp r9b, dil
jne 0x14002a0c3
lea r14, [r11 + 1]
add rbx, rcx
cmp r11, 0x11
mov r11, r14
jb 0x14002a0a5
cmp r9b, dil
jne 0x14002a0d5
lea rcx, [rcx + rcx*8]
movsx ecx, byte [rsi + rcx*2]
add ecx, 0xffffffc8
jmp 0x14002a0df
sub r9d, edi
add r9d, r9d
lea ecx, [r9 + r9*4]
test ecx, ecx
js 0x14002a10d
movabs r9, 0x7fffffffffffffff
lea r10, [r9 + 1]
test r8b, r8b
cmovne r10, r9
mov qword [rdx], r10
mov edx, 3
cmovne eax, edx
test ecx, ecx
mov ecx, 2
cmovne eax, ecx
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14004f1a6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov ebp, dword [rcx + 0x28]
lea r14, str.y
lea r15, [0x1402ab060]
test ebp, ebp
jle 0x14004f24c
mov r13, qword [rdi + 0x20]
xor r12d, r12d
xor eax, eax
cmp r12d, 2
setb al
xor eax, r12d
test rsi, rsi
je 0x14004f21f
mov rcx, rax
shl rcx, 5
mov rcx, qword [r13 + rcx]
xor edx, edx
movzx r8d, byte [rsi + rdx]
movzx r9d, byte [rcx + rdx]
cmp r8b, r9b
jne 0x14004f210
test r8, r8
jne 0x14004f21a
jmp 0x14004f21f
mov r8b, byte [r8 + r14]
cmp r8b, byte [r9 + r14]
jne 0x14004f244
inc rdx
jmp 0x14004f1fa
shl rax, 5
mov rcx, qword [r13 + rax + 0x18]
add rcx, 8
mov rdx, rbx
xor r8d, r8d
call fcn.140020878
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14004f2cd
inc r12d
cmp r12d, ebp
jne 0x14004f1db
xor eax, eax
movzx ecx, byte [rbx + rax]
movzx edx, byte [rax + r15]
cmp cl, dl
jne 0x14004f262
test rcx, rcx
jne 0x14004f26c
jmp 0x14004f271
mov cl, byte [rcx + r14]
cmp cl, byte [rdx + r14]
jne 0x14004f2cb
inc rax
jmp 0x14004f24e
mov rax, qword [rdi + 0x20]
mov rax, qword [rax + 0x20]
test rsi, rsi
je 0x14004f2ae
test rax, rax
je 0x14004f2cb
xor ecx, ecx
movzx edx, byte [rsi + rcx]
movzx r8d, byte [rax + rcx]
cmp dl, r8b
jne 0x14004f29a
test rdx, rdx
jne 0x14004f2a9
jmp 0x14004f2ba
movzx edx, byte [rdx + r14]
movzx r8d, byte [r8 + r14]
sub edx, r8d
jne 0x14004f2bc
inc rcx
jmp 0x14004f285
neg rax
mov edx, 0
sbb edx, edx
jmp 0x14004f2bc
xor edx, edx
lea rbx, [0x1402ab2e0]
test edx, edx
je 0x14004f1d0
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14005ba1a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov dword [rsp + 0x2c], r9d
mov esi, dword [rdx]
test esi, esi
jle 0x14005bbd6
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov al, byte [rsp + 0xd0]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x30], rcx
movzx ecx, al
and al, 0xfd
cmp byte [r14 + 0x23], 0
movzx r15d, al
cmovne r15d, ecx
and cl, 1
xor cl, 0x4f
dec dword [rsp + 0x2c]
movzx eax, cl
mov dword [rsp + 0x28], eax
add rbx, 0x28
xor ebp, ebp
mov r12, qword [rbx - 0x20]
test r15b, 4
je 0x14005bab7
movzx r8d, word [rbx]
test r8d, r8d
je 0x14005bab7
test r15b, 8
jne 0x14005bbb4
lea r9d, [rdi + rbp]
add r8d, dword [rsp + 0x2c]
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
jmp 0x14005bbad
test r15b, 2
jne 0x14005bb45
lea r13d, [rdi + rbp]
mov rcx, r14
mov rdx, r12
mov r8d, r13d
call fcn.140059d85
cmp eax, r13d
je 0x14005bbc8
cmp dword [rsp + 0x28], 0x4e
jne 0x14005bb96
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
cmp byte [rcx + 0x61], 0
lea rcx, [0x1402c6528]
jne 0x14005bb1b
mov rdx, qword [rsp + 0x30]
movsxd rcx, dword [rdx + 0x90]
lea rcx, [rcx + rcx*2]
mov rdx, qword [rdx + 0x88]
lea rcx, [rdx + rcx*8]
add rcx, 0xffffffffffffffe8
cmp byte [rcx], 0x4e
jne 0x14005bb96
mov edx, dword [rcx + 0xc]
inc edx
mov r8d, dword [rcx + 4]
add r8d, edx
cmp r8d, eax
jne 0x14005bb96
mov r8d, dword [rcx + 8]
add r8d, edx
cmp r8d, r13d
jne 0x14005bb96
mov dword [rcx + 0xc], edx
jmp 0x14005bbc8
mov byte [rsp + 0x5c], 2
lea rax, [0x14004c488]
mov qword [rsp + 0x40], rax
lea rax, [0x14004c55e]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], 0
test r12, r12
je 0x14005bbba
lea rcx, [rsp + 0x38]
mov rdx, r12
call fcn.14004c568
lea r13d, [rdi + rbp]
cmp byte [rsp + 0x5c], 0
je 0x14005bac5
mov rcx, r14
mov rdx, r12
mov r8d, r13d
jmp 0x14005bbc3
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov r8d, eax
mov r9d, r13d
call fcn.14004e997
jmp 0x14005bbc8
dec ebp
dec esi
jmp 0x14005bbc8
lea r8d, [rdi + rbp]
mov rcx, r14
xor edx, edx
call fcn.14005b8fb
inc ebp
add rbx, 0x28
cmp ebp, esi
jl 0x14005ba7b
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140063b41
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, qword [rcx + 0x88]
test r14, r14
je 0x140063c3d
mov rsi, rcx
mov rdi, qword [rcx + 0x10]
mov r15, qword [rcx]
mov r13, qword [r15 + 0x20]
movsxd rbx, dword [r14 + 0x10]
mov r12d, dword [r14 + 0x14]
mov al, byte [rsi + 0x1f]
test al, al
je 0x140063b8f
dec al
mov byte [rsi + 0x1f], al
movzx eax, al
mov ebp, dword [rsi + rax*4 + 0xbc]
jmp 0x140063b97
mov ebp, dword [rsi + 0x38]
inc ebp
mov dword [rsi + 0x38], ebp
mov r9d, dword [rdi + 0x90]
add r9d, 7
lea r8d, [r12 + 2]
mov dword [rsp + 0x20], r12d
mov rcx, rdi
mov edx, 0x37
call fcn.14004e997
shl rbx, 5
mov rax, qword [r13 + rbx + 0x18]
mov r9, qword [rax + 0x68]
mov r8d, dword [r14 + 0x10]
mov dword [rsp + 0x20], 0x62
mov rcx, rsi
xor edx, edx
call fcn.1400577e3
mov rcx, rdi
mov edx, 5
lea r8, [0x1402378e0]
call fcn.14005fb9c
test rax, rax
je 0x140063c3d
lea ecx, [r12 + 1]
mov dword [rax + 4], ecx
mov dword [rax + 0x20], ecx
dec r12d
mov dword [rax + 0x34], r12d
mov dword [rax + 0x3c], ebp
mov dword [rax + 0x50], ebp
mov dword [rax + 0x54], ecx
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x140063c31
movzx eax, byte [rsi + 0x1f]
cmp rax, 7
ja 0x140063c31
lea ecx, [rax + 1]
mov byte [rsi + 0x1f], cl
mov dword [rsi + rax*4 + 0xbc], ebp
mov r14, qword [r14]
test r14, r14
jne 0x140063b6b
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14007c785
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, qword [rcx + 0x88]
test r15, r15
je 0x14007c88e
mov rsi, rcx
mov r12, qword [rcx]
mov rdi, qword [rcx + 0x10]
lea rbx, [0x1402376f0]
mov rax, qword [r12 + 0x20]
movsxd r8, dword [r15 + 0x10]
mov r13d, dword [r15 + 0x14]
mov rcx, r8
shl rcx, 5
mov rax, qword [rax + rcx + 0x18]
mov r9, qword [rax + 0x68]
mov dword [rsp + 0x20], 0x61
mov rcx, rsi
xor edx, edx
call fcn.1400577e3
mov rax, qword [r15 + 8]
mov r14, qword [rax]
lea ebp, [r13 - 1]
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 0x71
xor r8d, r8d
mov r9d, ebp
call fcn.14004e997
mov rcx, rdi
mov edx, eax
mov r8, r14
xor r9d, r9d
call fcn.14004ea51
mov rcx, rdi
mov edx, 0xc
mov r8, rbx
call fcn.14005fb9c
test rax, rax
je 0x14007c88e
mov dword [rax + 8], r13d
lea ecx, [r13 + 2]
mov dword [rax + 0xc], ecx
mov dword [rax + 0x3c], r13d
mov dword [rax + 0x4c], ebp
mov dword [rax + 0x54], r13d
mov word [rax + 0x4a], 0x10
lea edx, [r13 + 1]
mov dword [rax + 0x68], edx
mov dword [rax + 0x84], r13d
mov dword [rax + 0x94], r13d
mov dword [rax + 0xb0], ecx
mov dword [rax + 0xac], r13d
mov dword [rax + 0xf8], r13d
cmp dword [rsi + 0x34], 0
jne 0x14007c882
mov dword [rsi + 0x34], 1
mov r15, qword [r15]
test r15, r15
jne 0x14007c7b6
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c3306
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov r13, qword [rsp + 0x1c8]
xorps xmm0, xmm0
lea r15, [rsp + 0x34]
movaps xmmword [r15 - 4], xmm0
mov qword [r15 + 0xc], 0
mov word [r15 - 4], 0x103
movzx edi, r9b
lea rbp, [rdi + 5]
mov byte [r15 - 2], bpl
xor r12d, r12d
lea rcx, [rsp + 0x50]
mov r8d, 0x100
xor edx, edx
call fcn.140202180
mov byte [r15 - 1], bl
mov rcx, r15
mov rdx, r14
mov r8, rdi
call fcn.140201ae0
lea eax, [rdi + 3]
movzx eax, al
xor ecx, ecx
xor cl, byte [rsp + r12 + 0x31]
inc r12
cmp rax, r12
jne 0x1400c3380
lea r14, [rsp + 0x30]
mov byte [rdi + r14 + 4], cl
mov byte [rsp + rbp + 0x30], 4
mov rcx, rsi
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_PurgeComm]
lea rdi, [0x1402b7b20]
lea rdx, [0x1402b7b60]
mov rcx, rdi
call fcn.1400f5160
mov ecx, 0x64
call rax
lea rdx, [0x1402bad00]
mov rcx, rdi
call fcn.1400f5160
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rcx, rsi
mov rdx, r14
mov r8d, 0x18
call rax
test eax, eax
je 0x1400c3538
cmp dword [rsp + 0x2c], 0x18
jne 0x1400c3538
lea r14, [0x1402b7b20]
lea rdx, [0x1402bba20]
mov rcx, r14
call fcn.1400f5160
xor edi, edi
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call rax
lea rdx, [0x1402b7b60]
mov rcx, r14
call fcn.1400f5160
mov ecx, 0x64
call rax
lea rdx, str.k__
mov rcx, r14
call fcn.1400f5160
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x50]
lea r9, [rsp + 0x2c]
mov rcx, rsi
mov rdx, r14
mov r8d, 0x100
call rax
test eax, eax
je 0x1400c3558
mov edx, dword [rsp + 0x2c]
cmp edx, 6
jb 0x1400c357d
cmp byte [rsp + 0x50], 5
jne 0x1400c35a1
cmp byte [rsp + 0x51], 1
jne 0x1400c35a1
mov cl, byte [rsp + 0x52]
cmp cl, 5
jb 0x1400c35aa
or bl, 0x80
cmp byte [rsp + 0x53], bl
jne 0x1400c35aa
lea eax, [rcx - 5]
add cl, 0xfe
movzx ecx, cl
xor edx, edx
xor r8d, r8d
xor r8b, byte [rsp + rdx + 0x51]
inc rdx
cmp rcx, rdx
jne 0x1400c34c0
movzx esi, al
cmp byte [rsi + r14 + 4], r8b
jne 0x1400c35b8
cmp byte [rsi + r14 + 5], 4
jne 0x1400c35b8
mov edi, 1
test r13, r13
je 0x1400c358b
mov rcx, r13
mov r13, qword [rsp + 0x1c0]
test r13, r13
je 0x1400c358b
test al, al
je 0x1400c358b
mov byte [rcx], al
mov ecx, 0x40
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [r13], rax
test rax, rax
je 0x1400c3589
lea rdx, [rsp + 0x54]
mov rcx, rax
mov r8, rsi
call fcn.140201ae0
jmp 0x1400c358b
lea rcx, [0x1402b7b20]
lea rdx, [0x1402b7cc0]
call fcn.1400f5160
call rax
lea rcx, [0x1402a5500]
mov edx, eax
jmp 0x1400c3584
lea rcx, [0x1402b7b20]
lea rdx, [0x1402b7cc0]
call fcn.1400f5160
call rax
lea rcx, [0x1402a54a0]
mov edx, eax
call fcn.14000123b
jmp 0x1400c358b
lea rcx, [0x1402a5440]
call fcn.14000123b
xor edi, edi
mov eax, edi
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1402a53e0]
jmp 0x1400c35b1
lea rcx, [0x1402a5380]
call fcn.14000123b
jmp 0x1400c3589
lea rcx, [0x1402a5320]
jmp 0x1400c35b1
Function at 0x1400f51b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x20
mov dword [rsp + 0x14], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 0x18], rcx
mov eax, dword [rsp + 0x14]
mov dword [rsp + 8], eax
mov dword [rsp + 4], 0
mov eax, dword [rsp + 4]
cmp eax, dword [rsp + 0x10]
jae 0x1400f522c
imul eax, dword [rsp + 8], 0x41c64e6d
add eax, 0x3039
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0x7fff
and eax, 0xff
mov dword [rsp + 0xc], eax
mov rax, qword [rsp + 0x18]
mov ecx, dword [rsp + 4]
movsx eax, byte [rax + rcx]
xor eax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 4]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 4]
add eax, 1
mov dword [rsp + 4], eax
jmp 0x1400f51d2
add rsp, 0x20
ret

Function at 0x1400fbcf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rsi, rdx
lea rdx, [rsp + 0x20]
call fcn.140146510
movdqa xmm1, xmmword [str.6666666666666666_]
mov ebx, 0x10
movdqa xmm0, xmmword [rsp + 0x20]
mov edi, 4
pxor xmm0, xmm1
mov ecx, ebx
movdqa xmmword [rsp + 0x40], xmm0
mov edx, edi
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm1
nop
movzx eax, byte [rsp + rcx + 0x20]
xor byte [rsp + rcx + 0x40], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400fbd50
lea rcx, [rbp - 0x50]
call fcn.1401464d0
mov r8d, 0x40
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140145760
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.140146510
movdqa xmm0, xmmword [0x14021a260]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
pxor xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
movzx eax, byte [rsp + rbx + 0x20]
xor byte [rsp + rbx + 0x40], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x1400fbdb0
lea rcx, [rbp - 0x50]
call fcn.1401464d0
lea r8d, [rdi + 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140145760
lea rdx, [rbp - 0x6c]
lea rcx, [rbp - 0x50]
call fcn.140146510
movaps xmm0, xmmword [rbp - 0x80]
lea r11, [rsp + 0x130]
movaps xmm1, xmmword [rbp - 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret