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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
xor r14d, r14d
cmp byte [0x14016ec86], r14b
je 0x14006a0d3
mov rdx, qword [rdx + 0x18]
cmp rdx, 0xf
jbe 0x14006a0a2
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006a09d
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006a1c1
mov rcx, r8
call fcn.1400a55d0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a55b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp byte [rcx + 0x50], 0
jne 0x14006a068
mov byte [rcx + 0x50], 1
mov rbp, qword [0x140194f20]
lea rax, [rbp + 1]
mov qword [0x140194f20], rax
cmp byte [rcx], 0
je 0x14006a14a
cmp dword [rcx + 0x60], 0
jne 0x14006a106
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsi + 0x60], eax
jne 0x14006a11d
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rsi + 0x58]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14006a143
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov byte [rsi], 1
mov ecx, 0x30
call fcn.1400a5700
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rax], rbp
lea rcx, [rax + 8]
mov qword [rsp + 0x48], rcx
mov rdx, rdi
call fcn.14009af40
mov qword [rbx + 0x28], rsi
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x1400a2bc0]
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 0x14006a1cf
cmp dword [rsi + 0x60], 0
jne 0x14006a1c8
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x58], xmm1
mov rdx, qword [rdi + 0x18]
jmp 0x14006a06c
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_terminate]
nop
mov dword [rsp + 0x38], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14007e4d0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r14
sub rsp, 0x158
mov rax, qword [0x1400cc040]
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 0x14007e6cd
mov qword [rsp + 0x178], rbx
lea rdx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
mov qword [rsp + 0x180], rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rsp + 0x20], xmm0
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007e540
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x14007e6e8
mov qword [rsp + 0x150], rdi
cmp rbx, 0xf
ja 0x14007e5a3
mov r8, rbx
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x20], 0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
jmp 0x14007e63b
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x14007e5dc
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400a5700
test rax, rax
je 0x14007e6a6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14007e618
mov ecx, 0x16
mov rsi, rax
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14007e607
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14007e6ee
jmp 0x14007e5bd
test rcx, rcx
je 0x14007e616
call fcn.1400a5700
mov rdi, rax
jmp 0x14007e618
xor edi, edi
mov r8, rbx
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
cmp qword [0x140194c68], 0xf
lea rdx, [0x140194c50]
lea rcx, [rsp + 0x20]
cmova rdx, qword [0x140194c50]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, qword [0x140194c60]
jne 0x14007e674
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007e67b
mov qword [r14 + 0x108], rbp
cmp rsi, 0xf
jbe 0x14007e6b5
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14007e6ad
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007e6ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400a55d0
mov rdi, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a55b0
add rsp, 0x158
pop r14
pop rbp
ret
call fcn.140007aa0
int3
call fcn.140007a00
int3
Function at 0x1400972c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov r8d, 0x800
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 9
mov qword [rsp + 0x60], 0xf
movsd xmm0, qword [str..copy.exe]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [reloc.d3d12.dll_Ordinal_101]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea rax, [rsp + 0x70]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140097360
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14009e6c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140097402
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400973fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400974b3
call fcn.1400a55d0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14009744e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097449
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400974ba
call fcn.1400a55d0
mov ebx, r14d
mov qword [rsp + 0x20], 0x32
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.14009c920
cmp byte [0x14016ec89], 0
je 0x140097485
inc ebx
cmp ebx, 0xa
jl 0x140097460
inc edi
cmp edi, 0x14
jl 0x140097316
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400a55b0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
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 0x1400972c0
Function at 0x140099310
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.0x140099331
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 0x14009935e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140099360
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400993b9
test ecx, ecx
jle 0x140099399
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 0x1400993b9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400993b9
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
add dword [rdi + 0x3f019801], edx
add dword [rax + 1], eax
adc dword [rcx], eax
cdq
add dword [rdx + 1], ebp
invalid
Function at 0x1400993e0
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 0x140099411
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.0x140099428
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 0x14009944b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14009944d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140099489
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 0x14009951e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400994c4
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 0x1400994fe
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 0x14009951e
cmp rbx, rax
ja 0x1400994d0
test rbx, rbx
je 0x14009951e
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
add dword [rax - 0x7efe81ff], eax
add dword [rdx - 0x7bfe7cff], eax
add dword [rax - 0x76fe7aff], ecx
add dword [rsi - 0x6cfe78ff], ecx
add dword [rbp + 1], ebp
xchg esp, eax
add dword [rsi + 1], ebp
imul eax, dword [rcx], 0x18d0195
pop qword [rcx]
mov word [rcx], es
nop
add dword [rdx - 0x74fe6eff], ecx
add dword [rbp + 1], esi
xchg edx, eax
add dword [rbx + 1], esi
xchg byte [rcx], al
jg 0x14017854a
cmp eax, 0x96013e01
add dword [rsi], edi
add dword [rsi - 0x67fe68ff], edx
add dword [rdi + 0x3f019801], edx
Function at 0x140099980
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400999ad
xor eax, eax
jmp 0x140099b19
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400999e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400999e7
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 0x140099b19
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140099b0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140099a2a
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 0x140099a55
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 0x140099b11
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 0x140099ac4
sub eax, 1
je 0x140099ac4
cmp eax, 2
jne 0x140099b0c
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 0x140099b11
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140099af2
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 0x140099b0c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140099b11
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a55b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14009b780
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14009b853
cmp byte [rcx + 0x71], 0
je 0x14009b853
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14009b84f
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 0x14009b814
sub eax, 1
je 0x14009b818
cmp eax, 2
jne 0x14009b84f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a55b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14009b846
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 0x14009b84f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14009b7fc
xor al, al
jmp 0x14009b7fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a55b0
add rsp, 0x60
pop rbx
ret
Function at 0x1400a4810
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1400cc040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov r8d, 0x800
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 9
mov qword [rsp + 0x60], 0xf
movsd xmm0, qword [str..copy.exe]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [reloc.d3d12.dll_Ordinal_101]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea rax, [rsp + 0x70]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140097360
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14009e6c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140097402
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400973fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400974b3
call fcn.1400a55d0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14009744e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097449
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400974ba
call fcn.1400a55d0
mov ebx, r14d
mov qword [rsp + 0x20], 0x32
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.14009c920
cmp byte [0x14016ec89], 0
je 0x140097485
inc ebx
cmp ebx, 0xa
jl 0x140097460
inc edi
cmp edi, 0x14
jl 0x140097316
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400a55b0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
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 0x1400972c0
Function at 0x1400a4870
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x14016ec89], 0
je 0x1400a4a66
xor ebx, ebx
nop word [rax + rax]
lea rcx, [0x140194d30]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400a4aa6
cmp dword [0x140194d7c], 0x7fffffff
je 0x1400a4a90
cmp byte [0x140194113], bl
je 0x1400a4a3a
cmp dword [0x140194130], 0xb06b
mov edx, ebx
mov r8d, ebx
sete al
cmp dword [0x140194134], 0xa124
movzx ecx, al
cmove edx, ecx
cmp dword [0x140194138], 3
movzx eax, dl
mov ecx, ebx
cmove ecx, eax
mov edx, ebx
cmp dword [0x14019413c], 4
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194140], 5
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x140194144], 0x28a2e
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194148], 0x141289
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x14019414c], 0x85d0
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194150], 0x185a
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x140194154], 0xd7c
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194158], 1
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x14019415c], 0x1472
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194160], 0x2a1
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x140194164], 1
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194168], 0xcc82
movzx eax, dl
mov edx, ebx
cmove r8d, eax
cmp dword [0x14019416c], 0xfff777a3
movzx eax, r8b
cmove ecx, eax
cmp dword [0x140194170], 0xffe9f0c5
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x140194174], 0xffffe881
movzx eax, dl
cmove ecx, eax
cmp dword [0x140194178], 0xfffb149f
movzx eax, cl
cmovne eax, ebx
cmp dword [0x14019417c], 0xfffffa8d
movzx ecx, al
cmovne ecx, ebx
cmp dword [0x140194180], 0xfff8e13b
movzx eax, cl
mov ecx, ebx
cmovne eax, ebx
movzx eax, al
cmp dword [0x140194184], 0xfffff037
cmove ecx, eax
test cl, cl
je 0x1400a4a6e
lea rcx, [0x140194d30]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], 0x32
call fcn.14009c920
cmp byte [0x14016ec89], bl
jne 0x1400a4890
xor eax, eax
add rsp, 0x40
pop rbx
ret
lea rdx, str._ERROR__3__Exiting_with_code_0_
lea rcx, [rsp + 0x20]
call fcn.14002c510
mov rcx, rax
call fcn.140059e90
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 6
mov dword [0x140194d7c], 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
Function at 0x1400a4b10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
xor esi, esi
mov dword [rsp + 0xa8], esi
cmp byte [0x14016ec89], sil
je 0x1400a4c7f
movabs rbp, 0x7fffffffffffffff
lea r14, [0x140194d80]
nop dword [rax]
lea rcx, [0x140194360]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400a4caf
cmp dword [0x1401943ac], 0x7fffffff
je 0x1400a4c99
mov rcx, qword [0x140194d90]
mov rax, rbp
sub rax, rcx
cmp rax, 0xb
jb 0x1400a4cbb
cmp qword [0x140194d98], 0xf
lea r9, str.onlinedata_
mov qword [rsp + 0x30], rcx
mov rax, r14
cmova rax, qword [0x140194d80]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xb
call fcn.14002ded0
lea rdx, [rsp + 0x40]
or esi, 1
lea rcx, [0x140194710]
call fcn.14006a030
cmp dword [0x140194128], 3
jne 0x1400a4c4c
mov rbx, qword [0x140194dc0]
mov rdi, qword [0x140194dc8]
cmp rbx, rdi
je 0x1400a4c47
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400a4c3e
cmp byte [rcx + 9], 0
je 0x1400a4c32
cmp byte [0x140194113], 0
jne 0x1400a4c32
cmp byte [rcx + 8], 0
je 0x1400a4c3e
lea rdx, str._ERROR__4___Exiting_with_code_0
lea rcx, [rsp + 0x60]
call fcn.14002c510
mov rcx, rax
call fcn.140059e90
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [rcx + 8], 0
je 0x1400a4c3e
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, rdi
jne 0x1400a4bf3
call fcn.14006e100
lea rcx, [0x140194360]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0xa8], 1
call fcn.14009c920
cmp byte [0x14016ec89], 0
jne 0x1400a4b50
lea r11, [rsp + 0x80]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 6
mov dword [0x1401943ac], 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
call fcn.140007aa0
int3

Function at 0x1400a638c
Capabilities:
Parse pe header

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