Function at 0x140001133
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4f8
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 0x1400011d3
mov rdi, rax
movzx edx, word [rax]
test dx, dx
je 0x1400011d3
lea rbx, [rsp + 0x48]
and qword [rbx], 0
mov qword [rbx + 8], 2
and qword [rbx + 0x10], 0
add rdi, 2
xor esi, esi
test dx, dx
je 0x1400012d8
cmp dx, 9
je 0x1400011b8
movzx eax, dx
cmp eax, 0x20
je 0x1400011b8
cmp eax, 0x22
jne 0x1400011c2
xor sil, 1
jmp 0x1400011ca
test sil, 1
je 0x1400012e2
mov rcx, rbx
call fcn.140005033
movzx edx, word [rdi]
add rdi, 2
jmp 0x140001196
lea rax, [rsp + 0x48]
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 0x14000121a
lea r15, [rsp + 0xf0]
mov esi, 0x200
mov r12, r8
jmp 0x14000124f
sub r8, r13
lea rcx, [rsp + 0x48]
mov rdx, r8
call fcn.140003c5d
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
cmp rbx, r14
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], 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 0x140001279
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140001475
mov r8d, ebp
cmp r12, r8
jne 0x1400012a2
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000251c
add r12, r12
cmp r12, r14
cmovae r12, r14
mov r8, r12
jmp 0x1400011ff
jb 0x1400011ff
cmp rsi, r8
jb 0x14000251c
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140003af8
mov rcx, rbx
mov rdx, rdi
call fcn.140003c80
movabs r12, 0x8000000000000000
jmp 0x140001499
add rdi, 0xfffffffffffffffe
jmp 0x1400012e2
add rdi, 2
movzx eax, word [rdi]
cmp eax, 0x20
je 0x1400012de
cmp eax, 9
je 0x1400012de
mov rbx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea r14, [rsp + 0xf0]
mov rcx, r14
mov rdx, rbx
call fcn.140003af8
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r14
call fcn.14000507d
lea r12, [rsp + 0x60]
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 0x140001443
mov r13, rdi
add rdi, 2
cmp edx, 9
je 0x14000137a
cmp edx, 0x20
je 0x14000137a
cmp edx, 0x22
je 0x1400013c2
cmp edx, 0x5c
jne 0x140001380
xor r13d, r13d
movzx eax, word [rdi]
lea rdx, [r13 + 1]
cmp eax, 0x5c
jne 0x1400013e2
add rdi, 2
mov r13, rdx
jmp 0x140001365
test sil, 1
je 0x14000138c
mov rcx, r12
call fcn.140005033
mov eax, esi
jmp 0x14000133a
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rcx, r14
call fcn.140003af8
mov rcx, r15
mov rdx, r14
call fcn.14000507d
and qword [rsp + 0x70], 0
movzx eax, word [rdi]
cmp eax, 0x20
je 0x1400013bc
cmp eax, 9
jne 0x140001388
add rdi, 2
jmp 0x1400013af
mov al, 1
test sil, 1
je 0x14000133a
movzx ecx, word [rdi]
cmp ecx, 0x22
je 0x140001424
xor eax, eax
test ecx, ecx
jne 0x14000133a
jmp 0x140001443
cmp eax, 0x22
jne 0x140001417
shr rdx, 1
mov rcx, r12
call fcn.1400044d6
mov eax, esi
test r13b, 1
jne 0x14000133a
xor eax, eax
cmp word [rdi], 0
setne al
lea rdi, [rdi + rax*2]
mov rcx, r12
mov dx, 0x22
jmp 0x140001383
mov rcx, r12
call fcn.1400044d6
jmp 0x140001388
mov rcx, r12
mov dx, 0x22
call fcn.140005033
cmp word [r13 + 2], 0
lea rax, [r13 + 4]
cmovne rdi, rax
jmp 0x140001388
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140001503
mov rdi, qword [rsp + 0x68]
lea rcx, [rsp + 0xf0]
mov rdx, rdi
call fcn.140003af8
movabs r12, 0x8000000000000000
jmp 0x14000152b
call fcn.140003c69
mov qword [rsp + 0x68], rax
movabs r12, 0x8000000000000000
mov qword [rsp + 0x60], r12
mov rcx, rbx
mov rdx, rdi
call fcn.140003c80
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
cmp rax, r12
jne 0x1400014c7
and qword [rsp + 0x100], 0
mov byte [rsp + 0x108], 1
call fcn.140003a38
mov ecx, 1
xor eax, eax
jmp 0x1400014d7
lea rdx, [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0xf0]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x80]
mov rcx, rdi
call fcn.14000507d
mov rsi, qword [rdi]
mov r15, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
jmp 0x140001572
mov rdi, qword [rsp + 0x68]
test sil, 1
movabs r12, 0x8000000000000000
je 0x140001540
lea rcx, [rsp + 0xf0]
mov rdx, rdi
xor r8d, r8d
call fcn.140003af8
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
call fcn.14000507d
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call fcn.140003c80
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call fcn.140003c80
shl r14, 5
add r14, r15
lea rbx, [rsp + 0x98]
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], r14
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.1400050c5
cmp qword [rdi], r12
je 0x140002548
mov rax, qword [rsp + 0xb0]
sub rax, qword [rsp + 0xa0]
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.140003a06
mov rbp, rdx
mov rcx, qword [rsp + 0x58]
movups xmm0, xmmword [rsp + 0x48]
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 + 0x98]
movups xmm1, xmmword [rsp + 0xa8]
lea r15, [rsp + 0xf0]
movaps xmmword [r15 + 0x10], xmm1
movaps xmmword [r15], xmm0
mov r12d, 1
lea r13, [rsp + 0x60]
mov rcx, r13
mov rdx, r15
call fcn.1400050c5
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x60], rax
je 0x1400016bf
cmp r12, qword [rsp + 0x80]
je 0x140001684
mov rax, qword [rsp + 0x70]
mov qword [rbp + rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + rsi], xmm0
inc r12
mov qword [rsp + 0x90], r12
add rsi, 0x18
jmp 0x140001639
mov r8, qword [rsp + 0x108]
sub r8, qword [rsp + 0xf8]
shr r8, 5
inc r8
mov qword [rsp + 0x20], 0x18
mov r9d, 8
mov rcx, r14
mov rdx, r12
call fcn.140006056
mov rbp, qword [rsp + 0x88]
jmp 0x14000165f
lea rcx, [rsp + 0xf0]
call fcn.1400045c2
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xd0], xmm0
cmp rax, 2
jae 0x14000178d
cmp rax, 1
jne 0x14000251c
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], r14
lea rax, [0x1400073e8]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 2
and qword [rsp + 0x110], 0
lea rax, [0x1400053a0]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 1
call fcn.140004895
mov rsi, rax
mov rax, qword [0x14000a0f8]
cmp rax, rsi
jne 0x140001a3f
mov eax, dword [0x14000a100]
cmp eax, 0xffffffff
je 0x14000251c
inc eax
jmp 0x140001a5d
mov rax, qword [rsp + 0xd8]
mov r14, qword [rax + 0x20]
mov r15, qword [rax + 0x28]
lea rcx, [r15 + 1]
mov edx, 2
mov r8d, 2
call fcn.140003a06
lea rdi, [rsp + 0xf0]
mov qword [rdi], rax
mov qword [rdi + 8], rdx
and qword [rdi + 0x10], 0
add r15, r14
xor esi, esi
mov r12, 0xffffffffffffffff
xor ebx, ebx
xor ebp, ebp
test bp, bp
jne 0x140001840
cmp r14, r15
je 0x1400018d1
movzx ecx, byte [r14]
test cl, cl
js 0x1400017f2
inc r14
mov ebp, ecx
jmp 0x140001840
mov ebp, ecx
and ebp, 0x1f
movzx r8d, byte [r14 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x140001836
movzx eax, byte [r14 + 2]
shl r8d, 6
and eax, 0x3f
or eax, r8d
cmp cl, 0xf0
jb 0x140001896
movzx ecx, byte [r14 + 3]
add r14, 4
and ebp, 7
shl ebp, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, ebp
mov eax, ecx
jmp 0x14000189f
add r14, 2
shl ebp, 6
or ebp, r8d
xor r13d, r13d
cmp rbx, qword [rsp + 0xf0]
jne 0x14000187b
mov rdx, r15
sub rdx, r14
add rdx, 3
cmovb rdx, r12
shr rdx, 2
cmp r13w, 1
sbb rdx, 0xffffffffffffffff
inc rdx
mov rcx, rdi
call fcn.140003c5d
mov rdx, qword [rsp + 0xf8]
mov word [rdx + rbx*2], bp
inc rbx
mov qword [rsp + 0x100], rbx
add rsi, 2
mov ebp, r13d
jmp 0x1400017d5
add r14, 3
shl ebp, 0xc
or eax, ebp
cmp eax, 0xffff
jbe 0x1400018c7
lea ebp, [rax + 0xff0000]
shr ebp, 0xa
or ebp, 0xd800
and eax, 0x3ff
or eax, 0xdc00
mov r13d, eax
jmp 0x140001843
xor r13d, r13d
mov ebp, eax
jmp 0x140001843
mov rdx, qword [rsp + 0xf8]
xor eax, eax
movabs r12, 0x8000000000000000
lea rcx, [rdx + rax]
cmp rbx, 7
jbe 0x140001937
cmp word [rcx], 0
je 0x14000194d
cmp word [rdx + rax + 2], 0
je 0x14000194d
cmp word [rdx + rax + 4], 0
je 0x14000194d
cmp word [rdx + rax + 6], 0
je 0x14000194d
cmp word [rdx + rax + 8], 0
je 0x14000194d
cmp word [rdx + rax + 0xa], 0
je 0x14000194d
cmp word [rdx + rax + 0xc], 0
je 0x14000194d
cmp word [rdx + rax + 0xe], 0
je 0x14000194d
add rbx, 0xfffffffffffffff8
add rax, 0x10
jmp 0x1400018e5
sub rsi, rax
test rsi, rsi
je 0x14000195c
add rsi, 0xfffffffffffffffe
cmp word [rcx], 0
lea rcx, [rcx + 2]
jne 0x14000193a
mov rcx, qword [rsp + 0xf0]
call fcn.140003c80
ud2
lea rsi, [rsp + 0xf0]
mov rcx, rsi
xor edx, edx
call fcn.140005033
mov rsi, qword [rsi]
cmp rsi, r12
je 0x14000251c
mov rbx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
lea r8, str.__UNC_
mov rcx, rbx
mov rdx, rdi
call fcn.140004472
test al, al
jne 0x140001e7b
lea r8, str.___
mov rcx, rbx
mov rdx, rdi
call fcn.140004472
test al, al
jne 0x140001e7b
lea r8, [0x1400080d2]
mov r9d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140004494
test al, al
jne 0x140001e7b
cmp rdi, 0xf7
ja 0x140001bbc
cmp rdi, 3
jne 0x140001b62
cmp word [rbx + 2], 0x3a
jne 0x140001b95
movzx eax, word [rbx + 4]
test ax, ax
jne 0x140001b73
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x140001b95
cmp eax, 0x5c
je 0x140001b95
jmp 0x140001e7b
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x14000a104], cl
jne 0x140001ae6
mov qword [0x14000a0f8], rsi
mov eax, 1
mov dword [0x14000a100], eax
lea rax, [0x14000a0f8]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x60]
mov qword [rcx], rdi
and qword [rcx + 8], 0
lea rdx, [0x140007e40]
lea r8, [rsp + 0xf0]
call fcn.1400033c5
test al, al
je 0x140001aa3
mov rsi, qword [rsp + 0x68]
test rsi, rsi
jne 0x140001aaf
jmp 0x14000251c
lea rcx, [rsp + 0x68]
call fcn.140003d5c
xor esi, esi
mov rcx, qword [rsp + 0x48]
dec dword [rcx + 8]
jne 0x140001ac9
mov qword [rcx], 0
add rcx, 0xc
call fcn.140004885
mov qword [rsp + 0x60], rsi
test rsi, rsi
jne 0x14000251c
lea rcx, [rsp + 0x60]
call fcn.140003d5c
jmp 0x14000235a
lea rcx, [0x14000a104]
call fcn.140005067
test al, al
jne 0x140001b08
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x14000a104], cl
je 0x140001a51
lea rbx, [0x14000a104]
lea r14, [rsp + 0x60]
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 0x140001b36
mov al, 2
xchg byte [0x14000a104], al
test al, al
je 0x140001a51
mov byte [rsp + 0x60], 2
mov r8d, 1
mov rcx, rbx
mov rdx, r14
mov r9d, 0xffffffff
call r15
cmp eax, 1
je 0x140001b58
call r12
mov rcx, rbx
call fcn.140005067
jmp 0x140001b22
cmp rdi, 2
jbe 0x140001b93
cmp word [rbx + 2], 0x3a
jne 0x140001b95
movzx eax, word [rbx + 4]
cmp ax, 0x2f
je 0x140001b81
movzx eax, ax
cmp eax, 0x5c
jne 0x140001b95
movzx eax, word [rbx]
cmp eax, 0x2f
je 0x140001b98
cmp eax, 0x5c
je 0x140001b98
jmp 0x140001e7b
jne 0x140001bbc
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x140001ba6
movzx eax, ax
cmp eax, 0x2f
jne 0x140001bbc
movzx eax, word [rbx + 2]
cmp eax, 0x2f
je 0x140001e7b
cmp eax, 0x5c
je 0x140001e7b
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0xc8], rsi
lea rax, [rsp + 0x48]
and qword [rax], 0
mov qword [rax + 8], 2
and qword [rax + 0x10], 0
mov ebp, 0x200
mov eax, 2
mov qword [rsp + 0xb8], rax
xor r15d, r15d
mov esi, 0xffffffff
xor r14d, r14d
cmp rbp, 0x201
jae 0x140001c17
lea r13, [rsp + 0xf0]
mov ebx, 0x200
mov r12, rbp
jmp 0x140001c51
sub rbp, r14
lea rcx, [rsp + 0x48]
mov rdx, rbp
call fcn.140003c5d
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
cmp r15, rsi
mov r14d, 0xffffffff
cmovb r14, r15
mov qword [rsp + 0x58], r14
mov qword [rsp + 0xb8], r13
mov rbx, r14
mov r12, r14
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
mov edx, r12d
mov r8, r13
xor r9d, r9d
call qword [sym.imp.kernel32.dll_GetFullPathNameW]
mov edi, eax
test eax, eax
jne 0x140001c81
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000251e
mov ebp, edi
cmp r12, rbp
jne 0x140001ca9
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000251c
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov rbp, r12
jmp 0x140001bfc
jb 0x140001bfc
cmp rbx, rbp
jb 0x14000251c
and qword [rsp + 0x90], 0
cmp edi, 2
movabs r12, 0x8000000000000000
jbe 0x140001cf8
movzx eax, word [r13 + 2]
cmp eax, 0x3a
mov rdx, qword [rsp + 0xc8]
jne 0x140001d09
mov esi, 4
cmp word [r13 + 4], 0x5c
jne 0x140001d09
lea rdi, str.__UNC_
jmp 0x140001d41
mov rdx, qword [rsp + 0xc8]
jne 0x140001d3a
movzx ecx, word [r13]
jmp 0x140001d13
movzx ecx, word [r13]
cmp edi, 3
jne 0x140001d8a
cmp cx, 0x5c
jne 0x140001d3a
movzx eax, word [r13 + 2]
cmp ax, 0x5c
jne 0x140001d3a
add rbp, 0xfffffffffffffffe
add r13, 4
lea rdi, [0x140008230]
mov esi, 8
jmp 0x140001d41
mov edi, 2
xor esi, esi
lea r14, [rsi + rbp]
inc r14
cmp rdx, r14
jae 0x140001e20
test r14, r14
js 0x14000251c
lea r8, [r14 + r14]
lea rax, [r12 - 2]
cmp r8, rax
ja 0x14000251c
test rdx, rdx
je 0x140001dd8
add rdx, rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rdx
mov eax, 2
jmp 0x140001dda
mov edi, 2
cmp cx, 0x5c
jne 0x140001d3f
cmp eax, 0x3f
je 0x140001d3f
cmp eax, 0x5c
jne 0x140001d1e
movzx eax, word [r13 + 4]
cmp eax, 0x3f
je 0x1400024e8
cmp eax, 0x2e
jne 0x140001d24
cmp word [r13 + 6], 0x5c
jne 0x140001d24
add rbp, 0xfffffffffffffffc
add r13, 8
mov esi, 4
jmp 0x140001cef
xor eax, eax
lea r9, [rsp + 0x60]
mov qword [r9 + 8], rax
lea rbx, [rsp + 0x98]
mov edx, 2
mov rcx, rbx
call fcn.14000285e
mov rax, qword [rbx + 8]
test byte [rbx], 1
je 0x140001e10
lea rcx, [r12 + 1]
cmp rax, rcx
je 0x140001e20
jmp 0x14000251c
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], r14
lea r8, [rdi + rsi*2]
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, rdi
call fcn.140003aa9
lea r8, [rbp*2]
add r8, r13
mov rcx, rbx
mov rdx, r13
call fcn.140003aa9
mov rcx, rbx
xor edx, edx
call fcn.140005033
mov rcx, r15
mov rdx, qword [rsp + 0xb8]
call fcn.140003c80
mov rsi, qword [rbx]
cmp rsi, r12
je 0x14000251c
mov rbx, qword [rsp + 0x88]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.kernel32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140002557
mov rdi, rax
mov rcx, rsi
mov rdx, rbx
call fcn.140003c80
mov qword [rsp + 0xc0], rdi
and qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 1
and qword [rsp + 0xa8], 0
xorps xmm0, xmm0
lea rdx, [rsp + 0xf0]
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
and dword [rdx + 0x30], 0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140001f4e
test byte [rsp + 0xf1], 4
je 0x140001f35
lea r8, [rsp + 0x60]
and qword [r8], 0
mov rcx, rdi
mov edx, 9
mov r9d, 8
call qword [sym.imp.kernel32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x140001f4e
mov edx, dword [rsp + 0x110]
mov eax, dword [rsp + 0x114]
shl rdx, 0x20
or rdx, rax
xor eax, eax
jmp 0x140001f58
call fcn.140003c69
mov rdx, rax
mov al, 1
movzx ecx, al
call fcn.140005346
cmp rax, 1
jne 0x140001fc5
mov rdi, rdx
lea r8, [rsp + 0xf0]
and qword [r8], 0
mov rcx, qword [rsp + 0xc0]
xor edx, edx
mov r9d, 1
call qword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x140001f9b
mov rdx, qword [rsp + 0xf0]
xor ecx, ecx
jmp 0x140001fa8
call fcn.140003c69
mov rdx, rax
mov ecx, 1
call fcn.140005346
cmp rax, 1
jne 0x140001fc5
xor ebx, ebx
sub rdi, rdx
cmovae rbx, rdi
mov al, 1
mov qword [rsp + 0x40], rax
jmp 0x140001fd0
mov qword [rsp + 0x40], 0
xor ebx, ebx
lea rcx, [rsp + 0x98]
mov rdx, rbx
call fcn.140002f8d
lea rcx, [r12 + 1]
mov qword [rsp + 0xc8], rcx
cmp rax, rcx
jne 0x1400024f9
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb8], rax
mov rdi, qword [rsp + 0xa8]
cmp rbx, 0xfffffffffffffc00
setae al
mov rcx, qword [rsp + 0x40]
xor cl, 1
mov r14d, 0x2000
or cl, al
jne 0x140002055
lea r14, [rbx + 0x400]
mov rax, r14
and rax, 0x1fff
je 0x140002055
mov ecx, 0x2000
mov edx, 0x2000
sub rdx, rax
add r14, rdx
setb al
test al, 1
cmovne r14, rcx
mov rax, qword [rsp + 0x40]
not al
test rbx, rbx
sete cl
or cl, al
mov rax, qword [rsp + 0xb8]
sub rax, rdi
cmp rax, 0x20
setb al
and al, cl
cmp al, 1
jne 0x1400020ab
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x98]
call fcn.1400052a9
test rax, rax
jne 0x1400024f9
test rdx, rdx
je 0x140002230
mov rdi, qword [rsp + 0xa8]
xor ebx, ebx
xor ebp, ebp
mov r15, qword [rsp + 0x98]
mov rax, rdi
xor rax, r15
mov rcx, r15
xor rcx, qword [rsp + 0xb8]
or rcx, rax
jne 0x140002104
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x98]
call fcn.1400052a9
test rax, rax
jne 0x1400024f9
test rdx, rdx
je 0x140002230
mov r15, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa8]
cmp rdi, r15
jne 0x140002139
mov edx, 0x20
lea rcx, [rsp + 0x98]
call fcn.140002f8d
cmp rax, qword [rsp + 0xc8]
jne 0x1400024f9
mov r15, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa8]
sub r15, rdi
add rdi, qword [rsp + 0xa0]
cmp r15, r14
cmovae r15, r14
mov rcx, qword [rsp + 0xc0]
mov rdx, rdi
mov r8, r15
call fcn.1400051ad
mov r12, rdx
test rax, rax
je 0x14000218b
mov r13, rax
mov rcx, r12
call fcn.140004d5e
cmp al, 0xb
je 0x14000219a
mov rcx, r12
call fcn.140003e6c
test al, al
je 0x1400021b3
mov rcx, r12
call fcn.140003a38
jmp 0x14000214b
cmp rbp, r12
mov rax, r12
cmova rax, rbp
mov sil, 1
jmp 0x1400021bb
mov sil, 1
test r13b, 1
je 0x1400021ab
mov rcx, r12
call fcn.140003a38
xor r12d, r12d
mov rax, rbp
jmp 0x1400021bb
xor r12d, r12d
mov rax, rbp
xor esi, esi
mov rdi, qword [rsp + 0xa8]
add rdi, r12
mov qword [rsp + 0xa8], rdi
test sil, sil
je 0x1400024f9
test r12, r12
je 0x140002238
mov rbp, rax
sub rbp, r12
inc ebx
cmp r12, r15
mov ecx, 0
cmovae ebx, ecx
cmp byte [rsp + 0x40], 0
jne 0x1400020af
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 0x1400020af
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
cmp rdi, 1
movabs r14, 0x8000000000000000
jbe 0x14000231d
cmp byte [rbx], 0xff
jne 0x14000231d
cmp byte [rbx + 1], 0xfe
jne 0x14000231d
lea r15, [rdi - 2]
lea r14, [rsp + 0xf0]
mov r8d, 2
mov rcx, r14
mov rdx, r15
call section..text
cmp dword [r14 + 8], 1
jne 0x14000251c
lea r14, [rsp + 0xf0]
mov rcx, qword [r14 + 0x10]
mov edx, 2
mov r8d, 2
call fcn.140003a06
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
and qword [rsp + 0x70], 0
mov r8d, 2
mov rcx, r14
mov rdx, r15
call section..text
cmp dword [r14 + 8], 1
jne 0x14000251c
mov rdx, qword [rsp + 0x100]
lea r12, [rsp + 0x60]
mov rcx, r12
call fcn.140003c5d
mov r14, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
add rdi, 0xfffffffffffffffd
xor eax, eax
cmp r15, rax
je 0x14000237c
cmp rdi, rax
je 0x14000251c
movzx ecx, word [rbx + rax + 2]
mov word [r14 + rdx*2], cx
inc rdx
add rax, 2
jmp 0x1400022fc
mov sil, 1
call fcn.140001030
mov r15, rax
mov rcx, qword [rsp + 0x98]
mov rdx, rbx
call fcn.1400029ee
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.kernel32.dll_CloseHandle]
test sil, sil
jne 0x14000251c
mov rcx, r14
mov rdx, r15
call fcn.1400029ee
lea rcx, [rsp + 0xd0]
call fcn.1400010e2
nop
add rsp, 0x4f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov rax, qword [r15]
mov qword [rsp + 0x40], 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.140002749
lea r12, [rsp + 0xf0]
mov qword [r12], r14
mov qword [r12 + 8], rsi
and word [r12 + 0x10], 0
mov edi, 0xfffd
lea r13, [rsp + 0x48]
mov rcx, r12
call fcn.14000292e
mov rbp, rax
movzx eax, bp
cmp rax, 2
je 0x1400024b8
shr rbp, 0x20
test rax, rax
cmovne ebp, edi
cmp ebp, 0x80
jae 0x140002422
mov rsi, qword [rsp + 0x70]
cmp rsi, qword [rsp + 0x60]
jne 0x14000240f
mov rcx, r15
call fcn.1400028f7
mov rax, qword [rsp + 0x68]
mov byte [rax + rsi], bpl
inc rsi
mov qword [rsp + 0x70], rsi
jmp 0x1400023d1
and dword [rsp + 0x48], 0
mov eax, ebp
cmp ebp, 0x800
jae 0x140002446
shr eax, 6
or al, 0xc0
mov byte [rsp + 0x48], al
lea rax, [rsp + 0x49]
lea r8, [rsp + 0x4a]
jmp 0x14000249d
cmp ebp, 0x10000
jae 0x140002470
shr eax, 0xc
or al, 0xe0
mov byte [rsp + 0x48], al
mov eax, ebp
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x49], al
lea rax, [rsp + 0x4a]
lea r8, [rsp + 0x4b]
jmp 0x14000249d
shr eax, 0x12
or al, 0xf0
mov byte [rsp + 0x48], al
mov eax, ebp
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x49], al
mov eax, ebp
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x4a], al
lea rax, [rsp + 0x4b]
lea r8, [rsp + 0x4c]
and bpl, 0x3f
or bpl, 0x80
mov byte [rax], bpl
mov rcx, r15
mov rdx, r13
call fcn.140002705
jmp 0x1400023d1
mov rdi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.140003c80
movabs rax, 0x8000000000000000
cmp rdi, rax
sete sil
mov r14, rdi
jmp 0x140002328
cmp word [r13 + 6], 0x5c
jne 0x140001d24
jmp 0x140001d3f
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
call fcn.1400029ee
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.kernel32.dll_CloseHandle]
ud2
call fcn.140003c69
mov rcx, r15
mov rdx, qword [rsp + 0xb8]
call fcn.140003c80
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
jmp 0x140001955
lea rcx, [rsp + 0x98]
call fcn.1400045c2
ud2
call fcn.140003c69
mov rcx, rsi
mov rdx, rbx
jmp 0x140001955