Function at 0x140001191
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x528
call qword [sym.imp.kernel32.dll_GetCommandLineW]
and qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 8
and qword [rsp + 0x90], 0
test rax, rax
je 0x140001231
mov rdi, rax
movzx edx, word [rax]
test dx, dx
je 0x140001231
lea rbx, [rsp + 0x40]
and qword [rbx], 0
mov qword [rbx + 8], 2
and qword [rbx + 0x10], 0
add rdi, 2
xor esi, esi
test dx, dx
je 0x140001339
cmp dx, 9
je 0x140001216
movzx eax, dx
cmp eax, 0x20
je 0x140001216
cmp eax, 0x22
jne 0x140001220
xor sil, 1
jmp 0x140001228
test sil, 1
je 0x140001343
mov rcx, rbx
call fcn.140005293
movzx edx, word [rdi]
add rdi, 2
jmp 0x1400011f4
lea rax, [rsp + 0x40]
and qword [rax], 0
mov qword [rax + 8], 2
and qword [rax + 0x10], 0
mov r8d, 0x200
mov edi, 2
xor ebx, ebx
mov r14d, 0xffffffff
xor r13d, r13d
cmp r8, 0x201
jae 0x140001278
lea r15, [rsp + 0x120]
mov esi, 0x200
mov r12, r8
jmp 0x1400012ad
sub r8, r13
lea rcx, [rsp + 0x40]
mov rdx, r8
call fcn.140003ebd
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
cmp rbx, r14
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x50], r13
mov r15, rdi
mov rsi, r13
mov r12, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
xor ecx, ecx
mov rdx, r15
mov r8d, r12d
call qword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov ebp, eax
test eax, eax
jne 0x1400012d7
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400014e8
mov r8d, ebp
cmp r12, r8
jne 0x140001300
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400026e1
add r12, r12
cmp r12, r14
cmovae r12, r14
mov r8, r12
jmp 0x14000125d
jb 0x14000125d
cmp rsi, r8
jb 0x1400026e1
lea rcx, [rsp + 0xb0]
mov rdx, r15
call fcn.140003d58
mov rcx, rbx
mov rdx, rdi
call fcn.140003ee0
movabs r12, 0x8000000000000000
jmp 0x140001512
add rdi, 0xfffffffffffffffe
jmp 0x140001343
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x14000133f
cmp eax, 9
je 0x14000133f
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
lea r14, [rsp + 0x120]
mov rcx, r14
mov rdx, rbx
call fcn.140003d58
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r14
call fcn.1400052dd
lea r12, [rsp + 0xb0]
and qword [r12], 0
mov qword [r12 + 8], 2
and qword [r12 + 0x10], 0
xor eax, eax
mov esi, eax
movzx edx, word [rdi]
test edx, edx
je 0x1400014b0
mov r13, rdi
add rdi, 2
cmp edx, 9
je 0x1400013de
cmp edx, 0x20
je 0x1400013de
cmp edx, 0x22
je 0x14000142f
cmp edx, 0x5c
jne 0x1400013e4
xor r13d, r13d
movzx eax, word [rdi]
lea rdx, [r13 + 1]
cmp eax, 0x5c
jne 0x14000144f
add rdi, 2
mov r13, rdx
jmp 0x1400013c9
test sil, 1
je 0x1400013f0
mov rcx, r12
call fcn.140005293
mov eax, esi
jmp 0x14000139e
mov rdx, qword [rsp + 0xb8]
mov r8, qword [rsp + 0xc0]
mov rcx, r14
call fcn.140003d58
mov rcx, r15
mov rdx, r14
call fcn.1400052dd
and qword [rsp + 0xc0], 0
movzx eax, word [rdi]
cmp eax, 0x20
je 0x140001429
cmp eax, 9
jne 0x1400013ec
add rdi, 2
jmp 0x14000141c
mov al, 1
test sil, 1
je 0x14000139e
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x140001491
xor eax, eax
test ecx, ecx
jne 0x14000139e
jmp 0x1400014b0
cmp eax, 0x22
jne 0x140001484
shr rdx, 1
mov rcx, r12
call fcn.140004736
mov eax, esi
test r13b, 1
jne 0x14000139e
xor eax, eax
cmp word [rdi], 0
setne al
lea rdi, [rdi + rax*2]
mov rcx, r12
mov dx, 0x22
jmp 0x1400013e7
mov rcx, r12
call fcn.140004736
jmp 0x1400013ec
mov rcx, r12
mov dx, 0x22
call fcn.140005293
cmp word [r13 + 2], 0
lea rax, [r13 + 4]
cmovne rdi, rax
jmp 0x1400013ec
mov r8, qword [rsp + 0xc0]
test r8, r8
je 0x140001585
mov rdi, qword [rsp + 0xb8]
lea rcx, [rsp + 0x120]
mov rdx, rdi
call fcn.140003d58
movabs r12, 0x8000000000000000
jmp 0x1400015b0
call fcn.140003ec9
mov qword [rsp + 0xb8], rax
movabs r12, 0x8000000000000000
mov qword [rsp + 0xb0], r12
mov rcx, rbx
mov rdx, rdi
call fcn.140003ee0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
cmp rax, r12
jne 0x140001546
and qword [rsp + 0x130], 0
mov byte [rsp + 0x138], 1
call fcn.140003c98
mov ecx, 1
xor eax, eax
jmp 0x140001559
lea rdx, [rsp + 0x130]
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0x120]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x80]
mov rcx, rdi
call fcn.1400052dd
mov rsi, qword [rdi]
mov r15, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
jmp 0x1400015fa
mov rdi, qword [rsp + 0xb8]
test sil, 1
movabs r12, 0x8000000000000000
je 0x1400015c5
lea rcx, [rsp + 0x120]
mov rdx, rdi
xor r8d, r8d
call fcn.140003d58
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x120]
call fcn.1400052dd
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
mov rdx, rdi
call fcn.140003ee0
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.140003ee0
shl r14, 5
add r14, r15
lea rbx, [rsp + 0x60]
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], r14
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.140005325
cmp qword [rdi], r12
je 0x140002799
mov rax, qword [rsp + 0x78]
sub rax, qword [rsp + 0x68]
shr rax, 5
cmp rax, 4
mov ecx, 3
cmovae rcx, rax
inc rcx
mov esi, 0x18
mov edx, 8
mov r8d, 0x18
call fcn.140003c66
mov rbp, rdx
mov rcx, qword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rcx
lea r14, [rsp + 0x80]
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], 1
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
lea r15, [rsp + 0x120]
movaps xmmword [r15 + 0x10], xmm1
movaps xmmword [r15], xmm0
mov r12d, 1
lea r13, [rsp + 0xb0]
mov rcx, r13
mov rdx, r15
call fcn.140005325
movabs rax, 0x8000000000000000
cmp qword [rsp + 0xb0], rax
je 0x140001744
cmp r12, qword [rsp + 0x80]
je 0x140001709
mov rax, qword [rsp + 0xc0]
mov qword [rbp + rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0xb0]
movups xmmword [rbp + rsi], xmm0
inc r12
mov qword [rsp + 0x90], r12
add rsi, 0x18
jmp 0x1400016b5
mov r8, qword [rsp + 0x138]
sub r8, qword [rsp + 0x128]
shr r8, 5
inc r8
mov qword [rsp + 0x20], 0x18
mov r9d, 8
mov rcx, r14
mov rdx, r12
call fcn.1400062b6
mov rbp, qword [rsp + 0x88]
jmp 0x1400016de
lea rcx, [rsp + 0x120]
call fcn.140004822
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x110], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x100], xmm0
cmp rax, 2
jae 0x14000180c
cmp rax, 1
jne 0x1400026e1
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], r14
lea rax, str.Usage:___file_path__n
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], 2
and qword [rsp + 0x140], 0
lea rax, [0x140005600]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], 1
call fcn.140004af5
mov rsi, rax
mov rax, qword [0x14000a0f8]
cmp rax, rsi
jne 0x140001b1b
mov eax, dword [0x14000a100]
cmp eax, 0xffffffff
je 0x1400026e1
inc eax
jmp 0x140001b39
lea rcx, [rsp + 0xb0]
and qword [rcx + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0x28], xmm0
lea rax, [0x1400073d2]
mov qword [rcx], rax
lea rax, str.Usage:___file_path__n
mov qword [rcx + 8], rax
lea rax, [0x140007440]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0x40
and qword [rcx + 0x20], 0
call section..text
test al, 1
je 0x14000190a
mov ebx, edx
mov r14d, 1
mov ecx, 8
mov edx, 1
mov r8d, 1
call fcn.140003c66
mov rdi, rdx
mov byte [rdx], bl
lea rbx, [rsp + 0x60]
mov qword [rbx], rax
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], 1
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmm3, xmmword [rsp + 0xe0]
lea r15, [rsp + 0x120]
movaps xmmword [r15 + 0x30], xmm3
movaps xmmword [r15 + 0x20], xmm2
movaps xmmword [r15 + 0x10], xmm1
movaps xmmword [r15], xmm0
movabs rsi, 0x8000000000000000
mov rcx, r15
call section..text
test al, 1
je 0x140001920
mov ebp, edx
cmp r14, qword [rsp + 0x60]
jne 0x1400018fc
mov edx, 1
mov rcx, rbx
call fcn.1400029a9
mov rdi, qword [rsp + 0x68]
mov byte [rdi + r14], bpl
inc r14
mov qword [rsp + 0x70], r14
jmp 0x1400018d5
mov edi, 1
xor r14d, r14d
xor ebx, ebx
movabs rsi, 0x8000000000000000
jmp 0x140001925
mov rbx, qword [rsp + 0x60]
lea r15, [rsp + 0x120]
mov rcx, r15
mov rdx, rdi
mov r8, r14
call fcn.140003832
test byte [r15], 1
je 0x14000195f
cmp rbx, rsi
jne 0x1400026e1
mov qword [rsp + 0xa8], rdi
mov rdi, r14
mov r14, qword [rsp + 0x128]
jmp 0x140001967
mov qword [rsp + 0xa8], rbx
lea rcx, [r14 + 1]
mov edx, 2
mov r8d, 2
call fcn.140003c66
lea r15, [rsp + 0x120]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
add r14, rdi
xor esi, esi
mov r13, 0xffffffffffffffff
xor r12d, r12d
mov qword [rsp + 0x58], rdi
mov rbp, rdi
xor ebx, ebx
test bx, bx
jne 0x140001a11
cmp rbp, r14
je 0x140001a9b
movzx ecx, byte [rbp]
test cl, cl
js 0x1400019c5
inc rbp
mov ebx, ecx
jmp 0x140001a11
mov ebx, ecx
and ebx, 0x1f
movzx r8d, byte [rbp + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x140001a07
movzx eax, byte [rbp + 2]
shl r8d, 6
and eax, 0x3f
or eax, r8d
cmp cl, 0xf0
jb 0x140001a65
movzx ecx, byte [rbp + 3]
add rbp, 4
and ebx, 7
shl ebx, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, ebx
mov eax, ecx
jmp 0x140001a6e
add rbp, 2
shl ebx, 6
or ebx, r8d
xor edi, edi
cmp r12, qword [rsp + 0x120]
jne 0x140001a4a
mov rdx, r14
sub rdx, rbp
add rdx, 3
cmovb rdx, r13
shr rdx, 2
cmp di, 1
sbb rdx, 0xffffffffffffffff
inc rdx
mov rcx, r15
call fcn.140003ebd
mov rdx, qword [rsp + 0x128]
mov word [rdx + r12*2], bx
inc r12
mov qword [rsp + 0x130], r12
add rsi, 2
mov ebx, edi
jmp 0x1400019a8
add rbp, 3
shl ebx, 0xc
or eax, ebx
cmp eax, 0xffff
jbe 0x140001a92
lea ebx, [rax + 0xff0000]
shr ebx, 0xa
or ebx, 0xd800
and eax, 0x3ff
or eax, 0xdc00
mov edi, eax
jmp 0x140001a13
xor edi, edi
mov ebx, eax
jmp 0x140001a13
mov rdx, qword [rsp + 0x128]
xor eax, eax
lea rcx, [rdx + rax]
cmp r12, 7
jbe 0x140001c53
cmp word [rcx], 0
je 0x140001c6d
cmp word [rdx + rax + 2], 0
je 0x140001c6d
cmp word [rdx + rax + 4], 0
je 0x140001c6d
cmp word [rdx + rax + 6], 0
je 0x140001c6d
cmp word [rdx + rax + 8], 0
je 0x140001c6d
cmp word [rdx + rax + 0xa], 0
je 0x140001c6d
cmp word [rdx + rax + 0xc], 0
je 0x140001c6d
cmp word [rdx + rax + 0xe], 0
je 0x140001c6d
add r12, 0xfffffffffffffff8
add rax, 0x10
jmp 0x140001aa5
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x14000a104], cl
jne 0x140001bd1
mov qword [0x14000a0f8], rsi
mov eax, 1
mov dword [0x14000a100], eax
lea rax, [0x14000a0f8]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xb0]
mov qword [rcx], rdi
and qword [rcx + 8], 0
lea rdx, [0x140007eb8]
lea r8, [rsp + 0x120]
call fcn.140003625
test al, al
je 0x140001b85
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
jne 0x140001b94
jmp 0x1400026e1
lea rcx, [rsp + 0xb8]
call fcn.140003fbc
xor esi, esi
mov rcx, qword [rsp + 0x40]
dec dword [rcx + 8]
jne 0x140001bae
mov qword [rcx], 0
add rcx, 0xc
call fcn.140004ae5
mov qword [rsp + 0xb0], rsi
test rsi, rsi
jne 0x1400026e1
lea rcx, [rsp + 0xb0]
call fcn.140003fbc
jmp 0x140002115
lea rcx, [0x14000a104]
call fcn.1400052c7
test al, al
jne 0x140001bf3
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x14000a104], cl
je 0x140001b2d
lea rbx, [0x14000a104]
lea r14, [rsp + 0xb0]
mov r15, qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitOnAddress]
mov r12, qword [sym.imp.kernel32.dll_GetLastError]
cmp al, 2
je 0x140001c24
mov al, 2
xchg byte [0x14000a104], al
test al, al
je 0x140001b2d
mov byte [rsp + 0xb0], 2
mov r8d, 1
mov rcx, rbx
mov rdx, r14
mov r9d, 0xffffffff
call r15
cmp eax, 1
je 0x140001c49
call r12
mov rcx, rbx
call fcn.1400052c7
jmp 0x140001c10
sub rsi, rax
test rsi, rsi
je 0x1400022b8
add rsi, 0xfffffffffffffffe
cmp word [rcx], 0
lea rcx, [rcx + 2]
jne 0x140001c56
mov rcx, qword [rsp + 0x120]
call fcn.140003ee0
lea r14, str.strings_passed_to_WinAPI_cannot_contain_NULs
movabs r12, 0x8000000000000000
xor esi, esi
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x58]
call fcn.140002c4e
test sil, sil
je 0x1400026e1
mov qword [rsp + 0x98], r14
and qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 1
and qword [rsp + 0x70], 0
xorps xmm0, xmm0
lea rdx, [rsp + 0x120]
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
and dword [rdx + 0x30], 0
mov rcx, r14
call qword [sym.imp.kernel32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140001d33
test byte [rsp + 0x121], 4
je 0x140001d1a
lea r8, [rsp + 0xb0]
and qword [r8], 0
mov rcx, r14
mov edx, 9
mov r9d, 8
call qword [sym.imp.kernel32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x140001d33
mov edx, dword [rsp + 0x140]
mov eax, dword [rsp + 0x144]
shl rdx, 0x20
or rdx, rax
xor eax, eax
jmp 0x140001d3d
call fcn.140003ec9
mov rdx, rax
mov al, 1
movzx ecx, al
call fcn.1400055a6
cmp rax, 1
jne 0x140001daa
mov rdi, rdx
lea r8, [rsp + 0x120]
and qword [r8], 0
mov rcx, qword [rsp + 0x98]
xor edx, edx
mov r9d, 1
call qword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x140001d80
mov rdx, qword [rsp + 0x120]
xor ecx, ecx
jmp 0x140001d8d
call fcn.140003ec9
mov rdx, rax
mov ecx, 1
call fcn.1400055a6
cmp rax, 1
jne 0x140001daa
xor ebx, ebx
sub rdi, rdx
cmovae rbx, rdi
mov al, 1
mov qword [rsp + 0x58], rax
jmp 0x140001db5
mov qword [rsp + 0x58], 0
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400031ed
lea rcx, [r12 + 1]
mov qword [rsp + 0xa0], rcx
cmp rax, rcx
jne 0x140002760
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov rdi, qword [rsp + 0x70]
cmp rbx, 0xfffffffffffffc00
setae al
mov rcx, qword [rsp + 0x58]
xor cl, 1
mov r14d, 0x2000
or cl, al
jne 0x140001e31
lea r14, [rbx + 0x400]
mov rax, r14
and rax, 0x1fff
je 0x140001e31
mov ecx, 0x2000
mov edx, 0x2000
sub rdx, rax
add r14, rdx
setb al
test al, 1
cmovne r14, rcx
mov rax, qword [rsp + 0x58]
not al
test rbx, rbx
sete cl
or cl, al
mov rax, qword [rsp + 0xa8]
sub rax, rdi
cmp rax, 0x20
setb al
and al, cl
cmp al, 1
jne 0x140001e81
lea rcx, [rsp + 0x98]
lea rdx, [rsp + 0x60]
call fcn.140005509
test rax, rax
jne 0x140002760
test rdx, rdx
je 0x140001fe8
mov rdi, qword [rsp + 0x70]
xor ebx, ebx
xor ebp, ebp
mov r15, qword [rsp + 0x60]
mov rax, rdi
xor rax, r15
mov rcx, r15
xor rcx, qword [rsp + 0xa8]
or rcx, rax
jne 0x140001ece
lea rcx, [rsp + 0x98]
lea rdx, [rsp + 0x60]
call fcn.140005509
test rax, rax
jne 0x140002760
test rdx, rdx
je 0x140001fe8
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmp rdi, r15
jne 0x140001efa
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.1400031ed
cmp rax, qword [rsp + 0xa0]
jne 0x140002760
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
sub r15, rdi
add rdi, qword [rsp + 0x68]
cmp r15, r14
cmovae r15, r14
mov rcx, qword [rsp + 0x98]
mov rdx, rdi
mov r8, r15
call fcn.14000540d
mov r12, rdx
test rax, rax
je 0x140001f49
mov r13, rax
mov rcx, r12
call fcn.140004fbe
cmp al, 0xb
je 0x140001f58
mov rcx, r12
call fcn.1400040cc
test al, al
je 0x140001f71
mov rcx, r12
call fcn.140003c98
jmp 0x140001f09
cmp rbp, r12
mov rax, r12
cmova rax, rbp
mov sil, 1
jmp 0x140001f79
mov sil, 1
test r13b, 1
je 0x140001f69
mov rcx, r12
call fcn.140003c98
xor r12d, r12d
mov rax, rbp
jmp 0x140001f79
xor r12d, r12d
mov rax, rbp
xor esi, esi
mov rdi, qword [rsp + 0x70]
add rdi, r12
mov qword [rsp + 0x70], rdi
test sil, sil
je 0x140002760
test r12, r12
je 0x140001fed
mov rbp, rax
sub rbp, r12
inc ebx
cmp r12, r15
mov ecx, 0
cmovae ebx, ecx
cmp byte [rsp + 0x58], 0
jne 0x140001e85
cmp ebx, 2
mov rcx, r14
mov rdx, 0xffffffffffffffff
cmovge rcx, rdx
cmp rax, r15
cmove rcx, r14
lea r14, [rcx + rcx]
test rcx, rcx
cmovs r14, rdx
cmp r15, rcx
cmovb r14, rcx
cmp r12, r15
cmovne r14, rcx
jmp 0x140001e85
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
cmp rdi, 1
movabs r14, 0x8000000000000000
jbe 0x1400020db
cmp byte [rbx], 0xff
jne 0x1400020db
cmp byte [rbx + 1], 0xfe
jne 0x1400020db
lea r15, [rdi - 2]
lea r14, [rsp + 0x120]
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.14000105e
cmp dword [r14 + 8], 1
jne 0x1400026e1
lea r14, [rsp + 0x120]
mov rcx, qword [r14 + 0x10]
mov edx, 2
mov r8d, 2
call fcn.140003c66
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rdx
and qword [rsp + 0xc0], 0
mov r8d, 2
mov rcx, r14
mov rdx, r15
call fcn.14000105e
cmp dword [r14 + 8], 1
jne 0x1400026e1
mov rdx, qword [rsp + 0x130]
lea r12, [rsp + 0xb0]
mov rcx, r12
call fcn.140003ebd
mov r14, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
add rdi, 0xfffffffffffffffd
xor eax, eax
cmp r15, rax
je 0x140002137
cmp rdi, rax
je 0x1400026e1
movzx ecx, word [rbx + rax + 2]
mov word [r14 + rdx*2], cx
inc rdx
add rax, 2
jmp 0x1400020ba
mov sil, 1
call fcn.14000108e
mov r15, rax
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
call fcn.140002c4e
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.kernel32.dll_CloseHandle]
test sil, sil
jne 0x1400026e1
mov rcx, r14
mov rdx, r15
call fcn.140002c4e
lea rcx, [rsp + 0x100]
call fcn.140001140
nop
add rsp, 0x528
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0xb0]
mov rax, qword [r15]
mov qword [rsp + 0x58], rax
and qword [r15], 0
mov qword [r15 + 8], 1
and qword [r15 + 0x10], 0
lea rsi, [r14 + rdx*2]
mov rax, rdx
shr rax, 1
sub rdx, rax
mov rcx, r15
call fcn.1400029a9
lea r12, [rsp + 0x120]
mov qword [r12], r14
mov qword [r12 + 8], rsi
and word [r12 + 0x10], 0
mov edi, 0xfffd
lea r13, [rsp + 0x40]
mov rcx, r12
call fcn.140002b8e
mov rbp, rax
movzx eax, bp
cmp rax, 2
je 0x140002282
shr rbp, 0x20
test rax, rax
cmovne ebp, edi
cmp ebp, 0x80
jae 0x1400021ec
mov rsi, qword [rsp + 0xc0]
cmp rsi, qword [rsp + 0xb0]
jne 0x1400021d3
mov rcx, r15
call fcn.140002b57
mov rax, qword [rsp + 0xb8]
mov byte [rax + rsi], bpl
inc rsi
mov qword [rsp + 0xc0], rsi
jmp 0x14000218f
and dword [rsp + 0x40], 0
mov eax, ebp
cmp ebp, 0x800
jae 0x140002210
shr eax, 6
or al, 0xc0
mov byte [rsp + 0x40], al
lea rax, [rsp + 0x41]
lea r8, [rsp + 0x42]
jmp 0x140002267
cmp ebp, 0x10000
jae 0x14000223a
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x40], al
mov eax, ebp
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x41], al
lea rax, [rsp + 0x42]
lea r8, [rsp + 0x43]
jmp 0x140002267
shr eax, 0x12
or al, 0xf0
mov byte [rsp + 0x40], al
mov eax, ebp
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x41], al
mov eax, ebp
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x42], al
lea rax, [rsp + 0x43]
lea r8, [rsp + 0x44]
and bpl, 0x3f
or bpl, 0x80
mov byte [rax], bpl
mov rcx, r15
mov rdx, r13
call fcn.140002965
jmp 0x14000218f
mov rdi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call fcn.140003ee0
movabs rax, 0x8000000000000000
cmp rdi, rax
sete sil
mov r14, rdi
jmp 0x1400020e6
lea rsi, [rsp + 0x120]
mov rcx, rsi
xor edx, edx
call fcn.140005293
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
movabs r12, 0x8000000000000000
cmp rdi, r12
je 0x140001c8b
mov r15, qword [rsp + 0x130]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r15
lea r8, str.__UNC_
mov rcx, r14
mov rdx, r15
call fcn.1400046d2
test al, al
jne 0x14000234c
lea r8, str.___
mov rcx, r14
mov rdx, r15
call fcn.1400046d2
test al, al
jne 0x14000234c
lea r8, [0x14000814a]
mov r9d, 1
mov rcx, r14
mov rdx, r15
call fcn.1400046f4
test al, al
je 0x1400023ac
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, r14
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.kernel32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14000238f
mov r15, rax
mov rcx, rdi
mov rdx, r14
call fcn.140003ee0
mov sil, 1
jmp 0x1400023a4
call fcn.140003ec9
mov r15, rax
mov rcx, rdi
mov rdx, r14
call fcn.140003ee0
xor esi, esi
mov r14, r15
jmp 0x140001c8d
cmp r15, 0xf7
ja 0x140002443
cmp r15, 3
jne 0x1400023e4
cmp word [r14 + 2], 0x3a
jne 0x14000241a
movzx eax, word [r14 + 4]
test ax, ax
jne 0x1400023f7
movzx eax, word [r14]
cmp eax, 0x2f
je 0x14000241a
cmp eax, 0x5c
je 0x14000241a
jmp 0x14000234c
cmp r15, 2
jbe 0x140002418
cmp word [r14 + 2], 0x3a
jne 0x14000241a
movzx eax, word [r14 + 4]
cmp ax, 0x2f
je 0x140002405
movzx eax, ax
cmp eax, 0x5c
jne 0x14000241a
movzx eax, word [r14]
cmp eax, 0x2f
je 0x14000241e
cmp eax, 0x5c
je 0x14000241e
jmp 0x14000234c
jne 0x140002443
movzx eax, word [r14]
cmp ax, 0x5c
je 0x14000242c
movzx eax, ax
cmp eax, 0x2f
jne 0x140002443
movzx eax, word [r14 + 2]
cmp eax, 0x2f
je 0x14000234c
cmp eax, 0x5c
je 0x14000234c
mov qword [rsp + 0xf0], rdi
lea rax, [rsp + 0x40]
and qword [rax], 0
mov qword [rax + 8], 2
and qword [rax + 0x10], 0
mov r13d, 0x200
mov eax, 2
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xf8], 0
mov esi, 0xffffffff
xor ebx, ebx
cmp r13, 0x201
jae 0x1400024a2
lea r12, [rsp + 0x120]
mov edi, 0x200
mov r15, r13
jmp 0x1400024e3
sub r13, rbx
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.140003ebd
mov rcx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
cmp rcx, rsi
mov ebx, 0xffffffff
mov qword [rsp + 0xf8], rcx
cmovb rbx, rcx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0xa0], r12
mov rdi, rbx
mov r15, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, r14
mov edx, r15d
mov r8, r12
xor r9d, r9d
call qword [sym.imp.kernel32.dll_GetFullPathNameW]
mov ebp, eax
test eax, eax
jne 0x14000250d
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000257d
mov r13d, ebp
cmp r15, r13
jne 0x140002536
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400026e1
add r15, r15
cmp r15, rsi
cmovae r15, rsi
mov r13, r15
jmp 0x140002487
jb 0x140002487
cmp rdi, r13
jb 0x1400026e1
and qword [rsp + 0x90], 0
cmp ebp, 2
mov rdx, qword [rsp + 0xf0]
jbe 0x1400025b4
movzx eax, word [r12 + 2]
cmp eax, 0x3a
jne 0x1400025bd
mov esi, 4
cmp word [r12 + 4], 0x5c
jne 0x1400025bd
lea rbp, str.__UNC_
jmp 0x1400025fa
call fcn.140003ec9
mov r14, rax
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xa0]
call fcn.140003ee0
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
call fcn.140003ee0
jmp 0x140001c81
jne 0x1400025f3
movzx ecx, word [r12]
jmp 0x1400025cb
movzx ecx, word [r12]
cmp ebp, 3
jne 0x14000264d
cmp cx, 0x5c
jne 0x1400025f3
movzx eax, word [r12 + 2]
cmp ax, 0x5c
jne 0x1400025f3
add r13, 0xfffffffffffffffe
add r12, 4
lea rbp, [0x1400082f0]
mov esi, 8
jmp 0x1400025fa
mov ebp, 2
xor esi, esi
lea rdi, [rsi + r13]
inc rdi
cmp rdx, rdi
jae 0x1400026f3
test rdi, rdi
js 0x1400026e1
lea r8, [rdi + rdi]
movabs rax, 0x8000000000000000
add rax, 0xfffffffffffffffe
cmp r8, rax
ja 0x1400026e1
test rdx, rdx
je 0x1400026a5
add rdx, rdx
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc0], rdx
mov eax, 2
jmp 0x1400026a7
mov ebp, 2
cmp cx, 0x5c
jne 0x1400025f8
cmp eax, 0x3f
je 0x1400025f8
cmp eax, 0x5c
jne 0x1400025d7
movzx eax, word [r12 + 4]
cmp eax, 0x3f
je 0x14000277f
cmp eax, 0x2e
mov rdx, qword [rsp + 0xf0]
jne 0x1400025dd
cmp word [r12 + 6], 0x5c
jne 0x1400025dd
add r13, 0xfffffffffffffffc
add r12, 8
mov esi, 4
jmp 0x140002574
xor eax, eax
lea r9, [rsp + 0xb0]
mov qword [r9 + 8], rax
lea r14, [rsp + 0x60]
mov edx, 2
mov rcx, r14
call fcn.140002abe
mov rax, qword [r14 + 8]
test byte [r14], 1
je 0x1400026e3
movabs rcx, 0x8000000000000000
inc rcx
cmp rax, rcx
je 0x1400026f3
ud2
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], rdi
lea r8, [rsi*2]
add r8, rbp
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbp
call fcn.140003d09
lea r8, [r12 + r13*2]
mov rcx, r14
mov rdx, r12
call fcn.140003d09
xor esi, esi
mov rcx, r14
xor edx, edx
call fcn.140005293
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xa0]
call fcn.140003ee0
mov rdi, qword [r14]
mov r14, qword [r14 + 8]
movabs r12, 0x8000000000000000
cmp rdi, r12
je 0x140001c8d
jmp 0x14000234c
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
call fcn.140002c4e
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.kernel32.dll_CloseHandle]
ud2
cmp word [r12 + 6], 0x5c
mov rdx, qword [rsp + 0xf0]
jne 0x1400025dd
jmp 0x1400025f8
and qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 8
and qword [rsp + 0x110], 0
lea rcx, [rsp + 0x60]
call fcn.140004822
ud2