joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065130
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, r8
mov rbp, rdx
mov r8, r9
xor edx, edx
mov rdi, rcx
call fcn.1400683c0
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14006519b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140065196
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140065170
cmp ebx, 0xffffffff
je 0x1400651b3
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movsxd rax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_read_data
lea r8, [0x140497808]
lea rcx, [rsp + 0x20]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14006790c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x12e8]
mov eax, 0x13e0
call fcn.1402148b0
sub rsp, rax
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
and dword [rsp + 0x20], 0
mov sil, dl
mov rdi, rcx
call sub.MSVCP140.dll__Query_perf_frequency
mov rbx, rax
call sub.MSVCP140.dll__Query_perf_counter
cmp rbx, 0x989680
jne 0x140067968
imul rax, rax, 0x64
jmp 0x140067986
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
or dword [rbp + 0x12c4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x44], eax
mov r8d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, r8
jb 0x14006799c
mov rbx, qword [rdi + 0x10]
lea r9, [rsp + 0x20]
mov dword [rsp + 0x40], r8d
mov rcx, rbx
mov r8d, 4
movsxd rdx, dword [rbx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140067adf
lea rcx, [rsp + 0x40]
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 2], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 8], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 6], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x16], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x12], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x14], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x18], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0xc], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0xa], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x24], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x26], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x1a], ax
call fcn.14002fcdc
lea rcx, [rsp + 0x40]
mov word [rbx + 0x10], ax
call fcn.14002fcdc
mov word [rbx + 0xe], ax
test sil, sil
je 0x140067ac0
movsxd r8, dword [rbx + 0x3c]
xor edx, edx
mov rcx, qword [rdi + 0x10]
sub r8, 0x40
add rcx, 0x40
call sub.VCRUNTIME140.dll_memset
movsxd rdx, dword [rbx + 0x3c]
lea r9, [rsp + 0x20]
mov rcx, qword [rdi + 0x10]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140067b07
mov al, 1
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.1402145d0
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x28]
call fcn.14002cc20
lea rdx, [0x14047ee10]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400683c0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rcx]
lea rdi, [rsp + 0x30]
mov r9d, edx
mov qword [rsp + 0x68], rax
xor r14d, r14d
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rsi, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
lea rbp, [rsp + 0x60]
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub ecx, eax
imul eax, ecx, 0x3e8
test r8, r8
cmovs rdi, r14
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, r14
mov dword [rsp + 0x34], eax
test r9d, r9d
mov r8, rsi
cmovne rbp, r14
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400684a2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14006849d
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140068473
cmp ebx, 0xffffffff
je 0x1400684ce
test ebx, ebx
je 0x140068500
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1402145d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_select_socket
lea r8, [0x140497808]
lea rcx, [rsp + 0x38]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x38]
call fcn.14002c7e8
lea rdx, [0x14047efd0]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140069238
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, r8
mov rbp, rdx
mov r8, r9
mov edx, 1
mov rdi, rcx
call fcn.1400683c0
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400692a6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1400692a1
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14006927b
cmp ebx, 0xffffffff
je 0x1400692be
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movsxd rax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_send_data
lea r8, [0x140497808]
lea rcx, [rsp + 0x20]
call fcn.14002d9d0
lea rdx, [0x14047ee70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14006c47c
Capabilities:
Read file on windows

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, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x14006c4aa
xor eax, eax
jmp 0x14006c591
cmp qword [rcx + 0x68], 0
je 0x14006c4bc
call 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]
jmp 0x14006c591
mov rdi, rsi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x14006c4fc
cmp rax, rsi
mov rbx, rsi
mov rcx, rbp
cmovb rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rbx
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rbp
add r14, rbx
sub rdi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
je 0x14006c58b
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp + 0x70]
cmp rax, rcx
jne 0x14006c536
mov rdx, qword [rbp + 0x88]
mov rcx, rbp
mov r9, qword [rbp + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, rdi
mov ebx, 0xfff
jmp 0x14006c566
mov r9, qword [rbp + 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 rdi, rax
add r14, rax
mov rcx, rdi
cmp rax, rbx
jne 0x14006c58b
cmp rdi, rbx
ja 0x14006c540
test rcx, rcx
je 0x14006c58b
mov r9, qword [rbp + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14006c5ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14006c5d6
call 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]
jmp 0x14006c646
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x14006c640
test rax, rax
jle 0x14006c620
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x14006c640
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14006c640
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400755f4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14007561b
and qword [r8], 0
call fcn.140075700
mov rbx, rax
test rax, rax
je 0x1400756e3
mov rcx, rax
call fcn.14007557c
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400756da
mov rax, qword [0x1406a2210]
test rax, rax
je 0x140075653
inc dword [rax + 0xec]
mov rdx, qword [0x1406a2220]
lea rcx, [rdi + rbp]
call qword [0x1404978b0]
mov rsi, rax
test rax, rax
je 0x1400756da
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x1400756b2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1406a2210]
test rax, rax
je 0x1400756a0
dec dword [rax + 0xec]
mov rdx, qword [0x1406a2220]
mov rcx, rsi
call qword [0x1404978b8]
jmp 0x1400756e3
test ebp, ebp
jle 0x1400756c4
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400756d5
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400756e5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14007596c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14007599a
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140224ec0]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x140075977
not r8d
mov eax, r8d
ret

Function at 0x1400759a4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400759fe
mov r11b, 0x23
lea rdi, [0x140224ec0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400759e8
cmp rdx, 2
jb 0x1400759e8
cmp byte [r10], r11b
jne 0x1400759e8
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1400759c6
jmp 0x140075a3f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140075a3f
mov r11b, 0x23
lea rdi, [0x140224ec0]
cmp dl, r11b
jne 0x140075a23
cmp byte [r10], r11b
jne 0x140075a23
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140075a11
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140076f54
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5370], 0
lea rbx, [rcx + 0x5378]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140076fed
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140076fa5
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14008152c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140080c18
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5370]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1406a2218]
movsxd r8, eax
mov rax, qword [rdi + 0x5380]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140076ff5
mov rcx, rbx
call fcn.140080c18
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007d494
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1406a2210]
mov rbx, rcx
and dword [rax + 0x530c], 0
test rcx, rcx
je 0x14007d4fd
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14007d508
lea rdx, [0x140225ef8]
mov rcx, rbx
mov rdi, rax
call fcn.140075700
mov rbx, rax
test rax, rax
je 0x14007d4fd
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bb2c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.1402148b0
sub rsp, rax
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor edi, edi
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
or dword [rsp + 0x13b4], 0xffffffff
lea ecx, [rdi + 1]
mov edx, eax
mov dword [rsp + 0x34], eax
mov r8d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, r8
jb 0x1400bb310
mov ecx, reloc.WS2_32.dll_recv
mov dword [rsp + 0x30], r8d
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
call fcn.140213e68
mov qword [rbx], rax
mov rcx, rax
add rax, 0x10
xorps xmm0, xmm0
mov qword [rbx + 0x10], rax
movups xmmword [rcx], xmm0
lea rsi, [rcx + 0x10]
mov qword [rbx + 8], rsi
mov rdi, qword [rbx]
jmp 0x1400bb383
mov r9d, 0xff
lea rdx, [rsp + 0x30]
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.14001e164
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x1400bb366
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1402145d0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400ccf20
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rcx
mov rbx, rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
and dword [0x1406a2350], 0
lea rcx, [0x1400cc9dc]
and dword [0x1406a2354], 0
xorps xmm0, xmm0
and qword [0x1406a2388], 0
xorps xmm1, xmm1
mov qword [0x1406a2348], rcx
lea rcx, [0x1406a2340]
mov dword [0x1406a2340], 0x50
mov dword [0x1406a2344], 0x40
mov qword [0x1406a2358], rax
movdqa xmmword [0x1406a2360], xmm0
movdqa xmmword [0x1406a2370], xmm1
mov qword [0x1406a2380], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
and qword [rsp + 0x58], 0
mov r9d, 0x80000000
cvttss2si ecx, dword [0x1405151f4]
mov rax, qword [0x1406a2358]
mov r8, rdi
mov qword [rsp + 0x50], rax
mov eax, 0x64
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
cvttss2si edx, dword [0x1405151f0]
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], edx
mov rdx, qword [0x1406a2380]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
movdqa xmm0, xmmword [0x14022a760]
lea rdx, [rsp + 0x60]
mov rcx, rax
mov qword [0x1406a2330], rax
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
call fcn.1400cd1bc
mov rcx, qword [0x1406a2330]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1406a2330]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402145d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x1400cd074
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov ecx, 1
call fcn.140213e68
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140098198]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400cd0e4
cmp dword [rsp + 0x38], 0
je 0x1400cd0d9
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400cd0d9
add rsp, 0x58
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
and dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140122c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.140122670
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140122c70
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x140122cf3
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x140122c95
mov dword [rsp + 0x28], 1
jmp 0x140122c9d
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x140122cae
mov dword [rsp + 0x2c], 0
jmp 0x140122cb6
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140122cd9
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140122ab0
jmp 0x140122cee
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.140122ab0
jmp 0x140122c66
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.140122ab0
add rsp, 0x48
ret
Function at 0x140213d6c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, [0x14046e860]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140213df0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14046e760]
cmp byte [rcx + rax], 0
je 0x140213df0
dec r8
sub rdx, 1
jne 0x140213dd6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140214f28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140214f72
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140214f72
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140214f72
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140214f72
cmp dword [rcx + 0x84], 0xe
jbe 0x140214f72
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140214f74
xor al, al
add rsp, 0x28
ret
Function at 0x1406b56e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1406b570d
xor al, al
jmp 0x1406b586f
mov rax, qword [0x1406d66c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1406d66c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1406d66d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1406d66d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1406d66e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1406d66e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1406d66f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1406d66f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1406d6700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1406b5861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1406b57b9
mov r11d, 2
jmp 0x1406b57dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1406b57d3
mov r11d, 1
jmp 0x1406b57dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1406b5885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1406b5822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1406b583a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1406b584a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1406b5858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1406b57a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1406b586a