joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077720
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x70
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12d, r8d
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x60], rdx
cmp byte [0x1401b1c86], 0
jne 0x140077894
cmp byte [rcx + 0x90], 0
jne 0x140077894
mov byte [rcx + 0x90], 1
mov r14, qword [0x14020dbe0]
mov qword [rsp + 0x30], r14
lea rax, [r14 + 1]
mov qword [0x14020dbe0], rax
cmp byte [rcx], 0
je 0x1400777e3
cmp dword [rcx + 0xa0], 0
je 0x1400777e3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rdi + 0xa0], eax
jne 0x1400777b1
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rdi + 0x98]
movaps xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400777d9
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movups xmmword [rdi + 0x98], xmm0
jmp 0x1400777fc
mov ecx, 0x38
call fcn.1400ccb44
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rax], r12d
mov qword [rax + 8], r14
lea rcx, [rax + 0x10]
mov rdx, rsi
call fcn.14006d370
mov qword [rbx + 0x30], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x1400c35f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14007787b
cmp dword [rdi + 0xa0], 0
jne 0x140077874
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0x98], xmm1
mov byte [rdi], 1
jmp 0x140077894
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400798f0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400cc3e0
add rsp, 0x70
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008c300
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r14
sub rsp, 0x158
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbp, rax
test rax, rax
je 0x14008c485
mov qword [rsp + 0x178], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x180], rsi
mov r8d, 0x100
mov rcx, rax
mov qword [rsp + 0x150], rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x40]
movups xmmword [rsp + 0x20], xmm0
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14008c380
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140068c30
cmp qword [0x14020d988], 0xf
lea rdx, [0x14020d970]
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
cmova rdx, qword [0x14020d970]
cmp rdi, 0xf
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
cmova rcx, rbx
cmp rsi, qword [0x14020d980]
jne 0x14008c3e1
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008c433
cmp rdi, 0xf
lea rcx, [rsp + 0x20]
cmova rcx, rbx
test rsi, rsi
jne 0x14008c406
mov r8, rsi
lea rdx, [0x1400e16ef]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008c433
cmp rdi, 0xf
lea rcx, [rsp + 0x20]
cmova rcx, rbx
cmp rsi, 0xe
jne 0x14008c42c
mov r8, rsi
lea rdx, str.Task_Switching
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008c433
mov qword [r14 + 0x130], rbp
mov rsi, qword [rsp + 0x180]
cmp rdi, 0xf
jbe 0x14008c475
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008c46d
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c46d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400cc760
mov rbx, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400cc3e0
add rsp, 0x158
pop r14
pop rbp
ret
Function at 0x1400ad450
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rsp + 0x120], rax
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x140207bb8]
add rcx, 0x2faf080
cmp rcx, rax
jge 0x1400ad4df
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x140207bb8], rax
mov rbx, qword [0x14020dae0]
mov rdi, qword [0x14020dae8]
cmp rbx, rdi
je 0x1400ad4d0
nop dword [rax + rax]
lea rcx, [rbx + 8]
call fcn.1400798f0
add rbx, 0x28
cmp rbx, rdi
jne 0x1400ad4b0
mov rax, qword [0x14020dae0]
mov qword [0x14020dae8], rax
xor edx, edx
lea rcx, [0x14006b500]
call qword [sym.imp.USER32.dll_EnumWindows]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, qword [0x140207bc0]
add rcx, 0x1e8480
xor edi, edi
cmp rcx, rax
jge 0x1400ad5cc
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x140207bc0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [0x140208050], rax
mov r8d, 0xc8
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400ad550
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140068c30
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
lea rcx, [0x140208058]
call fcn.1400b6300
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400ad5cc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ad5c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ad5c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cc760
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rbx, rax
sub rax, qword [0x140207ba8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmmword [0x1400f69c8]
jbe 0x1400ad65a
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov ecx, 0x20
call fcn.1400ccb44
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], reloc.WS2_32.dll_send
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [str._SETTINGS__AutoSave]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400f46a0]
mov word [rax + 0x10], cx
movzx ecx, byte [0x1400f46a2]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
lea rcx, [rsp + 0x28]
call fcn.140069c10
mov qword [0x140207ba8], rbx
call fcn.1400a12e0
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400cc3e0
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret
Function at 0x1400afb10
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x20], r12d
mov r8d, 0x800
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, r12d
movabs r15, 0x7ffffffffd050f7e
movabs r14, 0x7fffffffffffffff
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 9
mov qword [rsp + 0x68], recv
movsd xmm0, qword [str..copy.exe]
movsd qword [rsp + 0x50], xmm0
movzx eax, byte [0x1400f50c0]
mov byte [rsp + 0x58], al
mov byte [rsp + 0x59], 0
lea rax, [rsp + 0x70]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x1400afbc4
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140079670
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
or esi, 1
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400afc66
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afc61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afd3d
call fcn.1400cc760
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], recv
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400afcb6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afcb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afd44
call fcn.1400cc760
mov ebx, r12d
nop dword [rax]
lea rcx, [rsp + 0x28]
call fcn.140063000
mov rax, qword [rsp + 0x28]
cmp rax, r15
jg 0x1400afce1
add rax, 0x2faf080
mov qword [rsp + 0x20], rax
jmp 0x1400afce6
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1400bd0f0
cmp byte [0x1401b1c89], 0
je 0x1400afd0b
inc ebx
cmp ebx, 0xa
jl 0x1400afcc0
inc edi
cmp edi, 0x14
jl 0x1400afb80
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400cc3e0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
jmp 0x1400afb10
Function at 0x1400b1f20
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 case.default.0x1400b1f41
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 0x1400b1f6e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400b1f70
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400b1fc9
test ecx, ecx
jle 0x1400b1fa9
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 0x1400b1fc9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400b1fc9
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
push 0x38
outsd dx, dword [rsi]
test rax, 0xffffffff8fd13af6
fild word [rdi + 0x212cc649]
add ebx, dword [rax]
and edx, edi
out dx, eax
xor dword [rax + 0x39cec973], ebp
sub dh, cl
invalid
Function at 0x1400b1ff0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400b2021
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 case.default.0x1400b2038
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400b205b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400b205d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400b2099
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400b212e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400b20d4
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 0x1400b210e
nop dword [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 0x1400b212e
cmp rbx, rax
ja 0x1400b20e0
test rbx, rbx
je 0x1400b212e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
push rbp
add ebp, eax
invalid
Function at 0x1400b2560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400b258d
xor eax, eax
jmp 0x1400b26f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400b25c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400b25c7
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 0x1400b26f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400b26ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400b260a
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 0x1400b2635
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 0x1400b26f1
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x1400b26a4
sub eax, 1
je 0x1400b26a4
cmp eax, 2
jne 0x1400b26ec
movsx ecx, byte [rsp + 0x40]
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 0x1400b26f1
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400b26d2
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 0x1400b26ec
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400b26f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400cc3e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400b5340
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400b5413
cmp byte [rcx + 0x71], 0
je 0x1400b5413
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400b540f
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 0x1400b53d4
sub eax, 1
je 0x1400b53d8
cmp eax, 2
jne 0x1400b540f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400cc3e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400b5406
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 0x1400b540f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400b53bc
xor al, al
jmp 0x1400b53bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400cc3e0
add rsp, 0x60
pop rbx
ret
Function at 0x1400b8b70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, r9
mov rdi, r8
mov rsi, rcx
mov ecx, 0x18
call fcn.1400ccb44
mov rdx, qword [rbx]
mov qword [rax], rdx
mov rdx, qword [rdi]
mov qword [rax + 8], rdx
mov qword [rsp + 0x48], rax
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c3670]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400b8be9
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400c5b00
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x14010f040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x20], r12d
mov r8d, 0x800
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, r12d
movabs r15, 0x7ffffffffd050f7e
movabs r14, 0x7fffffffffffffff
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 9
mov qword [rsp + 0x68], recv
movsd xmm0, qword [str..copy.exe]
movsd qword [rsp + 0x50], xmm0
movzx eax, byte [0x1400f50c0]
mov byte [rsp + 0x58], al
mov byte [rsp + 0x59], 0
lea rax, [rsp + 0x70]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x1400afbc4
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140079670
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], recv
mov byte [rax], 0
or esi, 1
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400afc66
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afc61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afd3d
call fcn.1400cc760
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], recv
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400afcb6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afcb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afd44
call fcn.1400cc760
mov ebx, r12d
nop dword [rax]
lea rcx, [rsp + 0x28]
call fcn.140063000
mov rax, qword [rsp + 0x28]
cmp rax, r15
jg 0x1400afce1
add rax, 0x2faf080
mov qword [rsp + 0x20], rax
jmp 0x1400afce6
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x20]
call fcn.1400bd0f0
cmp byte [0x1401b1c89], 0
je 0x1400afd0b
inc ebx
cmp ebx, 0xa
jl 0x1400afcc0
inc edi
cmp edi, 0x14
jl 0x1400afb80
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400cc3e0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
jmp 0x1400afb10
Function at 0x1400c5c30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
cmp byte [0x1401b1c89], 0
je 0x1400c5d53
movabs rbp, 0x7ffffffffff0bdbe
movabs rsi, 0x7fffffffffffffff
nop dword [rax]
lea rcx, [0x14020c580]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400c5d78
cmp dword [0x14020c5cc], 0x7fffffff
je 0x1400c5d62
lea rcx, [0x14020c620]
call fcn.140079e30
cmp dword [0x14020c16c], 3
jne 0x1400c5d09
mov rbx, qword [0x14020db78]
mov rdi, qword [0x14020db80]
cmp rbx, rdi
je 0x1400c5d04
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400c5cfb
cmp byte [rcx + 0xa], 0
je 0x1400c5cef
cmp byte [0x14020c165], 0
jne 0x1400c5cef
cmp byte [rcx + 8], 0
je 0x1400c5cfb
lea rdx, str._ERROR__4___Exiting_with_code_0
lea rcx, [rsp + 0x20]
call fcn.140068bd0
mov rcx, rax
call fcn.140069c10
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [rcx + 8], 0
je 0x1400c5cfb
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
add rbx, 8
cmp rbx, rdi
jne 0x1400c5cb0
call fcn.14007cf60
lea rcx, [0x14020c580]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rsp + 0x70]
call fcn.140063000
mov rax, qword [rsp + 0x70]
cmp rax, rbp
jg 0x1400c5d37
add rax, 0xf4240
mov qword [rsp + 0x68], rax
jmp 0x1400c5d3c
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x68]
call fcn.1400bd0f0
cmp byte [0x1401b1c89], 0
jne 0x1400c5c60
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov ecx, 6
mov dword [0x14020c5cc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3