Function at 0x1400013f0
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x4d8]
sub rsp, 0x5d0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov ebx, 0x208
mov r8d, ebx
lea rdx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, ebx
lea rax, [rbp + 0xa0]
cmp word [rax], 0
je 0x14000147e
add rax, 2
sub rcx, 1
jne 0x140001464
mov eax, 0x30000001
jmp 0x1400017c3
mov rax, rbx
sub rax, rcx
lea rcx, [rbp + 0xa0]
lea rcx, [rcx + rax*2]
nop
movzx eax, word [rcx]
lea rcx, [rcx - 2]
cmp ax, 0x5c
jne 0x140001490
xor r14d, r14d
mov word [rcx + 4], r14w
mov rax, rbx
lea rcx, [rbp + 0xa0]
nop
cmp word [rcx], r14w
je 0x1400014c2
add rcx, 2
sub rax, 1
jne 0x1400014b0
jmp 0x140001514
sub rbx, rax
lea rcx, [rbp + 0xa0]
lea rcx, [rcx + rbx*2]
test rax, rax
je 0x14000150c
mov edx, 0x7ffffffe
lea r9, str.SWHEX64.txt
sub r9, rcx
test rdx, rdx
je 0x140001510
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140001507
mov word [rcx], r8w
add rcx, 2
dec rdx
sub rax, 1
jne 0x1400014e4
jmp 0x14000150c
test rax, rax
jne 0x140001510
sub rcx, 2
mov word [rcx], r14w
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.1400024d0
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx - 0x80], 0
je 0x140001552
mov ebx, 0x30000002
jmp 0x1400017b7
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rbp + 0x88]
add rcx, qword [rbp + 0x80]
jne 0x1400015aa
lea rcx, [rbp - 0x80]
call fcn.1400028e0
test rax, rax
jne 0x1400015a0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov ebx, 0x30000003
jmp 0x1400017b7
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rcx, qword [rbp + 0x88]
add rcx, qword [rbp + 0x80]
call fcn.140002e94
mov qword [rsp + 0x30], rax
mov r8, qword [rbp + 0x80]
add r8, qword [rbp + 0x88]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x80]
call fcn.1400028e0
test rax, rax
jne 0x14000161a
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x30]
mov r9, rcx
mov rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rdx + 1]
mov qword [rsp + 0x30], rcx
mov rdx, rcx
cmp al, 0x21
jne 0x140001640
mov byte [rcx - 1], 0
mov rbx, qword [rsp + 0x30]
mov r8d, 0xa
lea rdx, [rsp + 0x30]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
mov r8d, 0x10
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
test edi, edi
je 0x1400017b2
test rax, rax
je 0x1400017b2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x38]
lea rcx, [0x140001290]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdi, qword [rsp + 0x38]
test eax, eax
jne 0x1400016e2
mov ebx, 0x30000005
jmp 0x140001761
mov rsi, qword [rsp + 0x40]
cmp rdi, rsi
jne 0x140001700
mov ebx, 0x30000006
jmp 0x140001761
movups xmm6, xmmword [rdi]
mov rbx, qword [rdi + 8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov edx, 0x101
lea r8d, [r9 + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
movq rcx, xmm6
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
add rdi, 0x10
cmp rdi, rsi
jne 0x140001700
mov rdi, qword [rsp + 0x38]
mov ebx, r14d
test rdi, rdi
je 0x1400017b7
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000179a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000179a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140002e8c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
jmp 0x1400017b7
mov ebx, 0x30000004
lea rcx, [rsp + 0x70]
call fcn.140001800
mov eax, ebx
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140002e30
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret