Function at 0x14003f980
Capabilities:
Check if file exists
Get file attributes
Get keyboard layout
Set current directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x158
movzx r8d, word [0x140130c70]
xor ebp, ebp
mov dword [rsp + 0x70], 0x90020
mov r9, rdx
mov word [rsp + 0x74], r8w
mov r14, rcx
mov word [rsp + 0x76], bp
mov edi, SafeArrayAllocDescriptor
mov r11, rdx
mov rbx, 0xffffffffffffffff
mov r10d, 2
mov r13d, 0xffdf
test rdx, rdx
je 0x14003fa20
movzx edx, word [rdx]
test dx, dx
je 0x14003fa20
nop dword [rax + rax]
lea rcx, [rsp + 0x70]
movzx eax, di
nop dword [rax + rax]
cmp dx, ax
je 0x14003fa8c
add rcx, r10
movzx eax, word [rcx]
test ax, ax
jne 0x14003fa00
add r11, r10
movzx edx, word [r11]
test dx, dx
jne 0x14003f9f0
mov rax, rbx
cmp word [r9 + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x14003fa23
lea r11, [r9 + rax*2]
mov r12, rbp
sub r11, r9
xor r15b, r15b
sar r11, 1
mov qword [rsp + 0x1b8], r11
mov rsi, r11
test r9, r9
je 0x140042227
cmp r11, rbx
jne 0x14003fa6a
mov rsi, rbx
nop dword [rax + rax]
inc rsi
cmp word [r9 + rsi*2], bp
jne 0x14003fa60
mov r13d, 8
lea rbx, [0x140000000]
cmp rsi, r13
mov r14d, r13d
cmovb r14, rsi
test r14, r14
je 0x14003fb5f
jmp 0x14003faf6
test r11, r11
je 0x14003fa20
mov r12, r11
movzx eax, word [r12]
cmp ax, di
je 0x14003faa4
cmp ax, 9
jne 0x14003faa9
add r12, r10
jmp 0x14003fa94
test ax, ax
je 0x14003fa33
cmp ax, r8w
je 0x14003faca
sub r11, r9
sar r11, 1
mov qword [rsp + 0x1b8], r11
xor r15b, r15b
mov rsi, r11
jmp 0x14003fa53
add r12, r10
movzx eax, word [r12]
cmp ax, di
je 0x14003faca
cmp ax, 9
je 0x14003faca
test ax, ax
jne 0x14003fa36
mov r12, rbp
jmp 0x14003fab4
mov r10d, 2
movzx edi, word [r9 + rbp*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003fb1a
mov edx, r10d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fb1a
mov eax, 0xffdf
and di, ax
movzx ebx, word [rbx + rbp*2 + 0x1135e8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003fb43
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fb43
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14003fb6a
mov r9, qword [rsp + 0x1a8]
lea rbx, [0x140000000]
inc rbp
cmp rbp, r14
jb 0x14003faf0
lea eax, [rsi - 8]
test eax, eax
je 0x140042217
mov rbp, qword [rsp + 0x1b8]
mov r15, qword [rsp + 0x1a8]
cmp rbp, 0xffffffffffffffff
jne 0x14003fb8b
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x14003fb80
mov r14d, ntohs
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x14003fc03
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003fbc6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fbc6
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113d68]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003fbf6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fbf6
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14003fc1c
inc rsi
cmp rsi, r14
jb 0x14003fba0
lea eax, [rbp - 0xd]
test eax, eax
sete r15b
test eax, eax
je 0x140042217
mov r15, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14003fc3b
nop word [rax + rax]
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x14003fc30
mov r14d, 6
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x14003fcb3
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003fc76
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fc76
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113df0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003fca6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fca6
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14003fccf
inc rsi
cmp rsi, r14
jb 0x14003fc50
lea ecx, [rbp - 6]
test ecx, ecx
jne 0x14003fccf
mov edx, 1
mov eax, 3
mov dword [0x140130c88], edx
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14003fceb
nop dword [rax]
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x14003fce0
mov r14d, reloc.WSOCK32.dll_inet_ntoa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x14003fd63
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003fd26
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fd26
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113e00]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003fd56
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fd56
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14003fd7b
inc rsi
cmp rsi, r14
jb 0x14003fd00
lea eax, [rbp - 0xb]
test eax, eax
jne 0x14003fd7b
mov byte [0x140132aed], 1
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14003fd9b
nop dword [rax]
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x14003fd90
mov r14d, reloc.WSOCK32.dll_inet_ntoa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x14003fe13
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003fdd6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fdd6
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113e18]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003fe06
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fe06
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14003fe2b
inc rsi
cmp rsi, r14
jb 0x14003fdb0
lea eax, [rbp - 0xb]
test eax, eax
jne 0x14003fe2b
mov byte [0x1401328fd], 1
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14003fe4b
nop dword [rax]
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x14003fe40
mov r14d, reloc.WSOCK32.dll_ntohs
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x14003fec7
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003fe86
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003fe86
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113e30]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003feb6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003feb6
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14003ff62
inc rsi
cmp rsi, r14
jb 0x14003fe60
lea eax, [rbp - 0xf]
test eax, eax
jne 0x14003ff62
mov edx, 1
mov dword [0x140132ae8], edx
test r12, r12
je 0x1400423a6
lea rdx, str.Force
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14003ff0e
mov dword [0x140132ae8], 2
mov eax, 3
jmp 0x1400423d2
lea rdx, str.Ignore
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14003ff36
mov dword [0x140132ae8], 3
mov eax, 3
jmp 0x1400423d2
lea rdx, [0x140110270]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400423a6
mov dword [0x140132ae8], 4
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14003ff7b
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x14003ff70
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x14003fff3
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14003ffb6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003ffb6
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113e70]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14003ffe6
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14003ffe6
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14004000b
inc rsi
cmp rsi, r14
jb 0x14003ff90
lea eax, [rbp - 0x11]
test eax, eax
jne 0x14004000b
or byte [0x140132bb3], 1
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14004002b
nop dword [rax]
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x140040020
mov r14d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x1400400a3
nop
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040066
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040066
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113e98]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040096
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040096
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400400bb
inc rsi
cmp rsi, r14
jb 0x140040040
lea eax, [rbp - 0x11]
test eax, eax
jne 0x1400400bb
or byte [0x140132bb3], 2
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400400db
nop dword [rax]
inc rbp
cmp word [r15 + rbp*2], 0
jne 0x1400400d0
cmp rbp, r13
cmovb r13, rbp
xor esi, esi
test r13, r13
je 0x14004015d
nop dword [rax]
movzx edi, word [r15 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14004011a
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14004011a
mov r14d, 0xffdf
and di, r14w
jmp 0x140040120
mov r14d, 0xffdf
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113ec0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14004014c
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14004014c
and bx, r14w
cmp di, bx
jne 0x1400401de
inc rsi
cmp rsi, r13
jb 0x1400400f0
lea eax, [rbp - 8]
test eax, eax
jne 0x1400401de
test r12, r12
je 0x1400401cc
cmp word [r12], ax
je 0x1400401cc
lea rdx, [0x140110264]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400401cc
cmp word [r12], 0x31
jne 0x140040195
cmp word [r12 + 2], 0
je 0x1400401cc
lea rdx, [0x140110270]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400401ba
cmp word [r12], 0x30
jne 0x1400401cc
cmp word [r12 + 2], 0
jne 0x1400401cc
xor al, al
mov byte [0x14013290b], al
mov eax, 3
jmp 0x1400423d2
mov al, 1
mov byte [0x14013290b], al
mov eax, 3
jmp 0x1400423d2
mov r15, qword [rsp + 0x1b8]
mov r13, qword [rsp + 0x1a8]
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x14004020c
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040200
mov r14d, 3
cmp rbp, r14
cmovb r14, rbp
xor r10d, r10d
mov esi, r10d
test r14, r14
je 0x14004029b
nop dword [rax]
nop dword [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040257
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040257
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x10f048]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040287
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040287
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400403b5
inc rsi
cmp rsi, r14
jb 0x140040230
xor r10d, r10d
lea eax, [rbp - 3]
test eax, eax
jne 0x1400403b5
test r12, r12
je 0x140040506
mov r9, qword [0x140133908]
test r9, r9
je 0x1400402f5
nop dword [rax + rax]
mov r8, qword [r9 + 8]
mov rax, r12
sub r8, r12
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400402e4
add rax, 2
test ecx, ecx
jne 0x1400402d0
test edx, edx
je 0x1400403a0
mov r9, qword [r9 + 0x20]
test r9, r9
jne 0x1400402c0
mov qword [0x140133920], r10
mov rax, qword [0x14012f240]
lea rbx, [0x1400f97e4]
mov rsi, qword [rsp + 0x1a0]
xor r9d, r9d
mov qword [rsp + 0x38], r10
mov r8b, 0xe5
mov qword [rsp + 0x30], r10
mov rdx, r12
mov rdi, qword [rax + 0xd8]
mov rcx, rsi
mov qword [rax + 0xd8], r10
mov qword [rsp + 0x28], r10
mov byte [rsi + 0x3d], 1
mov qword [rsp + 0x20], rbx
call fcn.140042830
test eax, eax
je 0x140042377
mov rax, qword [0x14012f240]
mov byte [rsi + 0x3d], 0
mov qword [rax + 0xd8], rdi
mov rdi, qword [rsi + 0x668]
call fcn.1400187c0
mov qword [0x140133920], rax
test rax, rax
je 0x140042377
mov byte [rax], 5
mov qword [rax + 0x18], rdi
mov rcx, qword [rdi + 8]
mov rdx, qword [rcx + 8]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rbx
mov eax, 3
jmp 0x1400423d2
mov qword [0x140133920], r9
test r9, r9
jne 0x1400423a6
jmp 0x1400402fc
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x1400403cc
nop
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400403c0
mov r14d, 0xa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040444
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040407
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040407
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113ed8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040437
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040437
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14004046c
inc rsi
cmp rsi, r14
jb 0x1400403e0
lea eax, [rbp - 0xa]
test eax, eax
jne 0x14004046c
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.140005d80
mov dword [0x140130c74], eax
mov eax, 3
jmp 0x1400423d2
mov esi, 6
lea rdx, str.IfWin
mov r8d, esi
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400406a6
lea rcx, [r13 + 0xc]
mov r8d, 3
lea rdx, [0x140110420]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
mov edi, reloc.WSOCK32.dll_ioctlsocket
lea rdx, str.Active
mov ebx, eax
mov r8d, esi
mov eax, reloc.OLEAUT32.dll_SafeArrayGetUBound
test ebx, ebx
cmove edi, eax
add rdi, r13
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400404d9
test ebx, ebx
sete sil
inc sil
jmp 0x140040501
mov r8d, 5
lea rdx, str.Exist
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x14004069c
test ebx, ebx
sete sil
add sil, 3
test r12, r12
jne 0x14004051b
mov qword [0x140133920], 0
mov eax, 3
jmp 0x1400423d2
movzx r9d, word [0x140130c70]
xor r14d, r14d
movzx r11d, word [0x14012fafc]
mov r8d, r14d
movzx r10d, word [0x140130b2c]
mov rcx, r12
nop dword [rax]
movzx edx, word [rcx]
test dx, dx
je 0x140040572
movzx eax, dx
nop dword [rax + rax]
cmp dx, r11w
je 0x140040572
cmp ax, r9w
je 0x140040572
cmp ax, r10w
je 0x140040572
movzx eax, word [rcx + 2]
add rcx, 2
movzx edx, ax
test ax, ax
jne 0x140040550
movzx eax, word [rcx]
test ax, ax
je 0x1400405c0
cmp ax, r10w
je 0x1400405a4
cmp ax, r9w
jne 0x140040594
test r8, r8
jne 0x1400405a4
mov r8, rcx
add rcx, 2
jmp 0x140040540
add rcx, 2
cmp word [rcx], r14w
je 0x1400405c0
add rcx, 2
jmp 0x140040540
mov rcx, qword [rsp + 0x1a0]
lea rdx, str.Literal_commas_and_percent_signs_must_be_escaped__e.g.____
mov r8, r13
call fcn.140064aa0
jmp 0x1400423d2
lea rbx, [0x1400f97e4]
test r8, r8
je 0x14004065b
lea rdi, [r8 + 2]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x1400405e3
cmp ax, 9
jne 0x1400405e9
add rdi, 2
jmp 0x1400405d4
mov word [r8], r14w
sub r8, r12
sar r8, 1
cmp word [r12], r14w
je 0x14004064e
cmp r8, 0xffffffffffffffff
jne 0x14004060a
inc r8
cmp word [r12 + r8*2], r14w
jne 0x140040600
lea rax, [r8 - 1]
lea rax, [r12 + rax*2]
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140040621
cmp cx, 9
jne 0x14004062c
cmp rax, r12
je 0x14004063e
sub rax, 2
jmp 0x140040612
mov r8b, 1
mov word [rax + 2], r14w
mov rcx, rdi
call fcn.1400d8ba0
jmp 0x14004065e
cmp cx, 0x20
je 0x14004064a
cmp cx, 9
jne 0x14004064e
mov word [rax], r14w
mov r8b, 1
mov rcx, rdi
call fcn.1400d8ba0
jmp 0x14004065e
mov rdi, rbx
mov r8b, 1
mov rcx, r12
call fcn.1400d8ba0
mov r8, rdi
mov rdx, r12
movzx ecx, sil
call fcn.1400185e0
test eax, eax
jne 0x1400423a6
mov rcx, qword [rsp + 0x1a0]
lea rdx, str.Out_of_memory.
mov r8, rbx
call fcn.140064aa0
jmp 0x1400423d2
mov eax, 4
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x1400406bc
nop
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400406b0
mov r14d, 0xa
cmp rbp, r14
cmovb r14, rbp
xor ebx, ebx
mov esi, ebx
test r14, r14
je 0x14004074a
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040707
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040707
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113f78]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040737
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040737
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400408c7
inc rsi
cmp rsi, r14
jb 0x1400406e0
xor ebx, ebx
lea eax, [rbp - 0xa]
test eax, eax
jne 0x1400408c7
test r12, r12
je 0x1400423a6
lea rdx, str.EndChars
mov rcx, r12
call fcn.1400d6b70
mov r8, rax
test rax, rax
je 0x14004080a
movzx edx, word [rax]
test dx, dx
je 0x1400423a6
mov r9d, 9
nop dword [rax + rax]
lea rcx, [0x140113f90]
movzx eax, r9w
nop dword [rax + rax]
cmp dx, ax
je 0x1400407ca
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400407a0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140040790
mov eax, 3
jmp 0x1400423d2
test r8, r8
je 0x1400423a6
lea rdx, [r8 + 2]
mov r8d, WSAAsyncSelect
lea rcx, [0x140130ba0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor r8d, r8d
mov word [0x140130c68], bx
lea rcx, [0x140130ba0]
call fcn.1400d8ba0
mov eax, 3
jmp 0x1400423d2
mov r8d, 7
lea rdx, str.NoMouse
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140040834
mov byte [0x14012f23c], al
mov eax, 3
jmp 0x1400423d2
lea rax, [0x1401328fc]
mov rcx, r12
mov qword [rsp + 0x60], rax
lea r9, [0x140130c6c]
lea rax, [0x14013290d]
mov qword [rsp + 0x58], rax
lea r8, [0x140132d38]
lea rax, [0x14013290e]
mov qword [rsp + 0x50], rax
lea rdx, [0x140132d3c]
lea rax, [0x14012f23d]
mov qword [rsp + 0x48], rax
lea rax, [0x140132a8d]
mov qword [rsp + 0x40], rax
lea rax, [0x14013290f]
mov qword [rsp + 0x38], rax
lea rax, [0x14012f23e]
mov qword [rsp + 0x30], rax
lea rax, [0x14012f23f]
mov qword [rsp + 0x28], rax
lea rax, [0x140132a8c]
mov qword [rsp + 0x20], rax
call fcn.14001c8d0
mov eax, 3
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x1400408dc
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400408d0
mov r15d, reloc.WSOCK32.dll_shutdown
cmp rbp, r15
mov r14d, r15d
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040964
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040927
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040927
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113fa8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040957
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040957
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14004098c
inc rsi
cmp rsi, r14
jb 0x140040900
lea eax, [rbp - 0x16]
test eax, eax
jne 0x14004098c
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov dword [0x140130c8c], eax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400409ac
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400409a0
mov r14d, reloc.WSOCK32.dll_ntohs
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040a24
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x1400409e7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400409e7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113fd8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040a17
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040a17
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140040a5f
inc rsi
cmp rsi, r14
jb 0x1400409c0
lea eax, [rbp - 0xf]
test eax, eax
jne 0x140040a5f
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov dword [0x140130c78], eax
cmp eax, 0xa
jge 0x1400423a6
mov dword [0x140130c78], 0xa
mov eax, 3
jmp 0x1400423d2
mov r14, qword [rsp + 0x1b8]
mov rbp, r14
cmp r14, 0xffffffffffffffff
jne 0x140040a7c
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040a70
cmp rbp, r15
cmovb r15, rbp
xor esi, esi
test r15, r15
je 0x140040af4
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040ab7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040ab7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x113ff8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040ae7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040ae7
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140040b30
inc rsi
cmp rsi, r15
jb 0x140040a90
lea eax, [rbp - 0x16]
test eax, eax
jne 0x140040b30
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov dword [0x140130c7c], eax
cmp eax, 1
jge 0x1400423a6
mov edx, 1
mov eax, 3
mov dword [0x140130c7c], edx
jmp 0x1400423d2
mov rbp, r14
cmp r14, 0xffffffffffffffff
jne 0x140040b4c
nop dword [rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040b40
mov r14d, reloc.OLEAUT32.dll_SafeArrayLock
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040bca
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040b8b
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040b8b
mov r15d, 0xffdf
and di, r15w
jmp 0x140040b91
mov r15d, 0xffdf
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114028]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040bbd
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040bbd
and bx, r15w
cmp di, bx
jne 0x140040c07
inc rsi
cmp rsi, r14
jb 0x140040b60
lea eax, [rbp - 0x14]
test eax, eax
jne 0x140040c07
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov ecx, 0xff
cmp eax, ecx
jg 0x140040bf7
mov edx, 1
mov ecx, eax
cmp eax, edx
cmovl ecx, edx
mov byte [0x14012f24c], cl
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x140040c2c
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040c20
mov r15d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
cmp rbp, r15
mov r14d, r15d
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040cb8
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040c77
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040c77
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114058]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040ca7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040ca7
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140040d39
inc rsi
cmp rsi, r14
jb 0x140040c50
lea eax, [rbp - 0x11]
test eax, eax
jne 0x140040d39
test r12, r12
je 0x140040d27
cmp word [r12], ax
je 0x140040d27
lea rdx, [0x140110264]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140040d27
cmp word [r12], 0x31
jne 0x140040cf0
cmp word [r12 + 2], 0
je 0x140040d27
lea rdx, [0x140110270]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140040d15
cmp word [r12], 0x30
jne 0x140040d27
cmp word [r12 + 2], 0
jne 0x140040d27
xor al, al
mov byte [0x140132ac6], al
mov eax, 3
jmp 0x1400423d2
mov al, 1
mov byte [0x140132ac6], al
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x140040d5c
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040d50
mov r14d, reloc.WSOCK32.dll_inet_ntoa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040dd4
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040d97
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040d97
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114080]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040dc7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040dc7
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140040e11
inc rsi
cmp rsi, r14
jb 0x140040d70
lea eax, [rbp - 0xb]
test eax, eax
jne 0x140040e11
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov ecx, 0xff
cmp eax, ecx
jg 0x140040e01
mov edx, 1
mov ecx, eax
cmp eax, edx
cmovl ecx, edx
mov dword [reloc.WSOCK32.dll_inet_addr], ecx
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x140040e2c
nop
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040e20
cmp rbp, r15
mov r14, r15
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040ea4
nop dword [rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040e67
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040e67
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114098]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040e97
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040e97
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140040ecc
inc rsi
cmp rsi, r14
jb 0x140040e40
lea eax, [rbp - 0x11]
test eax, eax
jne 0x140040ecc
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov dword [0x14012f258], eax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x140040eec
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140040ee0
mov r14d, 6
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140040f68
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140040f27
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040f27
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1140c0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140040f57
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140040f57
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140040fe9
inc rsi
cmp rsi, r14
jb 0x140040f00
lea eax, [rbp - 6]
test eax, eax
jne 0x140040fe9
test r12, r12
je 0x140040fd7
cmp word [r12], ax
je 0x140040fd7
lea rdx, [0x140110264]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140040fd7
cmp word [r12], 0x31
jne 0x140040fa0
cmp word [r12 + 2], 0
je 0x140040fd7
lea rdx, [0x140110270]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140040fc5
cmp word [r12], 0x30
jne 0x140040fd7
cmp word [r12 + 2], 0
jne 0x140040fd7
xor al, al
mov byte [0x14013290c], al
mov eax, 3
jmp 0x1400423d2
mov al, 1
mov byte [0x14013290c], al
mov eax, 3
jmp 0x1400423d2
mov r14, qword [rsp + 0x1b8]
mov rbp, r14
cmp r14, 0xffffffffffffffff
jne 0x14004100c
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041000
cmp rbp, r15
cmovb r15, rbp
xor esi, esi
test r15, r15
je 0x140041084
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041047
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041047
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1140d0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041077
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041077
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14004109c
inc rsi
cmp rsi, r15
jb 0x140041020
lea eax, [rbp - 0x11]
test eax, eax
jne 0x14004109c
mov byte [0x140132b04], 1
mov eax, 3
jmp 0x1400423d2
mov rbp, r14
cmp r14, 0xffffffffffffffff
jne 0x1400410bc
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400410b0
mov r15d, reloc.WSOCK32.dll_ioctlsocket
cmp rbp, r15
mov r14d, r15d
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041144
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041107
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041107
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1140f8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041137
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041137
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140041172
inc rsi
cmp rsi, r14
jb 0x1400410e0
lea eax, [rbp - 0xc]
test eax, eax
jne 0x140041172
mov rsi, qword [rsp + 0x1a0]
mov rcx, r12
mov byte [rsi + 0xbe3], 1
call fcn.140037b40
mov dword [rsi + 0xbe4], eax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14004118c
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041180
mov r14d, 7
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041208
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x1400411c7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400411c7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114118]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x1400411f7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400411f7
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140041288
inc rsi
cmp rsi, r14
jb 0x1400411a0
lea eax, [rbp - 7]
test eax, eax
jne 0x140041288
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.140033dc0
movsd xmm1, qword [0x14011e4a8]
xor ecx, ecx
movsd xmm2, qword [0x14011e4e8]
maxsd xmm1, xmm0
movsd xmm0, qword [0x14011e538]
minsd xmm2, xmm1
mulsd xmm2, qword [0x14011e4e0]
mulsd xmm2, qword [0x14011e4e0]
comisd xmm2, xmm0
jb 0x14004126f
subsd xmm2, xmm0
comisd xmm2, xmm0
jae 0x14004126f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm2
add rax, rcx
mov qword [0x140130c80], rax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400412ac
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400412a0
mov r14d, reloc.WSOCK32.dll_inet_ntoa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041324
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x1400412e7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400412e7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114128]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041317
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041317
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140041379
inc rsi
cmp rsi, r14
jb 0x1400412c0
lea eax, [rbp - 0xb]
test eax, eax
jne 0x140041379
test r12, r12
je 0x1400423a6
mov rcx, r12
call fcn.14001eeb0
mov dword [0x14012f248], eax
test eax, eax
jns 0x14004135a
mov dword [0x14012f248], 0
mov eax, 3
jmp 0x1400423d2
cmp eax, 0x1f4
jle 0x1400423a6
mov dword [0x14012f248], 0x1f4
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x14004139c
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041390
cmp rbp, r15
mov r14, r15
cmovb r14, rbp
xor ebx, ebx
mov esi, ebx
test r14, r14
je 0x14004141a
nop
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x1400413d7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400413d7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1136a0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041407
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041407
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400414e1
inc rsi
cmp rsi, r14
jb 0x1400413b0
xor ebx, ebx
lea eax, [rbp - 0xc]
test eax, eax
jne 0x1400414e1
test r12, r12
je 0x1400423a6
cmp word [r12 + 2], ax
jne 0x14004149f
movzx ecx, word [r12]
cmp cx, 0x23
je 0x140041bcd
cmp cx, word [0x140130b2c]
je 0x140041bcd
cmp cx, word [0x14012fafc]
je 0x140041bcd
cmp cx, word [0x140130c70]
je 0x140041bcd
lea eax, [rcx - 0x21]
cmp ax, 0x3d
ja 0x140041489
movabs rdx, 0x2000000008000609
bt rdx, rax
jb 0x140041bcd
cmp cx, 0x7e
je 0x140041bcd
cmp word [r12], 0x3e
je 0x140041bcd
lea rdi, [0x140131a70]
mov r8d, reloc.WSOCK32.dll_ntohs
mov rcx, rdi
mov rdx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rax, 0xffffffffffffffff
mov word [0x140131a8e], bx
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400414c6
mov qword [0x140131a90], rax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400414fc
nop
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400414f0
mov r14d, reloc.WSOCK32.dll_inet_ntoa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041574
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041537
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041537
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114140]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041567
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041567
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400415df
inc rsi
cmp rsi, r14
jb 0x140041510
lea eax, [rbp - 0xb]
test eax, eax
jne 0x1400415df
test r12, r12
je 0x1400423a6
movzx eax, word [r12]
cmp ax, 0x23
je 0x140041bcd
cmp ax, word [0x140130b2c]
je 0x140041bcd
cmp ax, word [0x140130c70]
je 0x140041bcd
cmp ax, 0x2e
je 0x140041bcd
cmp qword [0x140131a90], 1
jne 0x1400415ce
cmp ax, word [0x140131a70]
je 0x140041bcd
mov word [0x14012fafc], ax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400415fc
nop dword [rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400415f0
mov r14d, 0xa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041674
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041637
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041637
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114158]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041667
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041667
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400416d5
inc rsi
cmp rsi, r14
jb 0x140041610
lea eax, [rbp - 0xa]
test eax, eax
jne 0x1400416d5
test r12, r12
je 0x1400423a6
movzx eax, word [r12]
cmp ax, word [0x14012fafc]
je 0x140041bcd
cmp ax, word [0x140130c70]
je 0x140041bcd
cmp ax, 0x2e
je 0x140041bcd
cmp qword [0x140131a90], 1
jne 0x1400416c4
cmp ax, word [0x140131a70]
je 0x140041bcd
mov word [0x140130b2c], ax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400416ef
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400416e3
mov r14d, 0xa
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041774
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041737
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041737
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114170]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041767
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041767
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400417df
inc rsi
cmp rsi, r14
jb 0x140041710
lea eax, [rbp - 0xa]
test eax, eax
jne 0x1400417df
test r12, r12
je 0x1400423a6
movzx eax, word [r12]
cmp ax, 0x23
je 0x140041bcd
cmp ax, word [0x14012fafc]
je 0x140041bcd
cmp ax, word [0x140130b2c]
je 0x140041bcd
cmp ax, 0x2e
je 0x140041bcd
cmp qword [0x140131a90], 1
jne 0x1400417ce
cmp ax, word [0x140131a70]
je 0x140041bcd
mov word [0x140130c70], ax
mov eax, 3
jmp 0x1400423d2
mov rbp, qword [rsp + 0x1b8]
cmp rbp, 0xffffffffffffffff
jne 0x1400417fc
nop dword [rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400417f0
cmp rbp, r15
cmovb r15, rbp
xor esi, esi
test r15, r15
je 0x14004187a
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x14004183b
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14004183b
mov r14d, 0xffdf
and di, r14w
jmp 0x140041841
mov r14d, 0xffdf
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114188]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x14004186d
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x14004186d
and bx, r14w
cmp di, bx
jne 0x1400418e1
inc rsi
cmp rsi, r15
jb 0x140041810
lea eax, [rbp - 0xc]
test eax, eax
jne 0x1400418e1
test r12, r12
je 0x1400418b4
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor r9d, r9d
lea r8, [0x140130c90]
lea rdx, [0x14012f24e]
mov qword [rsp + 0x20], rax
mov rcx, r12
call fcn.1400255d0
test al, al
jne 0x1400423a6
mov rcx, qword [rsp + 0x1a0]
lea rdx, str.Parameter_1_invalid.
test r12, r12
lea rax, str.Parameter_1_required
mov r8, r13
cmovne rax, rdx
mov rdx, rax
call fcn.140064aa0
jmp 0x1400423d2
mov r15, qword [rsp + 0x1b8]
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x1400418fe
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400418f2
cmp rbp, 0xb
mov r14d, reloc.WSOCK32.dll_inet_ntoa
cmovb r14, rbp
xor ecx, ecx
mov esi, ecx
test r14, r14
je 0x140041986
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041947
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041947
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1141a8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041977
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041977
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x1400419b5
inc rsi
cmp rsi, r14
jb 0x140041920
xor ecx, ecx
lea eax, [rbp - 0xb]
test eax, eax
jne 0x1400419b5
test r12, r12
je 0x1400419a5
mov rcx, r12
call fcn.14001eeb0
mov ecx, eax
cmp eax, 0x64
ja 0x140041bcd
mov byte [0x140132ac5], cl
mov eax, 3
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x1400419cc
nop
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x1400419c0
mov r14d, DispGetParam
cmp rbp, r14
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041a44
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041a07
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041a07
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1141c0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041a37
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041a37
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140041a86
inc rsi
cmp rsi, r14
jb 0x1400419e0
lea eax, [rbp - 0x19]
test eax, eax
jne 0x140041a86
test r12, r12
je 0x140041a74
lea rdx, [0x140110270]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140041a74
mov byte [0x14012f24d], al
mov eax, 3
jmp 0x1400423d2
mov al, 1
mov byte [0x14012f24d], al
mov eax, 3
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x140041a9c
nop
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041a90
mov r14d, 5
cmp rbp, r14
cmovb r14, rbp
xor edi, edi
mov esi, edi
test r14, r14
je 0x140041b2a
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041ae7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041ae7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1141f8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041b17
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041b17
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140041cab
inc rsi
cmp rsi, r14
jb 0x140041ac0
xor edi, edi
lea eax, [rbp - 5]
test eax, eax
jne 0x140041cab
movzx edx, word [0x140130c70]
lea rbx, [0x1400f97e4]
test r12, r12
mov rsi, rbx
cmovne rsi, r12
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x140041b9c
lea rbx, [rax + 2]
nop
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x140041b6f
cmp cx, 9
jne 0x140041b75
add rbx, 2
jmp 0x140041b60
add rax, 0xfffffffffffffffe
cmp rax, rsi
jbe 0x140041b98
nop
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140041b8f
cmp cx, 9
jne 0x140041b98
sub rax, 2
cmp rax, rsi
ja 0x140041b80
mov word [rax + 2], di
cmp word [rsi], 0
je 0x140041be9
mov ebp, edi
lea r14, [0x140118480]
lea rdi, str.UseUnsetLocal
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041bee
inc ebp
add rdi, 8
cmp rdi, r14
jne 0x140041bb2
mov rcx, qword [rsp + 0x1a0]
lea rdx, str.Parameter_1_invalid.
mov r8, r13
call fcn.140064aa0
jmp 0x1400423d2
mov ebp, 6
cmp word [rbx], 0
je 0x140041c3b
xor esi, esi
lea rdi, [0x140118428]
lea r14, str.UseUnsetLocal
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140041c40
inc esi
add rdi, 8
cmp rdi, r14
jne 0x140041c04
mov rcx, qword [rsp + 0x1a0]
lea rdx, str.Parameter_2_invalid.
mov r8, rbx
call fcn.140064aa0
jmp 0x1400423d2
mov esi, 2
test ebp, ebp
je 0x140041c49
cmp ebp, 6
jne 0x140041c4f
mov dword [0x14013393c], esi
cmp ebp, 1
je 0x140041c59
cmp ebp, 6
jne 0x140041c5f
mov dword [0x140133938], esi
cmp ebp, 3
je 0x140041c69
cmp ebp, 6
jne 0x140041c6f
mov dword [0x140133934], esi
lea eax, [rbp - 2]
test eax, 0xfffffffb
jne 0x140041c7f
mov dword [0x140133930], esi
lea eax, [rbp - 4]
test eax, 0xfffffffd
jne 0x140041c8f
mov dword [0x14013392c], esi
lea eax, [rbp - 5]
cmp eax, 1
ja 0x1400423a6
mov dword [0x140133928], esi
mov eax, 3
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x140041cc0
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041cb4
cmp rbp, 9
mov r14d, 9
cmovb r14, rbp
xor esi, esi
test r14, r14
je 0x140041d49
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041d07
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041d07
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x114208]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041d37
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041d37
mov eax, 0xffdf
and bx, ax
movzx eax, bx
movzx ecx, di
sub ecx, eax
jne 0x140041d4c
inc rsi
cmp rsi, r14
jb 0x140041ce0
lea ecx, [rbp - 9]
test ecx, ecx
jne 0x140041e67
test r12, r12
jne 0x140041d79
mov rcx, qword [rsp + 0x1a0]
lea r8, [0x1400f97e4]
lea rdx, str.Parameter_1_required
call fcn.140064aa0
jmp 0x1400423d2
mov r8d, 0xa
lea rdx, str.AutoHotkey
mov rcx, r12
xor dil, dil
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140041e11
movzx eax, word [r12 + 0x14]
test ax, ax
je 0x1400423a6
cmp ax, 0x20
je 0x140041db1
cmp ax, 9
jne 0x140041e11
lea rbx, [r12 + 0x16]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x140041dc5
cmp ax, 9
jne 0x140041dcb
add rbx, 2
jmp 0x140041db6
cmp ax, 0x76
jne 0x140041dd5
add rbx, 2
mov r8d, 3
lea rdx, str.1.1.33.10
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x140041e0e
movzx eax, word [rbx + 6]
test ax, ax
je 0x140041dfe
cmp ax, 0x2e
jne 0x140041e0e
mov rcx, rbx
call fcn.1400d9170
test eax, eax
jle 0x1400423a6
mov dil, 1
lea rcx, str.__but_you_have_v1.1.33.10
test dil, dil
lea rbx, [0x1400f97e4]
mov r9, r12
mov rax, rbx
lea r8, str.This_script_requires__s_s.
cmovne rax, rcx
mov edx, WSAAsyncSelect
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.1400d6690
mov rcx, qword [rsp + 0x1a0]
lea rdx, [rsp + 0x80]
mov r8, rbx
call fcn.140064aa0
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x140041e7c
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041e70
mov r14d, reloc.WSOCK32.dll_recv
cmp rbp, r14
cmovb r14, rbp
xor edi, edi
mov esi, edi
test r14, r14
je 0x140041f0a
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140041ec7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041ec7
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1142a8]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140041ef7
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140041ef7
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x140041fde
inc rsi
cmp rsi, r14
jb 0x140041ea0
xor edi, edi
lea eax, [rbp - 0x10]
test eax, eax
jne 0x140041fde
test r12, r12
je 0x1400423a6
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [r12 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140041f30
lea rbx, [rax*2 + 2]
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x140041fb4
cmp qword [0x140134fc8], 0
jne 0x140041f6c
call fcn.1400d2e00
mov qword [0x140134fc8], rax
test rax, rax
je 0x140041fb4
mov rcx, qword [0x140134fc0]
cmp rbx, qword [rcx + 0x10]
jbe 0x140041f8e
call fcn.1400d2e00
mov rcx, qword [0x140134fc0]
mov qword [rcx + 0x18], rax
test rax, rax
je 0x140041fb4
mov rdi, qword [rcx + 8]
mov rax, rbx
mov qword [0x140134fb8], rdi
and eax, 7
je 0x140041fa8
sub rbx, rax
add rbx, 8
sub qword [rcx + 0x10], rbx
lea rax, [rbx + rdi]
mov qword [rcx + 8], rax
mov qword [str.AutoHotkey], rdi
sub rdi, r12
nop
movzx eax, word [r12]
mov word [rdi + r12], ax
lea r12, [r12 + 2]
test ax, ax
jne 0x140041fc0
mov eax, 3
jmp 0x1400423d2
mov rbp, r15
cmp r15, 0xffffffffffffffff
jne 0x140041ffc
nop word [rax + rax]
inc rbp
cmp word [r13 + rbp*2], 0
jne 0x140041ff0
cmp rbp, 0xf
mov eax, reloc.WSOCK32.dll_ntohs
cmovb rax, rbp
xor r14d, r14d
mov qword [rsp + 0x1b0], rax
mov esi, r14d
test rax, rax
je 0x14004208d
nop dword [rax]
movzx edi, word [r13 + rsi*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x140042047
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140042047
mov eax, 0xffdf
and di, ax
lea rax, [0x140000000]
movzx ebx, word [rax + rsi*2 + 0x1142d0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140042077
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140042077
mov eax, 0xffdf
and bx, ax
cmp di, bx
jne 0x14004215e
inc rsi
cmp rsi, qword [rsp + 0x1b0]
jb 0x140042020
lea eax, [rbp - 0xf]
test eax, eax
jne 0x14004215e
test r12, r12
je 0x1400423a6
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [r12 + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x1400420b0
lea rbx, [rax*2 + 2]
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x140042132
cmp qword [0x140134fc8], r14
jne 0x1400420ea
call fcn.1400d2e00
mov qword [0x140134fc8], rax
test rax, rax
je 0x140042132
mov rcx, qword [0x140134fc0]
cmp rbx, qword [rcx + 0x10]
jbe 0x14004210c
call fcn.1400d2e00
mov rcx, qword [0x140134fc0]
mov qword [rcx + 0x18], rax
test rax, rax
je 0x140042132
mov r14, qword [rcx + 8]
mov rax, rbx
mov qword [0x140134fb8], r14
and eax, 7
je 0x140042126
sub rbx, rax
add rbx, 8
sub qword [rcx + 0x10], rbx
lea rax, [rbx + r14]
mov qword [rcx + 8], rax
mov qword [str.AutoHotkeyGUI], r14
sub r14, r12
nop dword [rax]
movzx eax, word [r12]
mov word [r14 + r12], ax
lea r12, [r12 + 2]
test ax, ax
jne 0x140042140
mov eax, 3
jmp 0x1400423d2
cmp r15, 0xffffffffffffffff
jne 0x14004216f
inc r15
cmp word [r13 + r15*2], r14w
jne 0x140042164
cmp r15, 0xa
mov esi, 0xa
cmovb rsi, r15
test rsi, rsi
je 0x1400421fb
nop dword [rax]
nop word [rax + rax]
movzx edi, word [r13 + r14*2]
mov ecx, edi
test edi, 0xffffff80
jne 0x1400421b9
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400421b9
mov ebp, 0xffdf
and di, bp
jmp 0x1400421be
mov ebp, 0xffdf
lea rax, [0x140000000]
movzx ebx, word [rax + r14*2 + 0x1142f0]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x1400421ea
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x1400421ea
and bx, bp
cmp di, bx
jne 0x14004069c
inc r14
cmp r14, rsi
jb 0x140042190
lea eax, [r15 - 0xa]
test eax, eax
jne 0x14004069c
mov rdx, r13
mov rcx, r12
call fcn.1400d9320
jmp 0x1400423d2
mov r14, qword [rsp + 0x1a0]
mov r13d, 0xffdf
xor ebp, ebp
test r12, r12
jne 0x140042248
mov r8, qword [rsp + 0x1a8]
lea rdx, str.Parameter_1_required
mov rcx, r14
call fcn.140064aa0
jmp 0x1400423d2
cmp word [r12], 0x2a
jne 0x140042298
movzx ebx, word [r12 + 2]
mov ecx, ebx
test ebx, 0xffffff80
jne 0x140042273
mov edx, 2
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
test eax, eax
je 0x140042273
and bx, r13w
cmp bx, 0x49
jne 0x140042298
movzx eax, word [r12 + 4]
add r12, 4
mov sil, 1
cmp ax, 0x20
je 0x140042292
cmp ax, 9
jne 0x14004229b
add r12, 2
jmp 0x14004229b
xor sil, sil
cmp word [r12], 0x3c
jne 0x140042363
mov r13d, 0x3e
mov rcx, r12
mov edx, r13d
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x140042363
cmp word [rax + 2], 0
jne 0x140042363
add r12, 2
mov word [rax], bp
call fcn.14007a660
mov rdi, rax
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x1b8]
mov r8, rbx
sub r8, r12
mov qword [rsp + 0x20], rax
sar r8, 1
lea r9, [rsp + 0x1b0]
mov rdx, r12
mov rcx, r14
call fcn.14004ef90
test rdi, rdi
je 0x140042324
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, byte [rsp + 0x1b0]
test al, al
jne 0x14004233e
cmp byte [rsp + 0x1b8], al
jne 0x1400423a6
test sil, sil
jne 0x1400423a6
mov word [rbx], r13w
test al, al
jne 0x14004235f
mov r8, qword [rsp + 0x1a8]
lea rdx, str.Function_library_not_found.
mov rcx, r14
call fcn.140064aa0
mov ebp, eax
mov eax, ebp
jmp 0x1400423d2
mov r8, r12
lea rdx, [rsp + 0x1a8]
call fcn.140063130
test eax, eax
jne 0x14004237b
xor eax, eax
jmp 0x1400423d2
mov rdi, qword [rsp + 0x1a8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400423ad
test al, 0x10
je 0x1400423ad
mov rcx, rdi
call fcn.14007a550
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 3
jmp 0x1400423d2
movzx r9d, sil
movzx r8d, r15b
mov rdx, rdi
mov rcx, r14
call fcn.14003bea0
neg eax
mov rcx, rdi
sbb ebx, ebx
and ebx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret