joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fbf4c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400fbf7c
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 0x1400fbff4
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400fbf93
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400fbf95
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400fbfee
test ecx, ecx
jle 0x1400fbfce
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 0x1400fbfee
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400fbfee
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
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400fc010
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400fc030
xor eax, eax
jmp 0x1400fc119
cmp qword [rcx + 0x68], 0
je 0x1400fc042
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 0x1400fc119
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400fc059
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400fc05b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400fc08d
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400fc113
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400fc0c4
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
mov ebx, 0xfff
jmp 0x1400fc0ee
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]
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x1400fc113
cmp rdi, rbx
ja 0x1400fc0cb
test rdi, rdi
je 0x1400fc113
mov r9, qword [rsi + 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 rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400fc62c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14015b040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400fc665
xor eax, eax
jmp 0x1400fc785
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400fc69f
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1400fc69f
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1400fc785
cmp qword [rbx + 0x80], 0
je 0x1400fc783
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400fc6da
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 0x1400fc6fb
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x1400fc780
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
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 0x1400fc749
sub eax, 1
je 0x1400fc749
cmp eax, 2
jne 0x1400fc783
movsx ecx, byte [rbp - 0x30]
jmp 0x1400fc6e7
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400fc774
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x1400fc783
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ff3d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400fc914
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14015b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400fc983
cmp byte [rcx + 0x71], 0
je 0x1400fc983
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400fc9d8
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 0x1400fc99d
sub eax, 1
je 0x1400fc9a1
cmp eax, 2
jne 0x1400fc9d8
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ff3d0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400fc9cf
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 0x1400fc9d8
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400fc985
xor al, al
jmp 0x1400fc985
Function at 0x1400fd670
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rdi, r8
mov rsi, rcx
test r8, r8
je 0x1400fd830
cmp qword [0x14015bf28], 0
jne 0x1400fd810
mov eax, 0xe
mov dword [rbp - 9], eax
movdqa xmm0, xmmword [0x140152540]
movdqu xmmword [rbp - 5], xmm0
xor edx, edx
test eax, eax
je 0x1400fd6d3
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 5], al
inc edx
mov eax, dword [rbp - 9]
cmp edx, eax
jb 0x1400fd6c3
mov byte [rbp + rax - 5], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x47], xmm1
lea rax, [rbp - 5]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400fd6f2
lea rdx, [rbp - 5]
lea rcx, [rbp + 0x37]
call fcn.140045328
nop
mov eax, 0xc
mov dword [rbp - 9], eax
movdqa xmm0, xmmword [0x140152450]
movdqu xmmword [rbp - 5], xmm0
xor edx, edx
test eax, eax
je 0x1400fd735
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 5], al
inc edx
mov eax, dword [rbp - 9]
cmp edx, eax
jb 0x1400fd725
mov byte [rbp + rax - 5], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
lea rax, [rbp - 5]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400fd74d
mov r8, rbx
lea rdx, [rbp - 5]
lea rcx, [rbp + 0x17]
call fcn.140045328
nop
lea rcx, [rbp + 0x17]
call fcn.1400fbac8
mov rdx, rax
lea r8, [rbp + 0x37]
mov rcx, rsi
call fcn.1400fda0c
mov qword [0x14015bf28], rax
mov ebx, 0x1000
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400fd7c5
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, rbx
jb 0x1400fd7c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fd7c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
movdqa xmm0, xmmword [0x140152420]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0xf
jbe 0x1400fd810
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, rbx
jb 0x1400fd80b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fd80b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
and qword [rbp + 0xf], 0
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400fe404
test al, al
je 0x1400fd830
mov rax, qword [rbp + 0xf]
jmp 0x1400fd832
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400fd84c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x1400fd870
xor al, al
jmp 0x1400fd9f9
cmp qword [0x14015bf30], 0
jne 0x1400fd9ee
mov eax, 0xa
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], 0x9aa19ea0
mov dword [rbp - 0x58], 0x83bb8f8c
mov dword [rbp - 0x54], 0xef8282
xor edx, edx
test eax, eax
je 0x1400fd8b1
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x5c], al
inc edx
mov eax, dword [rbp - 0x60]
cmp edx, eax
jb 0x1400fd8a1
mov byte [rbp + rax - 0x5c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x5c]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400fd8d0
lea rdx, [rbp - 0x5c]
lea rcx, [rbp - 0x28]
call fcn.140045328
nop
mov eax, 0xc
mov dword [rbp - 0x60], eax
movdqa xmm0, xmmword [0x140152450]
movdqu xmmword [rbp - 0x5c], xmm0
xor edx, edx
test eax, eax
je 0x1400fd913
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x5c], al
inc edx
mov eax, dword [rbp - 0x60]
cmp edx, eax
jb 0x1400fd903
mov byte [rbp + rax - 0x5c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea rax, [rbp - 0x5c]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400fd92b
mov r8, rbx
lea rdx, [rbp - 0x5c]
lea rcx, [rbp - 0x48]
call fcn.140045328
nop
lea rcx, [rbp - 0x48]
call fcn.1400fbac8
mov rdx, rax
lea r8, [rbp - 0x28]
mov rcx, rsi
call fcn.1400fda0c
mov qword [0x14015bf30], rax
mov ebx, 0x1000
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400fd9a3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rbx
jb 0x1400fd99e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fd99e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
movdqa xmm0, xmmword [0x140152420]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400fd9ee
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rbx
jb 0x1400fd9e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fd9e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
mov r9, rdi
mov rcx, rsi
call fcn.1400febf8
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fdce8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14015b040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14015bf38]
test rax, rax
je 0x1400fdd2c
cmp qword [0x14015bf58], 0
jne 0x1400fdef5
mov eax, 0x1d
mov dword [rbp - 0x49], eax
movdqa xmm0, xmmword [0x140152e50]
movdqu xmmword [rbp - 0x45], xmm0
movdqa xmm1, xmmword [0x140152460]
movdqu xmmword [rbp - 0x35], xmm1
xor edx, edx
test eax, eax
je 0x1400fdd64
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x45], al
inc edx
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x1400fdd54
mov byte [rbp + rax - 0x45], 0
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp - 0x45]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400fdd83
lea rdx, [rbp - 0x45]
lea rcx, [rbp - 1]
call fcn.140045328
nop
mov eax, 0xe
mov dword [rbp - 0x49], eax
movdqa xmm0, xmmword [0x140152530]
movdqu xmmword [rbp - 0x45], xmm0
xor edx, edx
test eax, eax
je 0x1400fddc6
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x45], al
inc edx
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x1400fddb6
mov byte [rbp + rax - 0x45], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x45]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400fddde
mov r8, rbx
lea rdx, [rbp - 0x45]
lea rcx, [rbp - 0x21]
call fcn.140045328
nop
lea rcx, [rbp - 0x21]
call fcn.1400fbac8
mov rdx, rax
lea r8, [rbp - 1]
mov rcx, rdi
call fcn.1400fda0c
mov rbx, rax
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x1400fde51
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fde4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fde4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
movdqa xmm0, xmmword [0x140152420]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400fdea0
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fde9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fde9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
test rbx, rbx
je 0x1400fdf06
and dword [rbp + 0x1f], 0
lea r8, [rbx + 7]
mov r9d, 4
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call fcn.1400fd460
test al, al
je 0x1400fdf06
movsxd r8, dword [rbp + 0x1f]
add r8, 0xb
add r8, rbx
mov qword [0x14015bf38], r8
mov r9d, 8
lea rdx, [0x14015bf58]
mov rcx, rdi
call fcn.1400fd460
test al, al
je 0x1400fdf06
mov rax, qword [0x14015bf38]
mov qword [rsi], rax
mov rcx, qword [0x14015bf58]
mov qword [r14], rcx
mov al, 1
jmp 0x1400fdf08
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400ff3d0
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400fdf24
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14015bf40]
test rax, rax
je 0x1400fdf59
cmp byte [0x14015bf48], 0
jne 0x1400fe10e
mov eax, 0x24
mov dword [rbp - 0x41], eax
movdqa xmm0, xmmword [0x140152da0]
movdqu xmmword [rbp - 0x3d], xmm0
movdqa xmm1, xmmword [0x140152a20]
movdqu xmmword [rbp - 0x2d], xmm1
mov dword [rbp - 0x1d], 0x66686f71
mov byte [rbp - 0x19], 9
xor ecx, ecx
mov word [rbp - 0x18], cx
mov byte [rbp - 0x16], cl
xor edx, edx
test eax, eax
je 0x1400fdfa5
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x3d], al
inc edx
mov eax, dword [rbp - 0x41]
cmp edx, eax
jb 0x1400fdf95
mov byte [rbp + rax - 0x3d], cl
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
lea rax, [rbp - 0x3d]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], cl
jne 0x1400fdfc3
lea rdx, [rbp - 0x3d]
lea rcx, [rbp + 0xf]
call fcn.140045328
nop
mov eax, 0xe
mov dword [rbp - 0x59], eax
movdqa xmm0, xmmword [0x140152520]
movdqu xmmword [rbp - 0x55], xmm0
xor edx, edx
test eax, eax
je 0x1400fe005
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x55], al
inc edx
mov eax, dword [rbp - 0x59]
cmp edx, eax
jb 0x1400fdff5
mov byte [rbp + rax - 0x55], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
lea rax, [rbp - 0x55]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400fe01d
mov r8, rbx
lea rdx, [rbp - 0x55]
lea rcx, [rbp - 0x11]
call fcn.140045328
nop
lea rcx, [rbp - 0x11]
call fcn.1400fbac8
mov rdx, rax
lea r8, [rbp + 0xf]
mov rcx, rsi
call fcn.1400fda0c
mov rbx, rax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x1400fe090
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe08b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fe08b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
movdqa xmm0, xmmword [0x140152420]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400fe0df
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fe0da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fe0da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ff4c0
test rbx, rbx
je 0x1400fe12a
mov qword [0x14015bf40], rbx
mov r9d, 0xc
mov r8, rbx
lea rdx, [0x14015bf48]
mov rcx, rsi
call fcn.1400fd460
test al, al
je 0x1400fe12a
mov rax, qword [0x14015bf40]
mov qword [r14], rax
movsd xmm0, qword [0x14015bf48]
movsd qword [rdi], xmm0
mov ecx, dword [0x14015bf50]
mov dword [rdi + 8], ecx
mov al, 1
jmp 0x1400fe12c
xor al, al
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140100050
Capabilities:
Parse pe header

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

Function at 0x1401003cc
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 0x140100406
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14010040b
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 0x140100454
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140103a50]
cmp byte [rcx + rax], 0
je 0x140100454
dec r8
sub rdx, 1
jne 0x14010043a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140002610
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005d00]
mov dword [rax], 1
mov rax, qword [0x140005d10]
mov dword [rax], 1
mov rax, qword [0x140005d20]
mov dword [rax], 1
mov rax, qword [0x140005cc0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400019fd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
sub rsp, 0x508
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x4a0], rcx
mov qword [rbp + 0x4a8], rdx
mov qword [rbp + 0x4b0], r8
mov qword [rbp + 0x478], 0
mov dword [rbp + 0x474], 0
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x9a
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x30], 0x100001
mov rax, qword [rbp + 0x4b0]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x478], rax
cmp qword [rbp + 0x478], 0
jne 0x140001aac
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____VirtualAlloc_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov eax, 0
jmp 0x140001ba9
mov rcx, qword [rbp + 0x4b0]
mov rdx, qword [rbp + 0x4a8]
mov rax, qword [rbp + 0x478]
mov r8, rcx
mov rcx, rax
call sym.memcpy
lea rcx, [rbp + 0x474]
mov rdx, qword [rbp + 0x4b0]
mov rax, qword [rbp + 0x478]
mov r9, rcx
mov r8d, 0x40
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
jne 0x140001b1e
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____VirtualProtect_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov eax, 0
jmp 0x140001ba9
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadContext]
call rax
test eax, eax
jne 0x140001b5a
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____GetThreadContext_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov eax, 0
jmp 0x140001ba9
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x98], rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetThreadContext]
call rax
test eax, eax
jne 0x140001ba4
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____SetThreadContext_Failed_With_Error_:__d__n
mov rcx, rax
call sym.printf
mov eax, 0
jmp 0x140001ba9
mov eax, 1
add rsp, 0x508
pop rdi
pop rbp
ret