joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005190
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], r9
mov rdi, r8
lea r9, [rsp + 0x80]
mov dword [rsp + 0x20], 0x40
lea r8, [0x1400918fa]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1400052d6
mov qword [rsp + 0xd8], rbp
lea r8, [rsp + 0x40]
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0x60]
movabs rsi, 0xfed10f813751d653
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x80]
movabs rbp, 0x9d3a2528c60e9f6
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbp
movabs r14, 0x9d3a2528c60e9da
vmovdqu xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x30], r14
vpxor xmm1, xmm0, xmmword [rsp + 0x30]
vmovdqu xmmword [rsp + 0x60], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x1400052b0
mov qword [rsp + 0xd0], rbx
xor ebx, ebx
nop dword [rax]
cmp rbx, 4
jge 0x1400052a8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x40]
vcvtsd2ss xmm1, xmm0, xmm0
vmovss dword [rdi + rbx*4], xmm1
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x70]
vmovdqu xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x50], rbp
xor ecx, ecx
mov qword [rsp + 0x58], rsi
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vmovdqu xmmword [rsp + 0x70], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
inc rbx
test rax, rax
jne 0x140005250
mov rbx, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xe8]
mov eax, 1
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
xor eax, eax
add rsp, 0xc0
pop rdi
ret
Function at 0x14000ded0
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 case.default.0x14000def1
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 0x14000df1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000df20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000df79
test ecx, ecx
jle 0x14000df59
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 0x14000df79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000df79
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
cmp eax, dword [rdx]
mov edi, 0x93160b0b
add ah, byte [rbp + 0x6330306]
invalid
Function at 0x14000dfa0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000dfd1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000dfe8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e00b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000e00d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000e049
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000e0de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000e084
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 0x14000e0be
nop dword [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 0x14000e0de
cmp rbx, rax
ja 0x14000e090
test rbx, rbx
je 0x14000e0de
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub eax, 0xb141416
and dword [rsi], edx
sbb dword [rbx], eax
add ecx, dword [rbx]
add cl, byte [rdx]
invalid
Function at 0x14000e520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000e544
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000e57b
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x14000e57b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x14000e6ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000e5be
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 0x14000e5e9
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
cmove edi, ecx
mov eax, edi
jmp 0x14000e6b1
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
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 0x14000e65e
sub eax, 1
je 0x14000e65e
cmp eax, 2
jne 0x14000e6ac
movsx ecx, byte [rsp + 0x40]
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
cmove edi, ecx
mov eax, edi
jmp 0x14000e6b1
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14000e68f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000e6ac
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000e6b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000ea00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000eac9
cmp byte [rcx + 0x71], 0
je 0x14000eac9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000eabc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
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 0x14000ea78
sub eax, 1
je 0x14000ea7c
cmp eax, 2
jne 0x14000eabc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14000eaaa
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000eabc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x140010080
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x80
movabs rdx, 0x9d3a2528c60e9f6
movabs rcx, 0xfed10f813751d653
mov qword [rsp + 0x38], rcx
movabs rax, 0xfed10f814e30ba21
mov qword [rsp + 0x58], rax
movabs r8, 0x6ca5ed3eed048cbb
mov qword [rsp + 0x30], rdx
movabs rax, 0x62b095c991c5d98
vmovdqu xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x8db063c24e30ba21
mov qword [r11 - 0x20], rax
movabs rax, 0x62b095c991c5deb
mov qword [rsp + 0x38], rcx
movabs rcx, 0xc8d55a8be232ad1d
mov qword [r11 - 0x18], rax
mov rax, qword [0x14014ada8]
mov qword [r11 - 0x10], rcx
mov qword [rsp + 0x50], r8
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vmovdqu xmmword [rsp + 0x50], xmm1
mov qword [r11 - 0x28], r8
vmovups ymm1, ymmword [rsp + 0x60]
vmovups ymmword [rsp + 0x60], ymm1
vmovdqu xmm2, xmmword [rsp + 0x70]
mov qword [rsp + 0x30], rdx
lea rdx, [r11 - 0x38]
vpxor xmm1, xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
lea rcx, [r11 - 0x28]
vpxor xmm0, xmm2, xmmword [rsp + 0x40]
vmovdqu xmmword [rsp + 0x70], xmm0
vmovdqu xmmword [rsp + 0x60], xmm1
vzeroupper
call rax
xor ecx, ecx
mov qword [rsp + 0x90], 0
mov rsi, rax
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x90]
lea r9, [0x140091860]
mov qword [rsp + 0x20], rax
lea rcx, [0x140091870]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword gs:[0x60]
mov r14d, eax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140010247
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140010247
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140010242
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140010220
cmp r8d, 0xf50944d9
je 0x14001024c
test r9d, r9d
jne 0x140010200
mov rcx, qword [rcx]
jmp 0x1400101d0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x14014ade8]
add rax, r10
mov rcx, rsi
call rax
mov ecx, dword [0x14014ade8]
mov r8b, 1
mov rdx, rsi
call fcn.14000f9c0
test r14d, r14d
jne 0x1400102a4
mov rcx, qword [rsp + 0x90]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400102d0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x80
movabs rdx, 0x9d3a2528c60e9f6
movabs rcx, 0xfed10f813751d653
mov qword [rsp + 0x38], rcx
movabs rax, 0xfed10f814e30ba21
mov qword [rsp + 0x58], rax
movabs r8, 0x6ca5ed3eed048cbb
mov qword [rsp + 0x30], rdx
movabs rax, 0x62b095c991c5d98
vmovdqu xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x8db063c24e30ba21
mov qword [r11 - 0x20], rax
movabs rax, 0x62b095c991c5deb
mov qword [rsp + 0x38], rcx
movabs rcx, 0xc8d55a8be232ad1d
mov qword [r11 - 0x18], rax
mov rax, qword [0x14014ada8]
mov qword [r11 - 0x10], rcx
mov qword [rsp + 0x50], r8
vpxor xmm1, xmm0, xmmword [rsp + 0x50]
vmovdqu xmmword [rsp + 0x50], xmm1
mov qword [r11 - 0x28], r8
vmovups ymm1, ymmword [rsp + 0x60]
vmovups ymmword [rsp + 0x60], ymm1
vmovdqu xmm2, xmmword [rsp + 0x70]
mov qword [rsp + 0x30], rdx
lea rdx, [r11 - 0x38]
vpxor xmm1, xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
lea rcx, [r11 - 0x28]
vpxor xmm0, xmm2, xmmword [rsp + 0x40]
vmovdqu xmmword [rsp + 0x70], xmm0
vmovdqu xmmword [rsp + 0x60], xmm1
vzeroupper
call rax
xor ecx, ecx
mov qword [rsp + 0x90], 0
mov rsi, rax
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x90]
lea r9, [0x140091860]
mov qword [rsp + 0x20], rax
lea rcx, [0x140091870]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword gs:[0x60]
mov r14d, eax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140010497
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140010497
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rax, [rbx + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140010492
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140010470
cmp r8d, 0xf50944d9
je 0x14001049c
test r9d, r9d
jne 0x140010450
mov rcx, qword [rcx]
jmp 0x140010420
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rdx, [0x14014ade8]
add rax, r10
mov rcx, rsi
call rax
mov ecx, dword [0x14014ade8]
xor r8d, r8d
mov rdx, rsi
call fcn.14000f9c0
test r14d, r14d
jne 0x1400104f4
mov rcx, qword [rsp + 0x90]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14003bbd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003d100
mov ecx, 8
call fcn.14008b4a4
lea rcx, [rsp + 0x50]
xor ebx, ebx
mov r9, rax
lea r8, [0x14003be40]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003bdb7
cmp dword [rsp + 0x38], ebx
je 0x14003bdab
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003bdab
vpxor xmm0, xmm0, xmm0
lea ecx, [rbx + 8]
vmovdqa xmmword [rsp + 0x30], xmm0
call fcn.14008b4a4
lea rcx, [rsp + 0x50]
mov r9, rax
lea r8, [0x14003be70]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003bd9b
cmp dword [rsp + 0x38], ebx
je 0x14003bd8f
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003bd8f
vpxor xmm0, xmm0, xmm0
lea ecx, [rbx + 8]
vmovdqa xmmword [rsp + 0x30], xmm0
call fcn.14008b4a4
lea rcx, [rsp + 0x50]
mov r9, rax
lea r8, [0x14003bea0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003bd7f
cmp dword [rsp + 0x38], ebx
je 0x14003bd73
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003bd73
lea rcx, [rsp + 0x50]
call fcn.14003cdf0
lea rcx, [rbp + 0xc0]
call fcn.1400015a0
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
lea rcx, [rsp + 0x58]
call fcn.1400015a0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14003f060
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14003f0bd
lea rbx, [0x140093320]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14003f0a4
cmp r10, 2
jb 0x14003f0a4
cmp byte [r9], r8b
jne 0x14003f0a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14003f080
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003f0ff
lea rbx, [0x140093320]
cmp r8b, 0x23
jne 0x14003f0e3
cmp byte [r9], r8b
jne 0x14003f0e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14003f0d0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14003f3f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
xor edx, edx
mov rsi, r9
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x14003f603
mov qword [r11 - 0x18], r13
lea r13, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x14003f44e
cmp r8, rsi
jae 0x14003f5e0
movzx edx, byte [r8]
test dl, dl
je 0x14003f5de
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + r13 + 0x93020]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x14003f482
movsxd rcx, ebx
add rcx, r8
xor ebp, ebp
lea rax, [r8 + 1]
cmp r8, rcx
cmovb ebp, edx
cmp rax, rcx
jae 0x14003f499
movzx r12d, byte [rax]
jmp 0x14003f49c
xor r12b, r12b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x14003f4ab
movzx r15d, byte [rax]
jmp 0x14003f4ae
xor r15b, r15b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x14003f4bd
movzx r14d, byte [rax]
jmp 0x14003f4c0
xor r14b, r14b
lea r11, [r9*4]
movzx eax, bpl
mov ecx, dword [r11 + r13 + 0x98f18]
and ecx, eax
movzx r9d, r12b
shl ecx, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r15b
or ecx, eax
movzx r10d, r14b
shl ecx, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ecx, eax
mov eax, r10d
and eax, 0x3f
shr r10d, 2
or r10d, edx
shl ecx, 6
or ecx, eax
shr r10d, 2
mov eax, dword [r11 + r13 + 0x93008]
or r10d, r9d
shrx r13d, ecx, eax
shr r10d, 2
lea r9, [0x140000000]
cmp r13d, dword [r11 + r9 + 0x92ff0]
sbb eax, eax
xor edx, edx
and eax, 0x40
mov ecx, edx
or r10d, eax
mov eax, r13d
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove ecx, eax
mov eax, edx
or r10d, ecx
mov ecx, 0x100
cmp r13d, 0xffff
cmova eax, ecx
or r10d, eax
mov eax, dword [r11 + r9 + 0x98f00]
xor r10d, 0x2a
sarx ecx, r10d, eax
test ecx, ecx
je 0x14003f5bd
test r14b, r14b
mov eax, edx
mov ecx, edx
mov r13d, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, edx
test r12b, r12b
setne al
add ecx, eax
mov eax, edx
test bpl, bpl
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], r13w
add rdi, 2
movsxd rax, ebx
lea r13, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x14003f440
jmp 0x14003f5e0
xor edx, edx
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], dx
test rax, rax
je 0x14003f618
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14003f630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push r13
sub rsp, 0x18
mov qword [rsp + 0x30], rbx
lea r9, [0x140000000]
mov qword [rsp + 0x38], rbp
mov rsi, rdx
mov qword [rsp + 0x40], rdi
xor r13d, r13d
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
test rsi, rsi
je 0x14003f670
cmp rcx, rsi
jae 0x14003f7f2
movzx r8d, byte [rcx]
test r8b, r8b
je 0x14003f7f2
xor edi, edi
mov eax, r8d
shr rax, 3
mov rdx, rsi
movsx r9, byte [rax + r9 + 0x93020]
test r9d, r9d
sete dil
add edi, r9d
test rsi, rsi
jne 0x14003f6a7
movsxd rdx, edi
add rdx, rcx
xor ebp, ebp
lea rax, [rcx + 1]
cmp rcx, rdx
cmovb ebp, r8d
cmp rax, rdx
jae 0x14003f6bf
movzx r12d, byte [rax]
jmp 0x14003f6c2
xor r12b, r12b
lea rax, [rcx + 2]
cmp rax, rdx
jae 0x14003f6d1
movzx r15d, byte [rax]
jmp 0x14003f6d4
xor r15b, r15b
lea rax, [rcx + 3]
cmp rax, rdx
jae 0x14003f6e3
movzx r14d, byte [rax]
jmp 0x14003f6e6
xor r14b, r14b
lea rbx, [r9*4]
movzx eax, bpl
lea r8, [0x140000000]
movzx r9d, r15b
mov edx, dword [rbx + r8 + 0x98f18]
and edx, eax
movzx r10d, r12b
shl edx, 6
mov eax, r10d
and eax, 0x3f
movzx r11d, r14b
or edx, eax
and r10d, 0xc0
shl edx, 6
mov eax, r9d
and eax, 0x3f
and r9d, 0xc0
or edx, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, r9d
shl edx, 6
or edx, eax
shr r11d, 2
mov eax, dword [rbx + r8 + 0x93008]
lea r9, [0x140000000]
shrx r8d, edx, eax
or r11d, r10d
shr r11d, 2
cmp r8d, dword [rbx + r9 + 0x92ff0]
sbb eax, eax
xor edx, edx
and eax, 0x40
or r11d, eax
mov eax, r8d
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
xor eax, eax
or r11d, edx
mov edx, 0x100
cmp r8d, 0xffff
cmova eax, edx
or r11d, eax
mov eax, dword [rbx + r9 + 0x98f00]
xor r11d, 0x2a
sarx edx, r11d, eax
test edx, edx
je 0x14003f7e4
xor edx, edx
test r14b, r14b
setne dl
xor eax, eax
test r15b, r15b
setne al
add edx, eax
xor eax, eax
test r12b, r12b
setne al
add edx, eax
xor eax, eax
test bpl, bpl
setne al
add edx, eax
cmp edi, edx
cmovl edx, edi
mov edi, edx
movsxd rax, edi
add rcx, rax
inc r13d
jmp 0x14003f662
mov r15, qword [rsp]
mov eax, r13d
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x18
pop r13
pop rsi
ret