joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ad534
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ad57e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ad57e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ad57e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ad57e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ad57e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ad580
xor al, al
add rsp, 0x28
ret

Function at 0x1400b13a0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.14000b080
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400b1429
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400b145b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400b146f
lea rcx, [0x140101fb0]
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400b148b
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14000ae20
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x1400b148b
mov edx, 1
mov rcx, rdi
call fcn.14000ae20
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1400085e0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
lea rcx, str.chcp_1251_nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
lea rcx, [0x14000e99c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f3b0]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f3d0]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f420]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.LA__
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f4c0]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.LA_Test1.txt
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f530]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f570]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f598]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f5c8]
call fcn.140009d30
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x14000e99c]
sub eax, 0x31
je 0x140008735
sub eax, 1
je 0x1400086f2
cmp eax, 1
je 0x140008765
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140008600
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140005040
lea rcx, [0x14000e99c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f628]
call fcn.140009d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f668]
call fcn.140009d30
jmp 0x140008600
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140002bb0
lea rcx, [0x14000e99c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f5f0]
call fcn.140009d30
jmp 0x140008600
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000f690]
call fcn.140009d30
xor eax, eax
add rsp, 0x28
ret
Function at 0x140008be0
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 0x140008c08
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 0x140008c2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140008c30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140008c89
test ecx, ecx
jle 0x140008c69
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 0x140008c89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140008c89
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 0x140008cb0
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 0x140008cd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140008ce8
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 0x140008d04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008d06
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008d42
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 0x140008dde
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140008d7d
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 0x140008dbe
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 0x140008dde
cmp rbx, rax
ja 0x140008d90
test rbx, rbx
je 0x140008dde
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 0x140009240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000926d
xor eax, eax
jmp 0x1400093d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400092a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400092a7
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 0x1400093d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400093cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400092ea
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 0x140009315
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 0x1400093d1
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 0x140009384
sub eax, 1
je 0x140009384
cmp eax, 2
jne 0x1400093cc
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 0x1400093d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400093b2
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 0x1400093cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400093d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000bc60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400097d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400098a3
cmp byte [rcx + 0x71], 0
je 0x1400098a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000989f
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 0x140009864
sub eax, 1
je 0x140009868
cmp eax, 2
jne 0x14000989f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bc60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140009896
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 0x14000989f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000984c
xor al, al
jmp 0x14000984c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000bc60
add rsp, 0x60
pop rbx
ret

Function at 0x14000b6ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000b6e6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000b6eb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000b734
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000e540]
cmp byte [rcx + rax], 0
je 0x14000b734
dec r8
sub rdx, 1
jne 0x14000b71a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000c65c
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140030230
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, r8
mov rsi, rcx
mov dword [rsp + 0x20], 0
call fcn.140003ddc
mov dword [rsp + 0x20], 1
mov rax, qword [rsi]
cmp qword [rax - 0x10], 0
je 0x14003032f
test rbx, rbx
je 0x14003032f
nop word [rax + rax]
mov edx, 0x2f
mov rcx, rbx
call fcn.1400014d8
mov rdi, rax
test rax, rax
je 0x14003029b
mov ecx, edi
sub ecx, ebx
jmp 0x1400302ab
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400302a2
test ecx, ecx
jle 0x14003031d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140004a3e
nop
mov rdx, rax
mov rcx, rsi
call fcn.140003ef9
nop
lea rcx, [rsp + 0x58]
call fcn.140003080
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140030313
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140030313
lea rcx, [rsp + 0x28]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rsi
call fcn.140003d73
nop
lea rcx, [rsp + 0x28]
call fcn.140003080
mov dl, 0x2f
mov rcx, rsi
call fcn.1400070a9
test rdi, rdi
je 0x14003032f
lea rbx, [rdi + 1]
test rbx, rbx
jne 0x140030280
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140001e3d
Capabilities:
Delete file

Disassembly:
jmp 0x140022120
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14015dda8]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea eax, [rdx - 0xac44]
mov edi, edx
mov rbx, rcx
cmp eax, 0x241bc
ja 0x140022287
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140022280
mov rdx, qword [rbx + 0x28]
test rdx, rdx
je 0x140022280
test r8d, r8d
je 0x14002227c
sub r8d, 1
je 0x140022235
sub r8d, 1
je 0x14002222b
cmp r8d, 1
jne 0x140022287
mov dword [rsp + 0x30], 0x72
lea r9d, [r8 + 0x2e]
mov r8, rdx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea rdx, str._s_c_s__05X.ml_c
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x180], rsi
call fcn.1400062cb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x68]
call fcn.1400038a0
test al, al
jne 0x1400221e3
lea rcx, [rsp + 0x40]
call fcn.140002563
mov rax, qword [rbx + 0x20]
lea rdx, str._s_c_s__05X.ml_c
mov r8, qword [rbx + 0x28]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x6e
mov r9d, 0x2f
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.1400062cb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x68]
call fcn.1400038a0
mov rsi, qword [rsp + 0x180]
jmp 0x14002226e
mov dword [rsp + 0x30], 0x72
jmp 0x14002223d
mov dword [rsp + 0x30], 0x6e
mov r8, rdx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea rdx, str._s_c_s__05X.ml_c
lea rcx, [rsp + 0x40]
mov r9d, 0x2f
call fcn.1400062cb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x68]
call fcn.1400038a0
test al, al
jne 0x14002227c
lea rcx, [rsp + 0x40]
call fcn.140002563
xor eax, eax
jmp 0x14002228c
mov eax, 1
jmp 0x14002228c
mov eax, 6
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003b70
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
Function at 0x1400022de
Capabilities:
Set registry value

Disassembly:
jmp 0x14003c080
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x50
mov rsi, r8
mov r14, rdx
mov rdx, rcx
xor edi, edi
movzx ecx, r9b
xor rcx, 1
sub rcx, 0x7fffffff
mov r8d, 0xf003f
call fcn.140003927
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x14003c0d0
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test eax, eax
jne 0x14003c127
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14003c10f
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
mov ecx, 4
call fcn.1400013de
test rax, rax
je 0x14003c143
mov edx, esi
mov rcx, rax
call fcn.14000148d
mov rdi, rax
mov qword [rsp + 0x30], rdi
lea rdx, [0x14014f6b8]
lea rcx, [rsp + 0x30]
call fcn.1400071e9
int3
Function at 0x140002de2
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400121b0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov esi, r8d
mov qword [rcx + 0x408], rbx
lea rax, vtable.MusicLab::CXFileReadBuff.0
mov qword [rcx], rax
mov rbp, rdx
mov qword [rcx + 0x410], rbx
mov rdi, rcx
mov qword [rcx + 0x418], rbx
mov qword [rcx + 0x420], rbx
test r8d, r8d
je 0x140012301
test rdx, rdx
je 0x140012301
cmp esi, 0x400
ja 0x140012212
lea rax, [rcx + 8]
jmp 0x14001221a
mov rcx, rsi
call fcn.1400044da
mov qword [rdi + 0x408], rax
cmp qword [rbp + 8], rbx
je 0x14001223b
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14001223b
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rdi + 0x410], rbp
lea r8, [rsp + 0x50]
mov rcx, qword [rbp + 8]
mov r9d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
mov rcx, rbx
cmovne rcx, qword [rsp + 0x50]
mov qword [rdi + 0x418], rcx
mov rdx, qword [rdi + 0x408]
test rdx, rdx
je 0x1400122b8
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400122b8
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
mov r8d, esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400122b8
cmp dword [rsp + 0x60], esi
jne 0x1400122b8
mov dword [rdi + 0x420], esi
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi + 0x410]
test rax, rax
je 0x1400122e0
cmp qword [rax + 8], rbx
je 0x1400122d9
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400122d9
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rdi + 0x410], rbx
mov rcx, qword [rdi + 0x408]
test rcx, rcx
je 0x140012301
lea rax, [rdi + 8]
cmp rcx, rax
je 0x1400122fa
call fcn.140002ffe
mov qword [rdi + 0x408], rbx
mov rbx, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002ed7
Capabilities:
Get common file path

Disassembly:
jmp 0x14002fbf0
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14015dda8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r10, rdx
mov rbx, rcx
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x69], 0
lea r9, [rbp - 0x69]
xor r8d, r8d
xor edx, edx
mov rcx, r10
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x14002fc44
mov rcx, rbx
call fcn.140005a15
jmp 0x14002fd5f
lea rcx, [rbp - 0x39]
call fcn.140005150
nop
mov r8, qword [rbp - 0x69]
mov r9, r8
cmp word [r8], 0
je 0x14002fc6b
nop dword [rax]
add r9, 2
cmp word [r9], 0
jne 0x14002fc60
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.140005637
nop
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x49]
test rdx, rdx
je 0x14002fcf6
lea rax, [rbp - 0x61]
cmp rcx, 0x10
cmovae rax, r8
cmp byte [rdx + rax - 1], 0x5c
je 0x14002fcf6
lea rax, [rbp - 0x61]
cmp rcx, 0x10
cmovae rax, r8
cmp byte [rdx + rax - 1], 0x2f
je 0x14002fcf6
cmp rdx, rcx
jae 0x14002fcdb
lea rax, [rdx + 1]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x61]
cmp rcx, 0x10
cmovae rax, r8
mov word [rax + rdx], 0x5c
jmp 0x14002fcee
mov r9b, 0x5c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x61]
call fcn.140004ae8
mov r8, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x49]
lea rdx, [rbp - 0x61]
cmp rcx, 0x10
cmovae rdx, r8
mov rcx, rbx
call fcn.140006587
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x14002fd42
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fd3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd7f
call fcn.140005943
mov qword [rbp - 0x51], 0
mov qword [rbp - 0x49], 0xf
mov byte [rbp - 0x61], 0
lea rcx, [rbp - 0x39]
call fcn.1400025d6
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140003b70
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rbp
ret
call fcn.140002d42
nop
int3

Function at 0x140002fb3
Capabilities:
Get geographical location

Disassembly:
jmp 0x140082b68
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.1400043cc
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x140082bb5
sub ecx, 1
je 0x140082bae
cmp ecx, 1
je 0x140082ba7
xor eax, eax
jmp 0x140082bba
mov eax, 3
jmp 0x140082bba
mov eax, 1
jmp 0x140082bba
mov eax, 2
add rsp, 0x28
ret
Function at 0x140003242
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14010e830
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14015dda8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140176f18]
xor r11d, r11d
lea rdi, [0x14011e1a4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x14010e8a0
mov rax, 0xfffffffffffffffe
jmp 0x14010e9ed
cmp word [r10 + 6], r11w
jne 0x14010e90f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14010e8ca
test r14, r14
je 0x14010e8bb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14010e9ed
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x14010e8d8
mov r8b, 2
jmp 0x14010e8f6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x14010e8e6
mov r8b, 3
jmp 0x14010e8f6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x14010e9e2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x14010e938
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14010e9e2
cmp bl, bpl
jb 0x14010e9e2
cmp bl, r8b
jae 0x14010e9e2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x14010e965
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14010e9e2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x14010e947
cmp r9, rbp
jae 0x14010e991
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x14010e894
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14010e9e2
cmp edx, 0x110000
jae 0x14010e9e2
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x14010e9e2
test r14, r14
je 0x14010e9d0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400062d5
jmp 0x14010e9ed
mov rdx, rsi
mov rcx, r10
call fcn.140007063
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003b70
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret