Function at 0x1400d9320
Capabilities:
Allocate or change rwx memory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x438]
sub rsp, 0x538
mov rsi, rdx
mov rbx, rcx
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400d9355
cmp ax, 9
jne 0x1400d935b
add rbx, 2
jmp 0x1400d9346
mov r15d, 0x2c
mov edx, r15d
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rdi, rax
test rax, rax
je 0x1400db331
cmp word [rax], 0
je 0x1400db331
add rdi, 2
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xor r14d, r14d
test rax, rax
je 0x1400d93a8
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov word [rax], r14w
movzx eax, word [rdi]
test ax, ax
je 0x1400d93fb
mov rdx, rdi
cmp ax, 0x20
je 0x1400d93bf
cmp word [rdx], 9
jne 0x1400d93c8
add rdx, 2
movzx eax, word [rdx]
jmp 0x1400d93b3
mov rax, rdx
sub rax, rdi
cmp rax, 2
jb 0x1400d93fb
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
lea r8, [r8 + 1]
cmp word [rdx + r8*2], r14w
jne 0x1400d93e0
lea r8, [r8*2 + 2]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1400d9402
lea r9, [rsp + 0x70]
mov rdx, rbx
lea rcx, [0x140136060]
call fcn.14004fc10
test rax, rax
je 0x1400d9434
mov r8, rbx
lea rdx, str.Duplicate_function_definition.
jmp 0x1400db33b
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1400d9440
mov qword [rsp + 0x28], r14
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rdx, rbx
lea rcx, [0x140136060]
call fcn.140051620
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400db347
lea rcx, [0x1400848b0]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x79], 1
mov dword [rax + 0x24], r14d
mov rax, rdi
sub rax, rsi
sar rax, 1
mov ebx, 0x4001
sub rbx, rax
mov qword [rsp + 0x50], rbx
lea rdx, str._A_ScriptDir_
mov rcx, rdi
call fcn.1400d6b70
mov esi, 1
mov dword [rbp + 0x498], esi
test rax, rax
je 0x1400d96e6
mov rcx, qword [0x140136c18]
lea rdx, [rbp - 0x70]
sub rdx, rcx
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d94d0
mov r12d, esi
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rdi + rsi*2], r14w
jne 0x1400d94f0
mov r13, r14
mov r15, r14
mov qword [rsp + 0x40], r14
cmp word [rdi], r14w
je 0x1400d9893
lea rax, [rbp - 0x70]
mov r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp word [rax + r14*2], r13w
jne 0x1400d9520
lea ecx, [r14 - 0xd]
mov dword [rbp + 0x490], ecx
cmp rbx, 0xffffffffffffffff
je 0x1400d9558
mov eax, ebx
sub eax, esi
sub eax, r12d
jns 0x1400d954a
xor eax, eax
mov r12d, eax
jmp 0x1400d955a
test ecx, ecx
jle 0x1400d9558
cdq
idiv ecx
cmp eax, r12d
cmovb r12d, eax
xor eax, eax
test ecx, ecx
je 0x1400d9812
cmp rsi, 0x1388
jb 0x1400d9812
mov dword [rbp + 0x480], eax
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x1400d96d9
nop word [rax + rax]
lea rdx, str._A_ScriptDir_
mov rcx, rbx
call fcn.1400d6b70
mov rdx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400d9687
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov rbx, rax
mov rax, qword [rsp + 0x48]
sub rbx, rax
sar rbx, 1
lea rcx, [rbx + r14]
add rcx, r15
cmp rcx, qword [rsp + 0x40]
jb 0x1400d9631
mov rax, rdx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, ecx
movsxd r9, esi
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400d96cb
mov r13, rax
mov rax, qword [rsp + 0x48]
test rbx, rbx
je 0x1400d9650
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
test r14, r14
je 0x1400d9670
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, r14
mov rbx, qword [rsp + 0x58]
add rbx, 0x1a
mov qword [rsp + 0x48], rbx
test r12d, r12d
jne 0x1400d9590
cmp dword [rbp + 0x480], 0
je 0x1400d96d9
mov rax, rbx
sub rax, rdi
sar rax, 1
sub rsi, rax
je 0x1400d97e3
lea r14, [rsi + r15]
cmp r14, qword [rsp + 0x40]
jb 0x1400d97c9
lea rdx, [r14*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400d97c6
test r13, r13
je 0x1400d96d9
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x50]
xor r14d, r14d
mov esi, 1
lea rdx, str._A_AppData_
mov rcx, rdi
call fcn.1400d6b70
test rax, rax
je 0x1400d9aea
mov edx, 2
mov ecx, 0x41
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, DispGetParam
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400d9739
mov word [rbp + 0x1a0], r14w
mov rcx, r14
nop dword [rax]
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d9740
mov r12d, esi
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x1400d9760
mov r13, r14
mov r15, r14
mov qword [rsp + 0x40], r14
cmp word [rdi], 0
je 0x1400d9aea
lea rax, [rbp - 0x70]
mov r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x1400d9790
lea ecx, [r14 - 0xb]
mov dword [rbp + 0x490], ecx
cmp rbx, 0xffffffffffffffff
je 0x1400d98a9
mov eax, ebx
sub eax, esi
sub eax, 1
jns 0x1400d989b
xor eax, eax
mov r12d, eax
jmp 0x1400d98ab
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15, r14
xor r14d, r14d
mov word [r13 + r15*2], r14w
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x50]
jmp 0x1400d96e1
mov r15, rdi
test r12d, r12d
je 0x1400d96de
nop
lea rdx, str._A_ScriptDir_
mov rcx, r15
call fcn.1400d6b70
mov rbx, rax
test rax, rax
je 0x1400d96d9
lea r13, [r14 + r14]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400d986f
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, rsi
sub r8, rcx
lea r8, [r8*2 - 0x18]
lea rdx, [rax + 0x1a]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add rsi, rax
add r12d, 0xffffffff
jne 0x1400d9820
jmp 0x1400d96d9
mov esi, r12d
jmp 0x1400d96e6
test ecx, ecx
jle 0x1400d98a9
cdq
idiv ecx
cmp eax, 1
cmovb r12d, eax
xor eax, eax
test ecx, ecx
je 0x1400d9a6d
cmp rsi, 0x1388
jb 0x1400d9a6d
mov dword [rbp + 0x480], eax
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x1400d9aea
nop word [rax + rax]
lea rdx, str._A_AppData_
mov rcx, rbx
call fcn.1400d6b70
mov rdx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400d99d7
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov rbx, rax
mov rax, qword [rsp + 0x48]
sub rbx, rax
sar rbx, 1
lea rcx, [rbx + r14]
add rcx, r15
cmp rcx, qword [rsp + 0x40]
jb 0x1400d9981
mov rax, rdx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, ecx
movsxd r9, esi
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400d9a13
mov r13, rax
mov rax, qword [rsp + 0x48]
test rbx, rbx
je 0x1400d99a0
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
test r14, r14
je 0x1400d99c0
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, r14
mov rbx, qword [rsp + 0x58]
add rbx, 0x16
mov qword [rsp + 0x48], rbx
test r12d, r12d
jne 0x1400d98e0
cmp dword [rbp + 0x480], 0
je 0x1400d9aea
mov rax, rbx
sub rax, rdi
sar rax, 1
sub rsi, rax
je 0x1400d9a47
lea r14, [rsi + r15]
cmp r14, qword [rsp + 0x40]
jb 0x1400d9a2d
lea rdx, [r14*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400d9a2a
test r13, r13
je 0x1400d9aea
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400d9aea
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15, r14
xor ebx, ebx
mov word [r13 + r15*2], bx
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400d9aec
mov r15, rdi
test r12d, r12d
je 0x1400d9aea
nop word [rax + rax]
lea rdx, str._A_AppData_
mov rcx, r15
call fcn.1400d6b70
mov rbx, rax
test rax, rax
je 0x1400d9aea
lea r13, [r14 + r14]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400d9acb
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, rsi
sub r8, rcx
lea r8, [r8*2 - 0x14]
lea rdx, [rax + 0x16]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add rsi, rax
add r12d, 0xffffffff
jne 0x1400d9a80
xor ebx, ebx
lea rdx, str._A_AppDataCommon_
mov rcx, rdi
call fcn.1400d6b70
test rax, rax
je 0x1400d9e0a
mov edx, 2
mov ecx, 0x41
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400d9b3e
mov word [rbp + 0x1a0], bx
mov rcx, rbx
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d9b41
mov rsi, 0xffffffffffffffff
mov r12d, 1
inc rsi
cmp word [rdi + rsi*2], 0
jne 0x1400d9b64
mov r13, rbx
mov r15, rbx
mov qword [rsp + 0x40], rbx
cmp word [rdi], 0
je 0x1400d9e0a
lea rax, [rbp - 0x70]
mov r14, 0xffffffffffffffff
nop
inc r14
cmp word [rax + r14*2], 0
jne 0x1400d9b90
lea ecx, [r14 - 0x11]
mov dword [rbp + 0x490], ecx
mov rax, qword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x1400d9bca
sub eax, esi
sub eax, r12d
jns 0x1400d9bbc
mov r12d, ebx
jmp 0x1400d9bca
test ecx, ecx
jle 0x1400d9bcc
cdq
idiv ecx
cmp eax, r12d
cmovb r12d, eax
test ecx, ecx
je 0x1400d9d8e
cmp rsi, 0x1388
jb 0x1400d9d8e
mov dword [rbp + 0x480], ebx
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x1400d9e0a
nop word [rax + rax]
lea rdx, str._A_AppDataCommon_
mov rcx, rbx
call fcn.1400d6b70
mov rdx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400d9cf7
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov rbx, rax
mov rax, qword [rsp + 0x48]
sub rbx, rax
sar rbx, 1
lea rcx, [r14 + r15]
add rcx, rbx
cmp rcx, qword [rsp + 0x40]
jb 0x1400d9ca1
mov rax, rdx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, ecx
movsxd r9, esi
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400d9d33
mov r13, rax
mov rax, qword [rsp + 0x48]
test rbx, rbx
je 0x1400d9cc0
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
test r14, r14
je 0x1400d9ce0
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, r14
mov rbx, qword [rsp + 0x58]
add rbx, 0x22
mov qword [rsp + 0x48], rbx
test r12d, r12d
jne 0x1400d9c00
cmp dword [rbp + 0x480], 0
je 0x1400d9e0a
mov rax, rbx
sub rax, rdi
sar rax, 1
sub rsi, rax
je 0x1400d9d67
lea r14, [r15 + rsi]
cmp r14, qword [rsp + 0x40]
jb 0x1400d9d4d
lea rdx, [r14*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400d9d4a
test r13, r13
je 0x1400d9e0a
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400d9e0a
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15, r14
xor r14d, r14d
mov word [r13 + r15*2], r14w
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400d9e0d
mov r15, rdi
test r12d, r12d
je 0x1400d9e0a
nop word [rax + rax]
lea rdx, str._A_AppDataCommon_
mov rcx, r15
call fcn.1400d6b70
mov rbx, rax
test rax, rax
je 0x1400d9e0a
lea r13, [r14 + r14]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400d9deb
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, rsi
sub r8, rcx
lea r8, [r8*2 - 0x20]
lea rdx, [rax + 0x22]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add rsi, rax
add r12d, 0xffffffff
jne 0x1400d9da0
xor r14d, r14d
lea rdx, str._A_AhkPath_
mov rcx, rdi
call fcn.1400d6b70
test rax, rax
je 0x1400da10a
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, r14
nop dword [rax]
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d9e40
mov rbx, 0xffffffffffffffff
mov r12d, 1
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400d9e63
mov r13, r14
mov r15, r14
mov qword [rsp + 0x40], r14
cmp word [rdi], 0
je 0x1400da10a
lea rax, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400d9e90
lea ecx, [rsi - 0xb]
mov dword [rbp + 0x490], ecx
mov rax, qword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x1400d9ec8
sub eax, ebx
sub eax, r12d
jns 0x1400d9eba
mov r12d, r14d
jmp 0x1400d9ec8
test ecx, ecx
jle 0x1400d9eca
cdq
idiv ecx
cmp eax, r12d
cmovb r12d, eax
test ecx, ecx
je 0x1400da095
cmp rbx, 0x1388
jb 0x1400da095
mov dword [rbp + 0x480], r14d
mov r14, rdi
mov qword [rsp + 0x48], rdi
test r12d, r12d
je 0x1400da10a
nop word [rax + rax]
lea rdx, str._A_AhkPath_
mov rcx, r14
call fcn.1400d6b70
mov rcx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400d9fff
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov r14, rax
mov rax, qword [rsp + 0x48]
sub r14, rax
sar r14, 1
lea rdx, [r14 + r15]
mov qword [rsp + 0x58], rdx
lea r8, [rdx + rsi]
cmp r8, qword [rsp + 0x40]
jb 0x1400d9fa7
mov rax, rcx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, r8d
movsxd r9, ebx
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400da03b
mov r13, rax
mov rax, qword [rsp + 0x48]
test r14, r14
je 0x1400d9fc8
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rsp + 0x58]
test rsi, rsi
je 0x1400d9fe8
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
mov r14, qword [rsp + 0x60]
add r14, 0x16
mov qword [rsp + 0x48], r14
test r12d, r12d
jne 0x1400d9f00
cmp dword [rbp + 0x480], 0
je 0x1400da10a
mov rax, r14
sub rax, rdi
sar rax, 1
sub rbx, rax
je 0x1400da06f
lea rsi, [rbx + r15]
cmp rsi, qword [rsp + 0x40]
jb 0x1400da055
lea rdx, [rsi*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400da052
test r13, r13
je 0x1400da10a
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400da10a
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r15, rsi
xor eax, eax
mov word [r13 + r15*2], ax
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400da10a
mov r15, rdi
test r12d, r12d
je 0x1400da10a
nop dword [rax]
lea rdx, str._A_AhkPath_
mov rcx, r15
call fcn.1400d6b70
mov r14, rax
test rax, rax
je 0x1400da10a
lea r13, [rsi + rsi]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400da0eb
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, rbx
sub r8, rcx
lea r8, [r8*2 - 0x14]
lea rdx, [rax + 0x16]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add rbx, rax
add r12d, 0xffffffff
jne 0x1400da0a0
lea rdx, str._A_AhkDir_
mov rcx, rdi
call fcn.1400d6b70
mov ebx, 0x5c
test rax, rax
je 0x1400da42f
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, ebx
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
lea rax, [rbp + 0x1a0]
sub rbx, rax
sar rbx, 1
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
mov word [rbp + rbx*2 - 0x70], dx
mov r12d, 1
mov r14, 0xffffffffffffffff
inc r14
cmp word [rdi + r14*2], dx
jne 0x1400da183
mov r13, rdx
mov r15, rdx
mov qword [rsp + 0x40], rdx
cmp word [rdi], dx
je 0x1400da42a
lea rax, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], dx
jne 0x1400da1b0
lea ecx, [rsi - 0xa]
mov dword [rbp + 0x490], ecx
mov rax, qword [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x1400da1ea
sub eax, r14d
sub eax, r12d
jns 0x1400da1da
mov r12d, edx
jmp 0x1400da1ea
test ecx, ecx
jle 0x1400da1ec
cdq
idiv ecx
cmp eax, r12d
cmovb r12d, eax
xor edx, edx
test ecx, ecx
je 0x1400da3ad
cmp r14, 0x1388
jb 0x1400da3ad
mov dword [rbp + 0x480], edx
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x1400da42a
nop word [rax + rax]
lea rdx, str._A_AhkDir_
mov rcx, rbx
call fcn.1400d6b70
mov rdx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400da317
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov rbx, rax
mov rax, qword [rsp + 0x48]
sub rbx, rax
sar rbx, 1
lea rcx, [rbx + rsi]
add rcx, r15
cmp rcx, qword [rsp + 0x40]
jb 0x1400da2c1
mov rax, rdx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, ecx
movsxd r9, r14d
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400da353
mov r13, rax
mov rax, qword [rsp + 0x48]
test rbx, rbx
je 0x1400da2e0
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
test rsi, rsi
je 0x1400da300
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
mov rbx, qword [rsp + 0x60]
add rbx, 0x14
mov qword [rsp + 0x48], rbx
test r12d, r12d
jne 0x1400da220
cmp dword [rbp + 0x480], 0
je 0x1400da42a
mov rax, rbx
sub rax, rdi
sar rax, 1
sub r14, rax
je 0x1400da387
lea rsi, [r14 + r15]
cmp rsi, qword [rsp + 0x40]
jb 0x1400da36d
lea rdx, [rsi*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400da36a
test r13, r13
je 0x1400da42a
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400da42a
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15, rsi
xor eax, eax
mov word [r13 + r15*2], ax
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400da42a
mov r15, rdi
test r12d, r12d
je 0x1400da42a
nop word [rax + rax]
lea rdx, str._A_AhkDir_
mov rcx, r15
call fcn.1400d6b70
mov rbx, rax
test rax, rax
je 0x1400da42a
lea r13, [rsi + rsi]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400da40b
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, r14
sub r8, rcx
lea r8, [r8*2 - 0x12]
lea rdx, [rax + 0x14]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add r14, rax
add r12d, 0xffffffff
jne 0x1400da3c0
mov ebx, 0x5c
lea rdx, str._A_DllDir_
mov rcx, rdi
call fcn.1400d6b70
test rax, rax
je 0x1400da76a
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
mov rcx, qword [0x140132b60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400da47a
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, ebx
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
lea rax, [rbp + 0x1a0]
sub rbx, rax
sar rbx, 1
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
mov word [rbp + rbx*2 - 0x70], dx
mov r12d, 1
mov r14, 0xffffffffffffffff
inc r14
cmp word [rdi + r14*2], dx
jne 0x1400da4c1
mov r13, rdx
mov r15, rdx
mov qword [rsp + 0x40], rdx
cmp word [rdi], dx
je 0x1400da76a
lea rax, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], dx
jne 0x1400da4f0
lea ecx, [rsi - 0xa]
mov dword [rbp + 0x490], ecx
mov rbx, qword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x1400da52c
mov eax, ebx
sub eax, r14d
sub eax, r12d
jns 0x1400da51c
mov r12d, edx
jmp 0x1400da52c
test ecx, ecx
jle 0x1400da52e
cdq
idiv ecx
cmp eax, r12d
cmovb r12d, eax
xor edx, edx
test ecx, ecx
je 0x1400da6ed
cmp r14, 0x1388
jb 0x1400da6ed
mov dword [rbp + 0x480], edx
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x1400da76a
nop dword [rax + rax]
lea rdx, str._A_DllDir_
mov rcx, rbx
call fcn.1400d6b70
mov rdx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400da657
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov rbx, rax
mov rax, qword [rsp + 0x48]
sub rbx, rax
sar rbx, 1
lea rcx, [rbx + rsi]
add rcx, r15
cmp rcx, qword [rsp + 0x40]
jb 0x1400da601
mov rax, rdx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, ecx
movsxd r9, r14d
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400da693
mov r13, rax
mov rax, qword [rsp + 0x48]
test rbx, rbx
je 0x1400da620
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
test rsi, rsi
je 0x1400da640
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, rsi
mov rbx, qword [rsp + 0x60]
add rbx, 0x14
mov qword [rsp + 0x48], rbx
test r12d, r12d
jne 0x1400da560
cmp dword [rbp + 0x480], 0
je 0x1400da76a
mov rax, rbx
sub rax, rdi
sar rax, 1
sub r14, rax
je 0x1400da6c7
lea rsi, [r14 + r15]
cmp rsi, qword [rsp + 0x40]
jb 0x1400da6ad
lea rdx, [rsi*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400da6aa
test r13, r13
je 0x1400da76a
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400da76a
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15, rsi
xor eax, eax
mov word [r13 + r15*2], ax
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400da76a
mov r15, rdi
test r12d, r12d
je 0x1400da76f
nop word [rax + rax]
lea rdx, str._A_DllDir_
mov rcx, r15
call fcn.1400d6b70
mov rbx, rax
test rax, rax
je 0x1400da76a
lea r13, [rsi + rsi]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400da74b
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, r14
sub r8, rcx
lea r8, [r8*2 - 0x12]
lea rdx, [rax + 0x14]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add r14, rax
add r12d, 0xffffffff
jne 0x1400da700
mov rbx, qword [rsp + 0x50]
lea rdx, str._A_DllPath_
mov rcx, rdi
call fcn.1400d6b70
test rax, rax
je 0x1400daa8a
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
mov rcx, qword [0x140132b60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400da7ba
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov ecx, edx
nop
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400da7c0
mov rsi, 0xffffffffffffffff
mov r12d, 1
inc rsi
cmp word [rdi + rsi*2], dx
jne 0x1400da7e3
mov r13, rdx
mov r15, rdx
mov qword [rsp + 0x40], rdx
cmp word [rdi], dx
je 0x1400daa8a
lea rax, [rbp - 0x70]
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp word [rax + r14*2], dx
jne 0x1400da810
lea ecx, [r14 - 0xb]
mov dword [rbp + 0x490], ecx
cmp rbx, 0xffffffffffffffff
je 0x1400da848
sub ebx, esi
sub ebx, r12d
jns 0x1400da836
mov r12d, edx
jmp 0x1400da848
test ecx, ecx
jle 0x1400da84a
mov eax, ebx
cdq
idiv ecx
cmp eax, r12d
cmovb r12d, eax
xor edx, edx
test ecx, ecx
je 0x1400daa11
cmp rsi, 0x1388
jb 0x1400daa11
mov dword [rbp + 0x480], edx
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r12d, r12d
je 0x1400daa8a
nop dword [rax]
nop dword [rax + rax]
lea rdx, str._A_DllPath_
mov rcx, rbx
call fcn.1400d6b70
mov rdx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400da977
mov r10d, dword [rbp + 0x480]
inc r10d
mov dword [rbp + 0x480], r10d
dec r12d
mov rbx, rax
mov rax, qword [rsp + 0x48]
sub rbx, rax
sar rbx, 1
lea rcx, [rbx + r14]
add rcx, r15
cmp rcx, qword [rsp + 0x40]
jb 0x1400da921
mov rax, rdx
sub rax, rdi
sar rax, 1
movsxd rdx, eax
movsxd rax, ecx
movsxd r9, esi
movsxd rcx, dword [rbp + 0x490]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov edx, r10d
call fcn.1400d73f0
mov qword [rsp + 0x40], rax
lea rdx, [rax + rax]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400da9b3
mov r13, rax
mov rax, qword [rsp + 0x48]
test rbx, rbx
je 0x1400da940
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add r15, rbx
test r14, r14
je 0x1400da960
lea rcx, [r15*2]
add rcx, r13
lea r8, [r14 + r14]
lea rdx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
add r15, r14
mov rbx, qword [rsp + 0x60]
add rbx, 0x16
mov qword [rsp + 0x48], rbx
test r12d, r12d
jne 0x1400da880
cmp dword [rbp + 0x480], 0
je 0x1400daa8a
mov rax, rbx
sub rax, rdi
sar rax, 1
sub rsi, rax
je 0x1400da9e7
lea r14, [rsi + r15]
cmp r14, qword [rsp + 0x40]
jb 0x1400da9cd
lea rdx, [r14*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
jne 0x1400da9ca
test r13, r13
je 0x1400daa8a
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400daa8a
mov r13, rax
lea rcx, [r15*2]
add rcx, r13
lea r8, [rsi + rsi]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r15, r14
xor r12d, r12d
mov word [r13 + r15*2], r12w
lea r8, [r15*2 + 2]
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400daa8d
mov r15, rdi
test r12d, r12d
je 0x1400daa8a
nop dword [rax]
lea rdx, str._A_DllPath_
mov rcx, r15
call fcn.1400d6b70
mov rbx, rax
test rax, rax
je 0x1400daa8a
lea r13, [r14 + r14]
lea r15, [rax + r13]
cmp dword [rbp + 0x490], 0
je 0x1400daa6b
mov rcx, rax
sub rcx, rdi
sar rcx, 1
mov r8, rsi
sub r8, rcx
lea r8, [r8*2 - 0x14]
lea rdx, [rax + 0x16]
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r13
lea rdx, [rbp - 0x70]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbp + 0x490]
add rsi, rax
add r12d, 0xffffffff
jne 0x1400daa20
xor r12d, r12d
mov edx, 0x25
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400daaaf
mov r8, rdi
lea rdx, str.Reference_not_allowed_here__use__where_possible._Only__A_AhkPath___A_AhkDir___A_DllPath___A_DllDir___A_ScriptDir___A_AppData_Common___can_be_used_here.
jmp 0x1400db33b
mov r15d, 0x2c
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400daad6
mov edx, r15d
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov word [rax], r12w
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x490]
lea rdx, [rbp + 0x480]
lea rcx, str._s_A_Fa_f0_9__:_A_Fa_f0_9____s_
call fcn.140088910
test rax, rax
je 0x1400dadc3
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp word [rdi + r9*2], 0
jne 0x1400dab10
mov dword [rsp + 0x38], SafeArrayAllocDescriptor
lea rcx, [rbp + 0x3b0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r8, rdi
mov rdx, qword [rbp + 0x490]
mov rcx, rax
call fcn.1400f45e0
test eax, eax
js 0x1400dadc3
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [rdi + rax*2]
test rcx, rcx
je 0x1400dadc3
mov qword [rbp + 0x490], 0x780030
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400dab97
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
lea rdi, [rax + 2]
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400dabc3
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rsi, rax
sub rsi, rdi
sar rsi, 1
jmp 0x1400dabdc
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400dabd0
mov esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x1400dadb4
cmp qword [0x140134fc8], 0
jne 0x1400dac15
call fcn.1400d2e00
mov qword [0x140134fc8], rax
test rax, rax
je 0x1400dadb4
mov rcx, qword [0x140134fc0]
cmp rbx, qword [rcx + 0x10]
jbe 0x1400dac3b
call fcn.1400d2e00
mov rcx, qword [0x140134fc0]
mov qword [rcx + 0x18], rax
test rax, rax
je 0x1400dadb4
mov r15, qword [rcx + 8]
mov qword [rsp + 0x58], r15
mov qword [0x140134fb8], r15
mov rax, rbx
and eax, 7
mov rdx, rbx
je 0x1400dac5d
sub rdx, rax
add rdx, 8
lea rax, [rdx + r15]
mov qword [rcx + 8], rax
sub qword [rcx + 0x10], rdx
test r15, r15
je 0x1400dadb4
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1400dac9e
mov r8, rdi
lea rdx, str.Could_not_commit_memory_for_DllImport.
jmp 0x1400db33b
mov ebx, r12d
test esi, esi
jle 0x1400dacef
mov r14, rdi
nop dword [rax + rax]
mov r8d, 2
mov rdx, r14
lea rcx, [rbp + 0x494]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
mov r8d, reloc.WSOCK32.dll_recv
lea rcx, [rbp + 0x490]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ecx, ebx
shr rcx, 1
mov byte [rcx + r15], al
add ebx, 2
add r14, 4
cmp ebx, esi
jl 0x1400dacb0
mov r15d, 0x2c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400dad00
inc rax
lea rbx, [rdi + rax*2]
mov rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400d2c40
mov r14, rax
mov byte [rbp + 0x480], 0
cmp word [rax], 0
je 0x1400dad42
mov rcx, rax
call fcn.14001eeb0
test eax, eax
mov r13d, 1
je 0x1400dad45
mov r13d, r12d
cmp word [r14], 0
je 0x1400dae39
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400dad8c
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
lea rbx, [rax + 2]
test rax, rax
cmove rbx, rax
inc r13d
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x1400dad61
cmp word [r14], 0
je 0x1400dae39
cmp r13d, 1
jge 0x1400dae39
mov r8, qword [rbp + 0x488]
lea rdx, str.Parameter_3_required
jmp 0x1400db33b
mov r8, rdi
lea rdx, str.Out_of_memory.
jmp 0x1400db33b
mov rcx, rdi
call fcn.140005d80
mov qword [rsp + 0x58], rax
mov rsi, rdi
test rax, rax
jne 0x1400dacf5
mov edi, 0x5c
mov edx, edi
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x1400dae12
mov word [rax], r12w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400dae0f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov word [rbx], di
xor edx, edx
mov rcx, rsi
call fcn.1400829e0
mov qword [rsp + 0x58], rax
mov rdi, rsi
test rax, rax
jne 0x1400dacf5
lea rdx, str.Call_to_nonexistent_function.
jmp 0x1400db338
cmp qword [0x140134fc8], 0
jne 0x1400dae58
call fcn.1400d2e00
mov qword [0x140134fc8], rax
test rax, rax
je 0x1400db055
mov r8, qword [0x140134fc0]
cmp qword [r8 + 0x10], 0x10
jae 0x1400dae7f
call fcn.1400d2e00
mov r8, qword [0x140134fc0]
mov qword [r8 + 0x18], rax
test rax, rax
je 0x1400db055
mov r15, qword [r8 + 8]
mov qword [0x140134fb8], r15
lea rax, [r15 + 0x10]
mov qword [r8 + 8], rax
add qword [r8 + 0x10], 0xfffffffffffffff0
test r15, r15
je 0x1400db055
mov qword [r15], 0
mov qword [r15 + 8], 0
test r13b, 1
jne 0x1400daec2
mov dword [r15 + 8], 2
jmp 0x1400daf52
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400daed1
cmp ax, 9
jne 0x1400daed7
add rbx, 2
jmp 0x1400daec2
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], r12
mov r8d, 5
lea rdx, str.CDecl
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400daf29
add rbx, 0xa
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400daf0f
cmp ax, 9
jne 0x1400daf15
add rbx, 2
jmp 0x1400daf00
mov qword [rsp + 0x78], rbx
test ax, ax
jne 0x1400daf29
mov dword [r15 + 8], 2
jmp 0x1400daf48
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140082280
cmp dword [r15 + 8], 0
je 0x1400db32a
mov byte [rbp + 0x480], 1
dec r13d
mov r8, qword [0x140134fc0]
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
movsxd rdi, eax
je 0x1400db068
mov rbx, rdi
shl rbx, 4
lea rcx, [rbx - 1]
cmp rcx, 0xffff
ja 0x1400dafd2
cmp qword [0x140134fc8], 0
jne 0x1400daf99
call fcn.1400d2e00
mov qword [0x140134fc8], rax
mov r8, qword [0x140134fc0]
test rax, rax
je 0x1400dafd2
cmp rbx, qword [r8 + 0x10]
jbe 0x1400dafb4
call fcn.1400d2e00
mov r8, qword [0x140134fc0]
mov qword [r8 + 0x18], rax
test rax, rax
je 0x1400dafd2
mov rsi, qword [r8 + 8]
mov qword [rsp + 0x50], rsi
mov qword [0x140134fb8], rsi
lea rax, [rsi + rbx]
mov qword [r8 + 8], rax
sub qword [r8 + 0x10], rbx
jmp 0x1400dafda
mov rsi, r12
mov qword [rsp + 0x50], r12
mov rbx, rdi
shl rbx, 4
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x1400db043
cmp qword [0x140134fc8], 0
jne 0x1400db00f
call fcn.1400d2e00
mov qword [0x140134fc8], rax
mov r8, qword [0x140134fc0]
test rax, rax
je 0x1400db043
cmp rbx, qword [r8 + 0x10]
jbe 0x1400db02a
call fcn.1400d2e00
mov r8, qword [0x140134fc0]
mov qword [r8 + 0x18], rax
test rax, rax
je 0x1400db043
mov rcx, qword [r8 + 8]
mov qword [0x140134fb8], rcx
lea rax, [rcx + rbx]
mov qword [r8 + 8], rax
sub qword [r8 + 0x10], rbx
jmp 0x1400db046
mov rcx, r12
mov qword [rsp + 0x40], rcx
test rsi, rsi
je 0x1400db055
test rcx, rcx
jne 0x1400db072
lea r8, [0x1400f97e4]
lea rdx, str.Out_of_memory.
jmp 0x1400db33b
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x40], r12
lea edi, [rdi*8]
movsxd rbx, edi
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x1400db0e3
cmp qword [0x140134fc8], 0
jne 0x1400db0aa
call fcn.1400d2e00
mov qword [0x140134fc8], rax
test rax, rax
je 0x1400db0e3
mov r8, qword [0x140134fc0]
cmp rbx, qword [r8 + 0x10]
jbe 0x1400db0c5
call fcn.1400d2e00
mov r8, qword [0x140134fc0]
mov qword [r8 + 0x18], rax
test rax, rax
je 0x1400db0e3
mov rsi, qword [r8 + 8]
mov qword [rsp + 0x48], rsi
mov qword [0x140134fb8], rsi
lea rax, [rbx + rsi]
mov qword [r8 + 8], rax
sub qword [r8 + 0x10], rbx
jmp 0x1400db0eb
mov rsi, r12
mov qword [rsp + 0x48], r12
test edi, edi
je 0x1400db0f8
test rsi, rsi
je 0x1400db055
movsxd r8, edi
test edi, edi
je 0x1400db109
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov ebx, r12d
mov dword [rbp + 0x490], ebx
cmp r13d, 1
jle 0x1400db2db
mov qword [rsp + 0x68], r12
mov r12, rsi
mov rsi, qword [rsp + 0x50]
nop dword [rax]
mov edx, 0x2c
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rdi, rax
xor eax, eax
mov word [rdi], ax
add rdi, 2
mov qword [rsp + 0x60], r14
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140082280
mov edx, dword [rsi + 8]
mov eax, edx
test edx, edx
je 0x1400db32a
sub eax, 1
je 0x1400db1fb
sub eax, 5
je 0x1400db1d8
sub eax, 1
je 0x1400db1d8
cmp eax, 1
je 0x1400db1bf
cmp byte [rsi + 0xd], 0
je 0x1400db1ac
cmp edx, 5
jne 0x1400db1ac
mov rcx, rdi
call fcn.140005d80
test rax, rax
jne 0x1400db1ac
mov rcx, rdi
call fcn.1400669e0
mov rcx, rsi
mov qword [rcx], rax
jmp 0x1400db28e
mov rcx, rdi
call fcn.140005d80
mov rcx, rsi
mov qword [rcx], rax
jmp 0x1400db28e
mov rcx, rdi
call fcn.140005d80
test rax, rax
jne 0x1400db32a
mov qword [rsi], rdi
jmp 0x1400db28e
mov rcx, rdi
call fcn.140033dc0
movsd qword [rsi], xmm0
cmp dword [rsi + 8], 6
jne 0x1400db28e
cvtsd2ss xmm0, xmm0
movss dword [rsi], xmm0
jmp 0x1400db28e
mov rcx, rdi
call fcn.140005d80
test rax, rax
jne 0x1400db32a
mov edx, 0x2c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
test rax, rax
je 0x1400db228
xor eax, eax
mov word [r14], ax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400f6104
mov rbx, rax
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], al
lea rax, vtable.CStringCharFromWChar.0
mov qword [rbx], rax
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rdi
call fcn.1400d3040
nop
mov qword [r12], rbx
test r14, r14
je 0x1400db26e
mov word [r14], 0x2c
mov rbx, qword [r12]
mov rcx, rbx
call fcn.14000fc30
mov byte [rbx + 0x10], 1
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov qword [rsi], rcx
mov ebx, dword [rbp + 0x490]
mov edx, 0x2c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
test rax, rax
je 0x1400db2ae
xor eax, eax
mov word [r14], ax
add r14, 2
inc ebx
mov dword [rbp + 0x490], ebx
add rsi, 0x10
add r12, 8
mov eax, dword [rbp + 0x498]
add eax, 2
mov dword [rbp + 0x498], eax
cmp eax, r13d
jl 0x1400db130
xor r12d, r12d
jmp 0x1400db2e2
mov rdi, qword [rbp + 0x480]
cmp byte [rbp + 0x480], 0
je 0x1400db2f4
test r13d, r13d
je 0x1400db2f4
mov word [rdi], r12w
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbp - 0x78]
mov qword [rcx + 0x28], rax
mov dword [rcx + 0x20], ebx
mov qword [rcx + 0x38], r15
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x18], rax
mov eax, 3
jmp 0x1400db347
mov eax, 4
jmp 0x1400db347
lea rdx, str.Parameter_2_required
mov r8, rsi
lea rcx, [0x140136060]
call fcn.140064aa0
add rsp, 0x538
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret