joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401da170
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401da17d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401da18d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401da175
lea eax, [rcx + 1]
jmp 0x1401da19b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401da1ae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401da194
sub eax, 3
jb 0x1401da1ce
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1401da21d
sar eax, 1
movsxd rbp, eax
jb 0x1401da204
jmp 0x1401da1dc
add ebx, ebx
jne 0x1401da1da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401da204
inc ecx
add ebx, ebx
jne 0x1401da1ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1401da204
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1401da1fd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1401da1ec
add ecx, 2
jmp 0x1401da209
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1401da132
jmp 0x1401da17d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb4600
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401da269
cmp rsi, rcx
jae 0x1401da271
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401da250
cmp al, 0x8f
ja 0x1401da250
cmp byte [rsi - 2], 0xf
je 0x1401da256
sub al, 0xe8
cmp al, 1
ja 0x1401da23a
cmp rsi, rcx
jae 0x1401da271
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1401da240
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401da271
lodsb al, byte [rsi]
jmp 0x1401da250
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1d7000]
mov eax, dword [rdi]
or eax, eax
je 0x1401da2ce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1da000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401da27e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1401da2c8
mov qword [rbx], rax
add rbx, 8
jmp 0x1401da29e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1401da308
cmp al, 0xef
ja 0x1401da2fa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1401da2da
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1401da2e9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1401da387], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401da387
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401da377
sub rsp, 0xffffffffffffff80
jmp 0x140018820
Function at 0x140003bd0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140003bf8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140003c1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003c20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003c79
test ecx, ecx
jle 0x140003c59
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140003c79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003c79
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140003ca0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140003cc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140003cd8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140003cf4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003cf6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003d32
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140003dce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140003d6d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140003dae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140003dce
cmp rbx, rax
ja 0x140003d80
test rbx, rbx
je 0x140003dce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140004230
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000425d
xor eax, eax
jmp 0x1400043c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004297
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004297
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 0x1400043c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400043bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400042da
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 0x140004305
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 0x1400043c1
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 0x140004374
sub eax, 1
je 0x140004374
cmp eax, 2
jne 0x1400043bc
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 0x1400043c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400043a2
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 0x1400043bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400043c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c2880
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

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

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140004e23
cmp byte [rcx + 0x71], 0
je 0x140004e23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140004e1f
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 0x140004de4
sub eax, 1
je 0x140004de8
cmp eax, 2
jne 0x140004e1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c2880
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140004e16
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 0x140004e1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140004dcc
xor al, al
jmp 0x140004dcc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400c2880
add rsp, 0x60
pop rbx
ret
Function at 0x14000b480
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 0x14000b54c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000b54c
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 0x14000b565
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 0x14000b53c
cmp byte [rax], 0x5c
jne 0x14000b536
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000b536
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000b522
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000b533
test r8b, 0x10
jne 0x14000b536
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000b536
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140006e10
test edi, edi
jne 0x14000b4a0
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.140006e00
int3
Function at 0x1400315c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x140031736
mov rax, qword [0x1400e83e8]
test rax, rax
je 0x1400315f7
call rax
mov ecx, edi
shl rcx, 4
call fcn.14002cbc0
mov rcx, qword [0x1400e83f0]
mov rdi, rax
test rcx, rcx
je 0x140031613
call rcx
test rdi, rdi
je 0x140031736
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.14002d010
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x1400e5420]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x140031721
lea r11, [0x1400d0630]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x1400316a1
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x140031680
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x1400316f9
mov eax, dword [r8]
test eax, eax
je 0x1400316c1
mov rdx, qword [r8 + 8]
jmp 0x1400316c4
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x1400316f9
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400316ef
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x140031715
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x140031715
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14003170d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x140031670
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140031750
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x1400d0630]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x1400317bd
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x1400317a2
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x140031782
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x1400317c4
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x140031830
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x140031815
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x140031815
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x1400317f0
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x140031842
mov r11, qword [r11]
test ebx, ebx
jne 0x1400317d0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140031860
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x48]
mov rbx, rcx
call fcn.140031750
mov rcx, rax
test rax, rax
je 0x14003190b
mov rdi, qword [rax + 0x10]
test rbp, rbp
jne 0x1400318fb
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x1400318a9
mov qword [rdx], rax
jmp 0x1400318ad
mov qword [rbx + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400318bd
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400318e0
mov edx, dword [rsp + 0x48]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x1400318de
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.14002d010
add dword [rbx + 4], 0xffffffff
jne 0x140031903
mov rcx, rbx
call fcn.1400314d0
mov rax, rdi
jmp 0x140031a10
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, rdi
jmp 0x140031a10
test rbp, rbp
je 0x140031a0e
mov ecx, 0x20
call fcn.14002cbc0
mov rdi, rax
test rax, rax
jne 0x14003192e
mov rax, rbp
jmp 0x140031a10
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], rbp
mov edx, dword [rbx + 4]
inc edx
mov dword [rbx + 4], edx
cmp edx, 0xa
jb 0x140031994
mov eax, dword [rbx]
add eax, eax
cmp edx, eax
jbe 0x140031994
add edx, edx
mov rcx, rbx
call fcn.1400315c0
test eax, eax
je 0x140031994
movzx ecx, byte [rsi]
xor eax, eax
test cl, cl
je 0x14003198e
lea r8, [0x1400d0630]
nop dword [rax]
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x140031970
xor edx, edx
div dword [rbx]
jmp 0x140031998
mov edx, dword [rsp + 0x48]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400319ee
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x1400319ee
mov eax, dword [rcx]
test eax, eax
je 0x1400319b8
mov rdx, qword [rcx + 8]
jmp 0x1400319ba
xor edx, edx
inc eax
mov qword [rcx + 8], rdi
mov dword [rcx], eax
test rdx, rdx
je 0x1400319ee
mov qword [rdi], rdx
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x1400319e4
mov qword [rax], rdi
mov qword [rdx + 8], rdi
jmp 0x140031a0e
mov qword [rbx + 8], rdi
mov qword [rdx + 8], rdi
jmp 0x140031a0e
mov rax, qword [rbx + 8]
mov qword [rdi], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140031a02
mov qword [rax + 8], rdi
mov qword [rdi + 8], 0
mov qword [rbx + 8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14005f470
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.14002cbc0
mov rbx, rax
test rax, rax
jne 0x14005f4b2
lea eax, [rbx + 7]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp dword [0x1400e53e4], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
jne 0x14005f4cf
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
jmp 0x14005f508
lea rsi, [rax + 8]
mov qword [rax + 0x10], r15
lea rdi, [rax + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14002fab0]
mov qword [rax + 0x18], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x14005f518
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x14005f535
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x14006a070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov r14, qword [rcx + 0x10]
xor r10d, r10d
mov rbx, rcx
mov esi, r9d
add rcx, 0x88
mov ebp, r8d
nop dword [rax]
cmp dword [rcx + 0xc], 0
jle 0x14006a0b2
cmp dword [rcx], esi
jne 0x14006a0b2
movsx eax, word [rcx + 4]
cmp eax, ebp
je 0x14006a108
inc r10d
add rcx, 0x14
cmp r10d, 0xa
jl 0x14006a0a0
mov qword [rsp + 0x40], rdi
mov r9d, ebp
mov edi, dword [rsp + 0x60]
mov r8d, esi
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.140069f80
movzx r8d, byte [rsp + 0x68]
test r8b, r8b
je 0x14006a1af
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x14006a1bf
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], r8b
jmp 0x14006a1bf
mov eax, dword [rbx + 0x74]
mov dword [rcx + 0x10], eax
inc dword [rbx + 0x74]
mov eax, dword [rcx + 0xc]
cmp dword [rbx + 0x94], eax
jne 0x14006a123
mov byte [rbx + 0x8e], 0
cmp dword [rbx + 0xa8], eax
jne 0x14006a132
mov byte [rbx + 0xa2], 0
cmp dword [rbx + 0xbc], eax
jne 0x14006a141
mov byte [rbx + 0xb6], 0
cmp dword [rbx + 0xd0], eax
jne 0x14006a150
mov byte [rbx + 0xca], 0
cmp dword [rbx + 0xe4], eax
jne 0x14006a15f
mov byte [rbx + 0xde], 0
cmp dword [rbx + 0xf8], eax
jne 0x14006a16e
mov byte [rbx + 0xf2], 0
cmp dword [rbx + 0x10c], eax
jne 0x14006a17d
mov byte [rbx + 0x106], 0
cmp dword [rbx + 0x120], eax
jne 0x14006a18c
mov byte [rbx + 0x11a], 0
cmp dword [rbx + 0x134], eax
jne 0x14006a19b
mov byte [rbx + 0x12e], 0
cmp dword [rbx + 0x148], eax
jne 0x14006a1aa
mov byte [rbx + 0x142], 0
mov eax, dword [rcx + 0xc]
jmp 0x14006a1c6
mov r9d, edi
mov r8d, ebp
mov edx, esi
mov rcx, rbx
call fcn.140069850
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14006c320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x28
mov r12d, r8d
mov rdi, rdx
mov rsi, rcx
test rcx, rcx
je 0x14006c522
test rdx, rdx
je 0x14006c522
mov r11d, dword [rcx + 4]
mov r9d, dword [rdx + 4]
mov ecx, r9d
mov qword [rsp + 0x58], rbp
or ecx, r11d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], ecx
bt ecx, 0xa
jae 0x14006c3ab
and r9d, r11d
bt r9d, 0xa
jae 0x14006c491
mov eax, dword [rdx + 8]
cmp dword [rsi + 8], eax
jne 0x14006c491
xor eax, eax
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx r10d, byte [rsi]
cmp r10b, byte [rdx]
je 0x14006c3f0
cmp r10b, 0x5f
jne 0x14006c3c8
mov rcx, qword [rsi + 0x10]
call fcn.14006c320
cmp eax, 2
jl 0x14006c3e9
cmp byte [rdi], 0x5f
jne 0x14006c491
mov rdx, qword [rdi + 0x10]
mov r8d, r12d
mov rcx, rsi
call fcn.14006c320
cmp eax, 2
jge 0x14006c491
mov eax, 1
jmp 0x14006c38d
lea eax, [r10 + 0x66]
test al, 0xfd
je 0x14006c43c
mov rax, qword [rsi + 8]
test rax, rax
je 0x14006c43c
mov r8, qword [rdx + 8]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14006c423
inc rax
test ecx, ecx
jne 0x14006c410
test edx, edx
je 0x14006c438
xor ebx, ebx
cmp r10b, 0x5f
setne bl
lea eax, [rbx + 1]
jmp 0x14006c38d
mov ecx, dword [rsp + 0x50]
xor r9d, r11d
test r9b, 0x10
jne 0x14006c491
bt ecx, 0xe
jb 0x14006c38b
bt ecx, 0xb
jb 0x14006c491
mov rdx, qword [rdi + 0x10]
mov r8d, r12d
mov rcx, qword [rsi + 0x10]
call fcn.14006c320
test eax, eax
jne 0x14006c491
mov rdx, qword [rdi + 0x18]
mov r8d, r12d
mov rcx, qword [rsi + 0x18]
call fcn.14006c320
test eax, eax
jne 0x14006c491
mov r15, qword [rsi + 0x20]
xor ebx, ebx
mov r13, qword [rdi + 0x20]
test r15, r15
jne 0x14006c49b
test r13, r13
je 0x14006c4e6
mov eax, 2
jmp 0x14006c38d
test r13, r13
je 0x14006c491
mov eax, dword [r15]
cmp eax, dword [r13]
jne 0x14006c491
mov ebp, ebx
test eax, eax
jle 0x14006c4e6
mov r14, rbx
mov rdx, qword [r13 + 8]
mov rcx, qword [r15 + 8]
movzx eax, byte [rdx + r14 + 0x18]
cmp byte [rcx + r14 + 0x18], al
jne 0x14006c491
mov rdx, qword [rdx + r14]
mov r8d, r12d
mov rcx, qword [rcx + r14]
call fcn.14006c320
test eax, eax
jne 0x14006c491
inc ebp
add r14, 0x28
cmp ebp, dword [r15]
jl 0x14006c4b2
test dword [rsp + 0x50], 0x2000
jne 0x14006c38b
movzx eax, word [rdi + 0x30]
cmp word [rsi + 0x30], ax
jne 0x14006c491
mov eax, dword [rsi + 0x2c]
mov ecx, dword [rdi + 0x2c]
cmp eax, ecx
je 0x14006c38b
cmp eax, r12d
jne 0x14006c491
mov eax, 2
test ecx, ecx
cmovns ebx, eax
mov eax, ebx
jmp 0x14006c38d
xor ebx, ebx
mov eax, 2
cmp rdi, rsi
cmove eax, ebx
add rsp, 0x28
pop r12
pop rdi
pop rsi
pop rbx
ret