joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a920
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [0x14014f5d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140458b10]
call fcn.1400944c0
lea rdx, str._n____Product_Key_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140065190
lea rcx, [rsp + 0x50]
call fcn.14006a210
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140064e50
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call fcn.1400044e0
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140458b10]
call fcn.140096f10
nop
movzx eax, byte [0x140458d20]
test eax, eax
je 0x14007a9f8
lea rcx, [0x14014f5d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rax, qword [rsp + 0x90]
mov byte [rax], 1
lea rdx, str._n_Authentication_Successful_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140065190
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x14007aa24
lea rcx, [0x14014f5d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_Authentication_Failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140065190
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x50]
call fcn.1400051c0
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140126fc0
add rsp, 0x88
ret

Function at 0x14007cf30
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14007cfbf
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14007cfac
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x14045874c], eax
mov eax, dword [rsp + 0x38]
jmp 0x14007cfcc
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14007cf7a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140126fc0
add rsp, 0x288
ret
Function at 0x14007f8d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
cmp dword [rsp + 0x50], 0x12
je 0x14007fa8c
mov rcx, qword [0x140458608]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, 5
mov rcx, qword [0x140458608]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140458608]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14007f97d
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
call fcn.140018210
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140458608]
mov qword [rax + 0xc8], rcx
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x140133650]
movss dword [rax + 0x10], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
cvtsi2ss xmm0, dword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0xe00], xmm0
cvtsi2ss xmm0, dword [rsp + 0x44]
mov rax, qword [rsp + 0x30]
movss dword [rax + 0xe04], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14007fa63
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax + 0xe08], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax + 0x3740], 1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
movss xmm0, dword [rdx + 0xe00]
movss dword [rcx + rax + 0x36f0], xmm0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x30]
movss xmm0, dword [rdx + 0xe04]
movss dword [rcx + rax + 0x36f0], xmm0
jmp 0x14007fa79
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax + 0xe08], 0
mov rcx, qword [rsp + 0x90]
call fcn.14007ba80
nop
jmp 0x14007f917
call fcn.14004fae0
call fcn.140050110
xor ecx, ecx
call fcn.140014f20
mov rcx, qword [0x140458608]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140126fc0
add rsp, 0x80
pop rdi
ret
Function at 0x140082c60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140082c94
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140082c80
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140064aa0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082cb9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007e280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140082d33
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082d2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082d2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126b40
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140082d40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140082d74
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140082d60
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140064aa0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082d99
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007e280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140082e13
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082e0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126b40
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140082e20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0x31], sil
je 0x140082e54
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0x30
jb 0x140082e40
mov byte [r8 + 0x31], sil
add r8, 0x30
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140064aa0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082e79
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007e280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140082ef3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082eee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082eee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126b40
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140082f00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x140082f34
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x140082f20
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140064aa0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140082f59
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007e280
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140082fd3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082fce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126b40
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14008a980
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 8], al
je 0x14008a9a3
lea edx, [rax - 0x6a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x14008a990
mov byte [rcx + 8], 0
lea r8, [rcx + 7]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140064aa0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008a9c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 9], al
je 0x14008a9e3
lea edx, [rax - 0x6a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x14008a9d0
mov byte [rcx + 9], 0
lea r8, [rcx + 8]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140064aa0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008aa00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xa], al
je 0x14008aa23
lea edx, [rax - 0x6a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x14008aa10
mov byte [rcx + 0xa], 0
lea r8, [rcx + 9]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140064aa0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008aa40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0x10], al
je 0x14008aa63
lea edx, [rax - 0x6a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x14008aa50
mov byte [rcx + 0x10], 0
lea r8, [rcx + 0xf]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140064aa0
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x14008aa80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
cmp byte [rcx + 0xb], al
je 0x14008aaa3
lea edx, [rax - 0x6a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x14008aa90
mov byte [rcx + 0xb], 0
lea r8, [rcx + 0xa]
mov rdx, rcx
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140064aa0
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14008ba90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14008bb63
cmp byte [rcx + 0x71], 0
je 0x14008bb63
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14008bb5f
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 0x14008bb24
sub eax, 1
je 0x14008bb28
cmp eax, 2
jne 0x14008bb5f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140126fc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14008bb56
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 0x14008bb5f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14008bb0c
xor al, al
jmp 0x14008bb0c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140126fc0
add rsp, 0x60
pop rbx
ret

Function at 0x14008cb20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x14008cb43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x6a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x14008cb30
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x14008d150
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
xor eax, eax
cmp byte [0x140459220], al
jne 0x14008d201
movdqa xmm0, xmmword [0x140151770]
movdqa xmm1, xmmword [0x1401519b0]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1401519f0]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1401517c0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [0x140151840]
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x90], 0x1009488
nop dword [rax]
lea ecx, [rax - 0x6a]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, 0x52
jb 0x14008d1c0
lea r9, [rsp + 0xb0]
mov byte [rsp + 0x93], 0
lea r8, [rsp + 0x92]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140064aa0
lea rcx, [rsp + 0x20]
call fcn.140092380
add rsp, 0xa8
ret
Function at 0x140093240
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1310]
mov eax, 0x1410
call fcn.140127400
sub rsp, rax
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rbp + 0x1308], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov r14d, 1
mov ecx, r14d
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, 0x270
jb 0x1400932a0
mov dword [rsp + 0x60], 0x270
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.1400734f0
mov ecx, eax
lea rax, [rcx + rcx*2]
add rax, rax
cmp eax, 3
ja 0x140093308
nop dword [rax]
lea rcx, [rsp + 0x28]
call fcn.1400734f0
mov ecx, eax
lea rax, [rcx + rcx*2]
add rax, rax
cmp eax, 4
jb 0x1400932f0
shr rax, 0x20
lea esi, [rax + 5]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
mov dword [rsp + 0x24], r14d
test esi, esi
je 0x14009347d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
nop word [rax + rax]
lea rcx, [rsp + 0x28]
call fcn.1400734f0
mov ecx, eax
lea rcx, [rcx + rcx*4]
add rcx, rcx
cmp ecx, 5
ja 0x140093378
nop dword [rax + rax]
lea rcx, [rsp + 0x28]
call fcn.1400734f0
mov ecx, eax
lea rcx, [rcx + rcx*4]
add rcx, rcx
cmp ecx, 6
jb 0x140093360
shr rcx, 0x20
lea r10, [rbp + 0x1305]
test ecx, ecx
jns 0x1400933d0
neg ecx
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x140093390
dec r10
mov byte [r10], 0x2d
jmp 0x1400933f9
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x1400933d0
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x1305]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140064aa0
or r14d, 6
mov dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140007160
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140093473
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009346e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400934a7
call fcn.140126b40
inc ebx
cmp ebx, esi
jl 0x140093340
mov rax, rdi
mov rcx, qword [rbp + 0x1308]
xor rcx, rsp
call fcn.140126fc0
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140093530
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, str.ALLUSERSPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140093590
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140093577
mov rdx, rax
mov rcx, rdi
call fcn.140002e80
jmp 0x140093670
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140151620]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], bx
mov dword [rsp + 0x30], 2
lea rcx, [rsp + 0x38]
call fcn.14008b970
test eax, eax
jne 0x140093690
lea rbp, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
call fcn.140126428
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x30], 0x22
test rsi, rsi
je 0x140093666
cmp rsi, 0x7fffffff
ja 0x14009369f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov ecx, eax
call fcn.140126498
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x1400936aa
movsxd rdx, ebx
xor r8d, r8d
mov rcx, rdi
call fcn.14007fba0
mov r9, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14009364c
mov r9, qword [rdi]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, rbp
mov ecx, r14d
call fcn.140126498
shr rax, 0x20
test eax, eax
jne 0x140093688
lea rcx, [rsp + 0x38]
call fcn.140074750
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.1400742a0
nop
mov edx, eax
lea rcx, str.current_path__
call fcn.14008c6f0
nop
mov ecx, socket
call fcn.140074240
int3
mov ecx, eax
call fcn.1400742a0
int3
Function at 0x14009a950
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14009a97d
xor eax, eax
jmp 0x14009aae6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14009a9bd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14009a9bd
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x14009aade
cmp qword [rdi + 0x80], 0
je 0x14009aad9
mov rcx, rdi
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, [rdi + 0x70]
cmp rax, rcx
jne 0x14009a9f7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 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, qword [rdi + 0x68]
test rcx, rcx
jne 0x14009aa22
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14009aade
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 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 0x14009aa91
sub eax, 1
je 0x14009aa91
cmp eax, 2
jne 0x14009aad9
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14009aade
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x14009aabf
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14009aad9
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x14009aade
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140126fc0
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret