Function at 0x1400062d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rbx, rcx
lea rdx, str.E4847ED08866458F8DD35F94B37001C0
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
lea rcx, [0x140127ae0]
mov qword [0x140127b08], rbx
mov qword [0x140127b10], rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140127ab8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ecx, ecx
call fcn.140074b30
mov rax, qword [0x140126a10]
lea rcx, [0x1400ef7e4]
test rax, rax
je 0x14000635e
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
mov rdx, 0xffffffffffffffff
call fcn.1400caa60
xor edi, edi
mov qword [0x140127ab0], rax
xor sil, sil
mov qword [rsp + 0x38], rdi
xor r12b, r12b
mov byte [rsp + 0xb0], sil
mov r14d, edi
lea r13d, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ebp, r13d
mov r15d, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], r13d
jle 0x140006794
lea r14d, [rdi + 8]
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov rbx, qword [r14 + rcx]
test sil, sil
je 0x140006471
mov r8d, r13d
lea rdx, [0x1400ef9e8]
lea rcx, [rsp + 0x40]
call fcn.1400071f0
movsxd rsi, eax
cmp word [rsp + 0x40], di
je 0x1400065cf
lea rax, [rsp + 0x30]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], 3
lea rcx, [0x14012afc0]
call fcn.14004edf0
test rax, rax
jne 0x14000644a
cmp byte [rsp + 0x30], dil
lea rdx, [rsp + 0x40]
mov r9d, dword [rsp + 0x34]
lea rcx, [0x14012afc0]
mov eax, edi
mov r8, rsi
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004f330
test rax, rax
je 0x1400065cf
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rbx
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400d3350
movzx esi, byte [rsp + 0xb0]
inc r13d
jmp 0x14000677b
lea rdx, [0x1400ef9f0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006778
lea rdx, str._restart
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006778
lea rdx, [0x1400efa0c]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000676f
lea rdx, str._force
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000676f
mov r8d, reloc.WSOCK32.dll_ioctlsocket
lea rdx, str._ErrorStdOut
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140006510
cmp word [rbx + 0x18], 0x3d
lea rcx, [rbx + 0x1a]
je 0x1400064f9
mov rcx, rdi
mov byte [0x14012bba3], 1
call fcn.140035c60
mov dword [0x14012bba4], eax
jmp 0x14000677b
lea rdx, str._iLib
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400065f5
inc ebp
add r14, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebp, dword [rax]
jge 0x1400065cf
mov ecx, 0x48
call fcn.1400ec0d4
mov ecx, dword [0x14012be18]
mov rbx, rax
lea rax, vtable.TextStream.0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], edi
mov dword [rbx + 0x14], 0xffffffff
mov qword [rbx + 0x30], rdi
mov qword [rbx + 0x38], rdi
cmp ecx, 0xffffffff
je 0x140006589
lea rdx, [rbx + 0x18]
mov dword [rbx + 0x14], ecx
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x140006589
mov byte [rbx + 0x1e], dil
lea rax, vtable.TextFile.0
mov qword [rbx + 0x40], 0xffffffffffffffff
mov qword [rbx], rax
mov qword [0x14012bba8], rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov r9d, 0xfde9
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnlock
mov rcx, qword [rax]
mov rdx, qword [r14 + rcx]
mov rcx, qword [0x14012bba8]
call fcn.1400cb1e0
test al, al
jne 0x14000677b
mov eax, 2
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, [0x1400efa54]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006766
lea rdx, str._Execute
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140006766
mov r8d, 3
lea rdx, [0x1400efa78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140006653
lea rcx, [rbx + 6]
call fcn.140005c40
mov dword [0x140127a9c], eax
jmp 0x14000677b
cmp qword [0x140126980], 0xffffffffffffffff
jne 0x14000673b
mov r8d, 6
lea rdx, str._Debug
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14000673b
movzx eax, word [rbx + 0xc]
test ax, ax
je 0x140006713
cmp ax, 0x3d
jne 0x14000673b
add rbx, 0xe
mov edx, 0x3a
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea rdx, vtable.CKuStringT_char__class_CKuStringUtilA_.0
mov rcx, rbx
mov rsi, rax
test rax, rax
je 0x1400066eb
mov r8, rax
sub r8, rbx
sar r8, 1
call fcn.1400caef0
lea rcx, [rsi + 2]
mov r8d, 0xffffffff
lea rdx, vtable.CKuStringT_char__class_CKuStringUtilA_.0
call fcn.1400caef0
movzx esi, byte [rsp + 0xb0]
jmp 0x14000677b
mov r8d, 0xffffffff
call fcn.1400caef0
lea rdx, str.9000
lea rcx, vtable.CKuStringT_char__class_CKuStringUtilA_.0
call fcn.140006f20
movzx esi, byte [rsp + 0xb0]
jmp 0x14000677b
lea rdx, str.127.0.0.1
lea rcx, vtable.CKuStringT_char__class_CKuStringUtilA_.0
call fcn.140006f20
lea rdx, str.9000
lea rcx, vtable.CKuStringT_char__class_CKuStringUtilA_.0
call fcn.140006f20
jmp 0x14000677b
cmp qword [0x140127b10], rdi
mov sil, 1
mov byte [rsp + 0xb0], sil
jne 0x14000675a
mov qword [rsp + 0x38], rbx
lea r15d, [rbp + 1]
jmp 0x14000677b
dec ebp
sub r14, 8
lea r15d, [rbp + 1]
jmp 0x14000677b
mov qword [0x140127b10], rdi
jmp 0x14000677b
mov byte [0x140127a76], 1
jmp 0x14000677b
mov r12b, 1
inc ebp
add r14, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebp, dword [rax]
jl 0x1400063b0
mov r14, qword [rsp + 0x38]
lea rax, [rsp + 0xb0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rdx, [0x1400ef8c4]
mov dword [rsp + 0x20], 3
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov rcx, rax
test rax, rax
jne 0x140006806
cmp byte [rsp + 0xb0], dil
lea rdx, [0x1400ef8c4]
mov r9d, dword [rsp + 0x34]
lea rcx, [0x14012afc0]
mov eax, edi
setne al
xor r8d, r8d
inc eax
mov dword [rsp + 0x20], eax
call fcn.14004f330
mov rcx, rax
test rax, rax
je 0x1400065cf
lea eax, [r13 - 1]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
call fcn.140001580
lea rax, [rsp + 0xb0]
mov r8d, 6
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rdx, str.A_Args
mov dword [rsp + 0x20], 0xc1
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov rsi, rax
test rax, rax
jne 0x14000688e
cmp byte [rsp + 0xb0], dil
lea r8d, [rsi + 6]
mov r9d, dword [rsp + 0x34]
lea rdx, str.A_Args
mov eax, edi
lea rcx, [0x14012afc0]
setne al
add eax, 0xc1
mov dword [rsp + 0x20], eax
call fcn.14004f330
mov rsi, rax
test rax, rax
je 0x1400065cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ebx, dword [rax]
sub ebx, r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
movsxd r8, r15d
mov edx, ebx
mov rax, qword [rax]
lea rcx, [rax + r8*8]
call fcn.1400baaa0
test rax, rax
je 0x1400065cf
mov rdx, rax
mov rcx, rsi
call fcn.1400d38a0
cmp dword [0x140127874], edi
mov rcx, qword [0x140124200]
mov qword [rcx + 0xd8], rdi
mov qword [rcx + 0xe0], rdi
mov qword [rcx + 0xe8], rdi
mov qword [rcx + 0xf8], rdi
mov dword [rcx + 0x100], edi
mov byte [rcx + 0x138], dil
mov qword [rcx + 0x34], 0xa
mov qword [rcx + 0x68], rdi
mov dword [rcx + 0x128], 0x1000100
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rdi
mov qword [rcx + 0x28], rdi
mov qword [rcx + 0x148], rdi
mov dword [rcx + 0x140], edi
mov dword [rcx + 0x114], edi
mov dword [rcx + 0x30], 1
mov qword [rcx], 0xffffffffffffffff
mov dword [rcx + 0x118], 5
mov word [rcx + 0x12c], 0x101
mov dword [rcx + 0x120], edi
mov dword [rcx + 0x12e], 0x200
mov qword [rcx + 0x3c], rdi
mov dword [rcx + 0x44], edi
mov qword [rcx + 0x48], rdi
mov dword [rcx + 0x50], 0x80000000
mov dword [rcx + 0x54], 0x80000000
mov qword [rcx + 0x58], rdi
mov dword [rcx + 0x70], 0x2af8
mov qword [rcx + 0x60], rdi
mov dword [rcx + 0x74], WSAAsyncSelect
mov dword [rcx + 0x78], reloc.OLEAUT32.dll_SafeArrayLock
mov dword [rcx + 0x7c], 0xa
mov qword [rcx + 0x80], 0xffffffffffffffff
mov dword [rcx + 0x88], 0xffffffff
mov dword [rcx + 0x8c], 0xa
mov dword [rcx + 0x90], 0xffffffff
mov word [rcx + 0x132], 0x100
mov byte [rcx + 0x134], 1
movsd xmm0, qword [str._0.6f]
movsd qword [rcx + 0x94], xmm0
mov eax, dword [0x1400efd98]
mov dword [rcx + 0x9c], eax
mov word [rcx + 0x135], 0x44
mov byte [rcx + 0x139], 1
mov dword [rcx + 0x13c], edi
je 0x140006e91
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.CryptEncrypt
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDecrypt
mov rcx, rbx
mov qword [0x140127aa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx r9d, r12b
lea rcx, [0x14012afc0]
mov r8, r14
mov qword [0x140127aa0], rax
call fcn.1400368b0
cmp eax, 1
jne 0x1400065cf
mov rax, qword [0x140124200]
lea rcx, [0x1401278d0]
mov edx, 2
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140006a83
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
lea rcx, [0x14012afc0]
call fcn.140038de0
cmp eax, 0xffffffff
jne 0x140006b4e
mov rbx, qword [0x14012bba8]
test rbx, rbx
je 0x1400065cf
mov r8d, dword [rbx + 0xc]
test r8d, r8d
je 0x140006b3c
cmp qword [rbx + 0x30], rdi
jne 0x140006b3c
mov rax, qword [rbx]
mov rcx, rbx
mov rdx, qword [rbx + 0x38]
call qword [rax + 0x20]
mov dword [rbx + 0xc], edi
mov rax, qword [rbx]
mov rcx, rbx
mov word [rbx + 0x2c], di
call qword [rax + reloc.WSOCK32.dll_recv]
jmp 0x1400065cf
test eax, eax
je 0x140006e91
mov eax, dword [0x140127a98]
test eax, eax
jne 0x140006b9c
cmp word [0x140128a9c], di
jne 0x140006b90
cmp dword [0x140128a80], edi
jne 0x140006b90
cmp qword [0x140127a90], rdi
jne 0x140006b90
cmp qword [0x140127a88], rdi
jne 0x140006b90
cmp byte [0x140127a75], dil
je 0x140006c18
mov dword [0x140127a98], 1
jmp 0x140006ba1
cmp eax, 4
je 0x140006c18
test r12b, r12b
jne 0x140006c21
cmp byte [0x140127a76], dil
jne 0x140006cc0
mov rdx, qword [0x14012bb98]
mov rcx, qword [str.AutoHotkey]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
test rax, rax
je 0x140006cc0
mov eax, dword [0x140127a98]
cmp eax, 3
je 0x140006e91
cmp eax, 2
je 0x140006c10
mov r8, qword [0x14012bb80]
lea rcx, str.An_older_instance_of_this_script_is_already_running.__Replace_it_with_this_instance__nNote:_To_avoid_this_message__see_SingleInstance_in_the_help_file.
xorps xmm3, xmm3
mov qword [rsp + 0x20], rdi
mov edx, 4
call fcn.1400d58f0
cmp eax, 7
je 0x140006e91
mov r8d, 0x407
jmp 0x140006c47
test r12b, r12b
je 0x140006cc0
mov rdx, qword [0x14012bb98]
mov rcx, qword [str.AutoHotkey]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
test rax, rax
je 0x140006cc0
mov r8d, 0x406
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 + 0x44]
call qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, gethostbyname
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140006cb5
cmp ebx, 0x64
jne 0x140006c9b
xorps xmm3, xmm3
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea edx, [rbx - 0x60]
lea rcx, str.Could_not_close_the_previous_instance_of_this_script.__Keep_waiting_
call fcn.1400d58f0
cmp eax, 7
je 0x1400065cf
mov ebx, edi
mov ecx, gethostbyname
inc ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x140006c71
mov ecx, WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8, [0x140127b7c]
xor edx, edx
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140006cf9
cmp dword [0x140127b7c], edi
je 0x140006cf9
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
lea rcx, [0x14012afc0]
call fcn.140037260
cmp eax, 1
jne 0x1400065cf
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
movsxd rax, dword [0x1401241fc]
test eax, eax
je 0x140006d64
imul rcx, rax, 0xd4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x140127a80], rax
test rax, rax
je 0x140006d64
movsxd rcx, dword [0x1401241fc]
xor edx, edx
imul r8, rcx, 0xd4
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140126938]
test rcx, rcx
je 0x140006dce
cmp qword [rcx + 0x10], rdi
je 0x140006dce
mov rax, qword [0x140126950]
lea rdx, [0x1400efd8e]
mov r8, rdx
test rax, rax
je 0x140006d96
mov rax, qword [rax]
test rax, rax
cmovne r8, rax
mov rax, qword [rcx]
test rax, rax
cmovne rdx, rax
call fcn.14000d210
test eax, eax
jne 0x140006dce
cmp dword [0x1401269d0], 2
je 0x140006dce
lea rcx, [0x140126960]
call fcn.140008820
test eax, eax
jne 0x140006dce
lea rcx, [0x140126960]
call fcn.140008950
lea rdx, [0x1400d26c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [0x140127a78], rax
call fcn.1400179d0
lea rax, [rsp + 0xb0]
mov byte [0x14012bba0], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov dword [rsp + 0x20], 3
lea rdx, str.Clipboard
mov byte [0x140127a74], dil
lea rcx, [0x14012afc0]
call fcn.14004edf0
mov rbx, rax
test rax, rax
jne 0x140006e64
cmp byte [rsp + 0xb0], dil
lea rdx, str.Clipboard
mov r9d, dword [rsp + 0x34]
lea rcx, [0x14012afc0]
setne dil
xor r8d, r8d
inc edi
mov dword [rsp + 0x20], edi
call fcn.14004f330
mov rbx, rax
test rax, rax
je 0x140006e87
cmp byte [rbx + 0x23], 0
jne 0x140006e6e
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x21], 0
jl 0x140006e87
mov rcx, rbx
call fcn.140001620
movzx eax, byte [rbx + 0x21]
and al, 0xf
or al, 0x80
mov byte [rbx + 0x21], al
call fcn.140006ea0
jmp 0x1400065d4
xor eax, eax
jmp 0x1400065d4