Function at 0x1400a12e0
Capabilities:
Clear file content
Read file on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x500
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rsp + 0x550], rbx
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x45], 0
xor sil, sil
mov byte [rsp + 0x41], sil
xor bl, bl
movzx eax, word [rdx]
mov ecx, 0x20
lea r15d, [rcx - 0x17]
lea r10d, [rcx + 0xe]
lea r9d, [rcx + 3]
test ax, ax
je 0x1400a13ac
lea r8d, [rcx + 0xa]
cmp r15w, ax
ja 0x1400a1363
cmp ax, 0xd
jbe 0x1400a13a7
cmp cx, ax
je 0x1400a13a7
cmp r8w, ax
jne 0x1400a1379
movzx r12d, byte [rdx]
mov byte [rsp + 0x51], r12b
jmp 0x1400a1396
cmp r10w, ax
jne 0x1400a138d
movzx ecx, byte [rdx]
mov byte [rsp + 0x45], cl
mov ecx, 0x20
jmp 0x1400a1396
cmp r9w, ax
jne 0x1400a1396
movzx esi, byte [rdx]
add rdx, 2
mov qword [rsp + 0x48], rdx
mov ax, word [rdx]
test ax, ax
jne 0x1400a1357
mov byte [rsp + 0x41], sil
lea rcx, [rsp + 0x48]
call fcn.14005b560
mov r8d, 3
lea rdx, [rsp + 0x48]
lea rcx, [0x140152474]
call fcn.140065780
movzx ecx, bl
mov edx, 1
test al, al
cmovne ecx, edx
mov dword [rsp + 0x64], ecx
lea rcx, [rsp + 0x70]
call fcn.140063580
nop
xor r13d, r13d
mov qword [rsp + 0xb0], r13
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0xa8], rax
mov rbp, r13
mov rbx, r13
mov qword [rsp + 0x78], rbx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], r13
mov byte [rsp + 0x44], bl
mov eax, 0x200
mov qword [rsp + 0x58], rax
mov dword [rsp + 0xa0], eax
xor r12b, r12b
mov dword [rsp + 0xb8], r12d
xor r14b, r14b
mov byte [rsp + 0x42], r14b
xor dil, dil
lea r8d, [r13 + 3]
lea rdx, [rsp + 0x48]
lea rcx, [0x140152470]
call fcn.140065780
test al, al
je 0x1400a18ca
mov byte [rsp + 0x42], 1
mov byte [rsp + 0x51], 1
mov r14d, 0x2d
mov r10, qword [rsp + 0x48]
cmp r14w, word [r10]
jne 0x1400a18ca
lea esi, [r13 + 0x10]
jmp 0x1400a1498
mov r15d, 9
movzx eax, word [r10 + 2]
test ax, ax
je 0x1400a1881
cmp r15w, ax
ja 0x1400a14b6
cmp ax, 0xd
jbe 0x1400a1896
mov r11d, 0x20
cmp r11w, ax
je 0x1400a188f
cmp ax, 0x2c
je 0x1400a1888
lea r8d, [r11 - 0x1c]
mov rdx, r10
lea rcx, str._bs
call fcn.14005c510
test al, al
je 0x1400a152c
mov qword [rsp + 0x80], r13
add r10, 8
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a1861
mov r15, qword [rsp + 0x80]
mov qword [rsp + 0x58], r15
mov dword [rsp + 0xa0], r15d
jmp 0x1400a1866
mov r8d, 5
mov rdx, r10
lea rcx, str._ibs
call fcn.14005c510
test al, al
je 0x1400a1582
mov qword [rsp + 0x80], r13
add r10, 0xa
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a185a
mov r15d, dword [rsp + 0x80]
mov qword [rsp + 0x58], r15
jmp 0x1400a1866
mov r8d, 5
mov rdx, r10
lea rcx, str._obs
call fcn.14005c510
test al, al
je 0x1400a15de
mov qword [rsp + 0x80], r13
add r10, 0xa
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a1853
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0xa0], eax
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 7
mov rdx, r10
lea rcx, str._count
call fcn.14005c510
test al, al
je 0x1400a163c
mov qword [rsp + 0x80], r13
add r10, 0xe
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a184c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa8], rax
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 5
mov rdx, r10
lea rcx, str._len
call fcn.14005c510
test al, al
je 0x1400a169a
mov qword [rsp + 0x80], r13
add r10, 0xa
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a1845
mov r15, qword [rsp + 0x80]
mov qword [rsp + 0x88], r15
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 6
mov rdx, r10
lea rcx, str._conv
call fcn.14005c510
test al, al
je 0x1400a1727
add r10, 0xc
mov qword [rsp + 0x48], r10
mov r8d, 7
mov rdx, r10
lea rcx, str.notrunc
call fcn.14005c510
movzx r12d, r12b
test al, al
mov eax, 1
cmovne r12d, eax
movzx eax, word [r10]
test ax, ax
je 0x1400a1830
cmp r15w, ax
ja 0x1400a1701
cmp ax, 0xd
jbe 0x1400a183e
cmp r11w, ax
je 0x1400a1837
add r10, 2
mov qword [rsp + 0x48], r10
mov ax, word [r10]
test ax, ax
jne 0x1400a16f1
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 6
mov rdx, r10
lea rcx, str._skip
call fcn.14005c510
test al, al
je 0x1400a1781
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x80], r13
add r10, 0xc
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a1829
mov rbp, qword [rsp + 0x80]
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 7
mov rdx, r10
lea rcx, str._skipb
call fcn.14005c510
test al, al
je 0x1400a17d6
mov rbp, r13
mov qword [rsp + 0x80], r13
add r10, 0xe
mov qword [rsp + 0x48], r10
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140068f80
test eax, eax
jle 0x1400a1822
mov rbx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 6
lea rdx, [rsp + 0x48]
lea rcx, str._quick
call fcn.140065780
test al, al
je 0x1400a17fb
mov dil, 1
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r8d, 7
lea rdx, [rsp + 0x48]
lea rcx, str._qspace
call fcn.140065780
movzx edi, dil
test al, al
cmovne edi, esi
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
jmp 0x1400a1866
mov r15, qword [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.14005b560
mov r10, qword [rsp + 0x48]
cmp r14w, word [r10]
je 0x1400a1492
jmp 0x1400a189b
mov r15, qword [rsp + 0x58]
jmp 0x1400a189b
mov r15, qword [rsp + 0x58]
jmp 0x1400a189b
mov r15, qword [rsp + 0x58]
jmp 0x1400a189b
mov r15, qword [rsp + 0x58]
mov dword [rsp + 0xb8], r12d
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x78], rbx
test rbx, rbx
mov sil, byte [rsp + 0x41]
jns 0x1400a18ca
movsxd rbx, r15d
imul rbx, rbp
test rbx, rbx
cmovs rbx, r13
mov qword [rsp + 0x78], rbx
mov r8d, 6
lea rdx, [rsp + 0x48]
lea rcx, str._quick
call fcn.140065780
movzx ecx, dil
test al, al
mov ebx, 1
cmovne ecx, ebx
mov dword [rsp + 0x60], ecx
lea r8d, [rbx + 0x2b]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140066780
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x70], r13
call fcn.14002e004
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140071360
nop
lea rcx, [rsp + 0xc0]
call fcn.14005b520
mov r11, qword [rsp + 0x48]
cmp word [r11], 0x2c
jne 0x1400a2fb4
mov rax, qword [rsp + 0x70]
cmp word [rax], 0
je 0x1400a2fb4
add r11, 2
mov qword [rsp + 0x48], r11
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.140068f80
mov r15, qword [rsp + 0xb0]
test r15, r15
jns 0x1400a1993
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x1400a2fc3
mov rbp, 0xfffffffffffffffc
mov qword [rsp + 0xb0], rbp
mov rax, qword [rsp + 0x48]
mov ecx, 0x23
cmp cx, word [rax]
jne 0x1400a19d9
add rax, 2
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.140068f80
mov rbp, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x48]
cmp word [rax], 0
je 0x1400a19e8
add rax, 2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
test rax, rax
js 0x1400a19fc
cmp rbp, rax
cmovg rbp, rax
lea rcx, [rsp + 0x48]
call fcn.14005b560
mov r12, qword [rsp + 0x48]
mov rcx, r12
call fcn.14002b4b8
mov rdx, r12
lea rcx, str.zero
call fcn.14005c550
mov byte [rsp + 0x43], al
movzx ecx, word [r12]
mov edx, 0x26
cmp dx, cx
jne 0x1400a1a3e
or sil, 0x10
mov byte [rsp + 0x41], sil
mov rsi, r12
test cx, cx
jne 0x1400a1a57
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, ebx
jmp 0x1400a2fc3
mov qword [rsp + 0x98], r12
mov edx, ebx
lea rcx, [rsp + 0x98]
call fcn.14007d450
mov rbx, rax
lea rcx, [rsp + 0xc8]
call fcn.140063230
mov dword [rsp + 0xd0], r13d
mov dword [rsp + 0xd4], r13d
xor r14b, r14b
mov byte [rsp + 0x50], r14b
mov dword [rsp + 0xa4], r13d
cmp byte [rsp + 0x41], r14b
je 0x1400a1c40
lea r14, [0x14019cf50]
mov qword [rsp + 0xc0], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rsp + 0x98]
call fcn.140063500
nop
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0xd8]
call fcn.14002b14c
mov rdi, rax
test rax, rax
jne 0x1400a1b29
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x1400a2fc3
mov ecx, dword [rax + 0x18]
and ecx, 0x3fffffff
test rbp, rbp
jle 0x1400a1b4a
movsxd rbx, ecx
mov rdx, qword [rsp + 0x78]
lea rax, [rdx + rbp]
cmp rax, rbx
jle 0x1400a1b5f
jmp 0x1400a1b4f
mov rdx, qword [rsp + 0x78]
movsxd rbx, ecx
mov rbp, rbx
sub rbp, rdx
test rbp, rbp
cmovle rbp, r13
mov rax, qword [rsp + 0x88]
test rax, rax
js 0x1400a1b73
cmp rax, rbp
cmovl rbp, rax
lea edx, [rbp + 0x200000]
lea rcx, [rsp + 0xc8]
call fcn.1400632e0
mov rsi, qword [rsp + 0xc8]
test rsi, rsi
jne 0x1400a1bcb
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
lea eax, [rsi + 1]
jmp 0x1400a2fc3
add rsi, 0x100000
and rsi, 0xfffffffffff00000
mov rdx, qword [rdi + 8]
mov rdi, qword [rsp + 0x78]
cmp rdi, rbx
cmovg rdi, rbx
mov qword [rsp + 0x78], rdi
add rdx, rdi
mov dword [rsp + 0xd0], ebp
mov dword [rsp + 0xa4], ebp
test ebp, ebp
jle 0x1400a1c13
cmp rsi, rdx
je 0x1400a1c13
mov r8, rbp
mov rcx, rsi
call fcn.14010cd30
mov r14b, 1
mov byte [rsp + 0x50], r14b
mov byte [rsp + 0x44], r14b
lea rcx, [rsp + 0x98]
call fcn.14005b520
nop
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400a1e42
test rbx, rbx
je 0x1400a1e42
movzx eax, byte [rbx]
mov byte [rsp + 0x44], al
mov byte [rsp + 0x50], al
lea rax, [rbx + 2]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x80], 0x20
mov ecx, 0x2e
cmp cx, word [rax]
jne 0x1400a1c92
mov cl, byte [rax]
mov byte [rsp + 0x44], cl
add rax, 2
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x80], 0x40
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb0]
call fcn.14007d340
mov r14, rax
mov rcx, qword [0x14019c040]
mov rdi, r13
movzx r12d, word [rbx]
mov word [rbx], r13w
mov r9, qword [rsp + 0x98]
cmp word [r9], di
je 0x1400a1cdf
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov rcx, rax
mov word [rbx], r12w
test rcx, rcx
je 0x1400a1d10
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
mov r8, r14
mov rdx, qword [rsp + 0x90]
call fcn.140030854
mov rsi, rax
test rdi, rdi
je 0x1400a1d1e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
jne 0x1400a1d43
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
lea eax, [rsi + 1]
jmp 0x1400a2fc3
movsxd rdx, dword [rsp + 0xd0]
test rbp, rbp
jle 0x1400a1d63
mov rdi, rdx
mov rsi, qword [rsp + 0x78]
lea rax, [rsi + rbp]
cmp rax, rdx
jle 0x1400a1d78
jmp 0x1400a1d68
mov rsi, qword [rsp + 0x78]
mov rbp, rdx
mov rdi, rdx
sub rbp, rsi
test rbp, rbp
cmovle rbp, r13
add edx, 0x200000
lea rcx, [rsp + 0xc8]
call fcn.1400632e0
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
jne 0x1400a1db8
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
lea eax, [rbx + 1]
jmp 0x1400a2fc3
lea rcx, [rdi + rbx]
xor edx, edx
mov r8d, 0x1ff
call fcn.14010c6c0
cmp rsi, rdi
cmovg rsi, rdi
mov qword [rsp + 0x78], rsi
add rbx, rsi
mov rax, qword [rsp + 0x88]
test rax, rax
js 0x1400a1dec
cmp rax, rbp
cmovl rbp, rax
mov dword [rsp + 0xd0], ebp
mov dword [rsp + 0xa4], ebp
lea rsi, [rbx + 0x100000]
and rsi, 0xfffffffffff00000
test ebp, ebp
jle 0x1400a1e2c
cmp rsi, rbx
je 0x1400a1e38
movsxd r8, ebp
mov rdx, rbx
mov rcx, rsi
call fcn.14010cd30
mov r12, qword [rsp + 0x48]
movzx r14d, byte [rsp + 0x50]
jmp 0x1400a1e42
mov r12, qword [rsp + 0x48]
mov r14b, byte [rsp + 0x50]
jmp 0x1400a1e42
mov r12, qword [rsp + 0x48]
mov r14b, byte [rsp + 0x50]
mov dword [rsp + 0x48], r13d
mov byte [rsp + 0xd8], 0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14007d150
movzx ecx, al
mov byte [rsp + 0x40], al
test al, al
jns 0x1400a1e8b
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x1400a2fc3
movzx eax, byte [rsp + 0x42]
test al, al
je 0x1400a1eb4
cmp byte [rsp + 0xb8], 0
jne 0x1400a1eac
test cl, cl
jg 0x1400a1eac
mov byte [rsp + 0xd8], 1
jmp 0x1400a1eb4
mov byte [rsp + 0xd8], 0
mov byte [rsp + 0x41], 1
mov rdi, qword [rsp + 0x70]
test al, al
je 0x1400a1ecc
test r14b, r14b
jne 0x1400a1ecc
mov r14b, 2
jmp 0x1400a1ed5
cmp al, 2
jne 0x1400a1f1a
mov r14b, byte [rsp + 0x42]
test cl, cl
jg 0x1400a1f1f
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, r13
mov qword [rsp + 0xc0], rbx
test rbx, rbx
jne 0x1400a1f63
jmp 0x1400a1f1f
mov r14b, byte [rsp + 0x42]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, r13
mov qword [rsp + 0xc0], rbx
cmp r14b, 2
jne 0x1400a2a44
mov rsi, qword [rsp + 0x58]
test esi, esi
jle 0x1400a2a0d
cmp dword [rsp + 0xa0], 0
jle 0x1400a2a0d
mov r14, qword [rsp + 0x88]
test r14, r14
js 0x1400a1f9d
movsxd rcx, esi
lea rax, [rcx + r14 - 1]
cqo
idiv rcx
mov rbp, rax
jmp 0x1400a1fd0
mov rbp, qword [rsp + 0xa8]
movabs rax, 0x7fffffffffffffff
cmp rbp, rax
jne 0x1400a1fc1
mov r14, rax
mov qword [rsp + 0x88], rax
jmp 0x1400a1fd0
movsxd r14, esi
imul r14, rbp
mov qword [rsp + 0x88], r14
mov rcx, r12
call fcn.14002e004
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140071240
test rbx, rbx
jne 0x1400a201b
lea rcx, [rsp + 0x90]
call fcn.14005b520
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
lea eax, [rbx + 1]
jmp 0x1400a2fc3
mov dword [rsp + 0x68], esi
mov esi, dword [rsp + 0x60]
test sil, sil
je 0x1400a21a6
mov dl, byte [rsp + 0x40]
test dl, dl
jg 0x1400a21a0
cmp rbx, 0xffffffffffffffff
je 0x1400a2047
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp sil, 1
jne 0x1400a2057
xor edx, edx
mov rcx, rdi
call fcn.14006b210
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, r13
test rbx, rbx
jne 0x1400a20bc
lea rcx, [rsp + 0x90]
call fcn.14005b520
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
lea eax, [rbx + 1]
jmp 0x1400a2fc3
movzx ecx, byte [rsp + 0x43]
test cl, cl
je 0x1400a21c0
test rbp, rbp
js 0x1400a21ba
movsxd rax, dword [rsp + 0xa0]
imul rax, rbp
test r14, r14
js 0x1400a20ea
cmp rax, r14
cmovg rax, r14
lea rsi, [rax + r15]
movabs rax, 0x7ffffffffffffdff
movabs rcx, 0x7fffffffffffffff
cmp rbp, rcx
cmovge rsi, rax
mov r12d, dword [rsp + 0xd8]
test r12b, r12b
jne 0x1400a213c
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call fcn.14005c450
movzx r12d, r12b
cmp rax, rsi
mov eax, 1
cmovl r12d, eax
mov dword [rsp + 0xd8], r12d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.14005c450
cmp rax, rsi
jne 0x1400a2170
movabs rax, 0x7fffffffffffffff
cmp rbp, rax
jge 0x1400a2196
lea rcx, [rsp + 0x90]
call fcn.14005b520
jmp 0x1400a2f6e
movabs rax, 0x7fffffffffffffff
cmp rbp, rax
jge 0x1400a21b0
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14005c450
mov cl, byte [rsp + 0x43]
mov dl, byte [rsp + 0x40]
jmp 0x1400a21c4
mov cl, byte [rsp + 0x43]
mov dl, byte [rsp + 0x40]
jmp 0x1400a21c4
mov cl, byte [rsp + 0x43]
jmp 0x1400a21c4
mov cl, byte [rsp + 0x43]
mov dl, byte [rsp + 0x40]
jmp 0x1400a21c4
mov cl, byte [rsp + 0x43]
mov dl, byte [rsp + 0x40]
jmp 0x1400a21c4
mov dl, byte [rsp + 0x40]
jmp 0x1400a21c4
mov dl, byte [rsp + 0x40]
test rbp, rbp
jle 0x1400a29fb
test r14, r14
jle 0x1400a29fb
mov dword [rsp + 0xb8], r13d
mov eax, r13d
mov dword [rsp + 0x60], eax
mov r14d, r13d
test cl, cl
jne 0x1400a21fe
mov cl, byte [rsp + 0x50]
test cl, cl
jne 0x1400a21fe
mov bpl, 1
mov byte [rsp + 0x44], bpl
jmp 0x1400a2206
xor bpl, bpl
mov byte [rsp + 0x44], bpl
test dl, dl
jle 0x1400a2216
mov eax, r15d
and eax, 0x1ff
mov dword [rsp + 0x60], eax
cdqe
sub r15, rax
test r15, r15
jle 0x1400a2278
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call fcn.14005c450
cmp rax, r15
je 0x1400a2278
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x90]
call fcn.14005b520
nop
cmp rbx, 0xffffffffffffffff
je 0x1400a2259
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, edi
jmp 0x1400a2fc3
mov rsi, r13
test bpl, bpl
je 0x1400a23a6
lea rcx, [rsp + 0x90]
call fcn.14006b540
movsx r12d, al
mov dword [rsp + 0xb8], r12d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
cmove rsi, r13
test rsi, rsi
jne 0x1400a2319
lea rcx, [rsp + 0x90]
call fcn.14005b520
nop
cmp rbx, 0xffffffffffffffff
je 0x1400a22f7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 1
jmp 0x1400a2fc3
test r12d, r12d
jle 0x1400a232f
mov rbp, qword [rsp + 0x78]
mov r14d, ebp
and r14d, 0x1ff
jmp 0x1400a2334
mov rbp, qword [rsp + 0x78]
movsxd rax, r14d
sub rbp, rax
test rbp, rbp
jle 0x1400a23a6
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call fcn.14005c450
cmp rax, rbp
je 0x1400a23a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rsi, 0xffffffffffffffff
je 0x1400a2369
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x90]
call fcn.14005b520
nop
cmp rbx, 0xffffffffffffffff
je 0x1400a2387
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, edi
jmp 0x1400a2fc3
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0xa0]
cmp eax, ecx
je 0x1400a23b8
add eax, ecx
lea ebp, [rax + 0x8000]
mov dword [rsp + 0x48], ebp
add ebp, 0x2800
lea edx, [rbp + 0x100200]
lea rcx, [rsp + 0xc0]
call fcn.1400632b0
mov r15, qword [rsp + 0xc0]
add r15, 0x100000
and r15, 0xfffffffffff00000
mov qword [rsp + 0xb0], r15
movsxd rax, ebp
add rax, r15
mov qword [rsp + 0x98], rax
lea eax, [rbp + 0x200]
movsxd r8, eax
xor edx, edx
mov rcx, r15
call fcn.14010c6c0
mov r12d, r13d
mov dword [rsp + 0xa8], r13d
cmp byte [rsp + 0x40], r12b
jle 0x1400a2448
mov ecx, dword [rsp + 0xa0]
add ecx, 0x1ff
and ecx, 0xfffffe00
mov dword [rsp + 0xa4], ecx
jmp 0x1400a2456
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0xa4], ecx
cmp dword [rsp + 0xb8], r12d
jle 0x1400a2474
mov rax, qword [rsp + 0x58]
add eax, 0x1ff
and eax, 0xfffffe00
mov qword [rsp + 0x58], rax
xor dl, dl
mov dword [rsp + 0x78], edx
test r14d, r14d
jle 0x1400a24e9
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
mov r8d, 0x200
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12d, 0x200
sub r12d, r14d
mov dword [rsp + 0xa8], r12d
movsxd rax, r12d
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov qword [rsp + 0x88], rcx
jns 0x1400a24d4
add r12d, ecx
mov dword [rsp + 0xa8], r12d
movsxd r8, r12d
movsxd rdx, r14d
add rdx, r15
mov rcx, r15
call fcn.14010cd30
mov edx, dword [rsp + 0x78]
movsxd r14, dword [rsp + 0x60]
test r14d, r14d
jle 0x1400a2581
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rbx
call fcn.14005c450
mov rbp, rax
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
mov r8d, 0x200
mov rdx, qword [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd r8, r12d
mov rdx, r15
lea rcx, [r14 + rdx]
call fcn.14010cd30
mov r8, r14
mov rdx, qword [rsp + 0x98]
mov rcx, r15
call fcn.14010cd30
add r12d, r14d
mov dword [rsp + 0xa8], r12d
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.14005c450
mov edx, dword [rsp + 0x78]
movzx edx, dl
cmp byte [rsp + 0x43], 0
mov eax, 1
cmovne edx, eax
mov dword [rsp + 0x78], edx
mov cl, 1
mov byte [rsp + 0x42], cl
mov ebp, dword [rsp + 0xa8]
test ebp, ebp
jle 0x1400a25c8
mov r12, qword [rsp + 0x88]
mov r14, r15
cmp ebp, dword [rsp + 0xa0]
jge 0x1400a266a
test ebp, ebp
jle 0x1400a25d0
cmp r15, r14
je 0x1400a25d0
movsxd r8, ebp
mov rdx, r14
mov rcx, r15
call fcn.14010cd30
movzx ecx, byte [rsp + 0x42]
jmp 0x1400a25d0
mov r12, qword [rsp + 0x88]
test r12, r12
jle 0x1400a2656
test cl, cl
je 0x1400a2656
cmp byte [rsp + 0x44], 0
je 0x1400a292f
mov rcx, qword [rsp + 0x58]
movsxd rax, ecx
mov r8d, r12d
cmp rax, r12
cmovle r8d, ecx
lea eax, [r8 + rbp]
mov r14d, dword [rsp + 0x48]
cmp eax, r14d
jle 0x1400a2612
mov r8d, r14d
sub r8d, ebp
cmp dword [rsp + 0xb8], 0
jle 0x1400a262a
add r8d, 0x1ff
and r8d, 0xfffffe00
mov dword [rsp + 0x68], r13d
movsxd rdx, ebp
add rdx, r15
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r11d, dword [rsp + 0x68]
test r11d, r11d
jne 0x1400a2920
test ebp, ebp
jle 0x1400a299c
mov byte [rsp + 0x42], 0
mov r14, r15
mov edx, dword [rsp + 0x78]
mov r12d, ebp
mov eax, dword [rsp + 0xa4]
cmp eax, ebp
cmovle r12d, eax
mov dword [rsp + 0x64], r13d
cmp byte [rsp + 0x40], 0
jle 0x1400a2694
mov eax, r12d
and eax, 0x1ff
mov dword [rsp + 0x60], eax
jmp 0x1400a269b
mov eax, r13d
mov dword [rsp + 0x60], eax
mov r15d, r12d
sub r15d, eax
test r15d, r15d
jle 0x1400a26d5
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x64]
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
call fcn.14005ff50
test eax, eax
jne 0x1400a2888
cmp byte [rsp + 0x41], al
je 0x1400a2994
jmp 0x1400a27cd
test eax, eax
jle 0x1400a278d
xor edx, edx
mov r8d, 0x200
mov rcx, qword [rsp + 0x98]
call fcn.14010c6c0
mov r12d, 0x200
sub r12d, dword [rsp + 0x60]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rbx
call fcn.14005c450
mov rbp, rax
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
mov r8d, 0x200
mov rdx, qword [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd r8, r12d
movsxd rdx, dword [rsp + 0x60]
add rdx, qword [rsp + 0x98]
movsxd rcx, dword [rsp + 0xa8]
add rcx, r14
call fcn.14010cd30
add dword [rsp + 0xa8], r12d
mov r12d, 0x200
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.14005c450
movzx edx, byte [rsp + 0x78]
cmp byte [rsp + 0x43], 0
mov eax, 1
cmovne edx, eax
mov dword [rsp + 0x78], edx
mov ebp, dword [rsp + 0xa8]
mov ecx, r13d
mov dword [rsp + 0x64], ecx
test r12d, r12d
jle 0x1400a28de
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x64]
mov r8d, r12d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400a28d6
cmp byte [rsp + 0x41], al
je 0x1400a29b5
mov byte [rsp + 0x41], 2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x45], al
mov byte [rsp + 0x41], 0
mov dword [rsp + 0x64], r13d
test rbx, rbx
je 0x1400a27fa
cmp rbx, 0xffffffffffffffff
je 0x1400a27fa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, r13
test rbx, rbx
jne 0x1400a2861
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x64]
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
call fcn.14005ff50
test eax, eax
je 0x1400a2994
cmp byte [rsp + 0x45], 2
je 0x1400a28d6
mov eax, dword [rsp + 0x64]
cmp eax, r15d
cmova eax, r15d
mov dword [rsp + 0x64], eax
mov edx, dword [rsp + 0x78]
test dl, dl
je 0x1400a28b6
mov r8d, eax
xor edx, edx
mov rcx, r14
call fcn.14010c6c0
xor dl, dl
mov dword [rsp + 0x78], edx
mov eax, dword [rsp + 0x64]
mov byte [rsp + 0x41], 0
sub r12d, eax
sub ebp, eax
mov dword [rsp + 0xa8], ebp
movsxd rax, r15d
add r14, rax
mov eax, dword [rsp + 0x60]
jmp 0x1400a26d5
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x78]
test dl, dl
je 0x1400a28f9
mov r8d, ecx
xor edx, edx
mov rcx, r14
call fcn.14010c6c0
xor dl, dl
mov dword [rsp + 0x78], edx
mov ecx, dword [rsp + 0x64]
mov eax, ecx
add r14, rax
sub ebp, ecx
mov dword [rsp + 0xa8], ebp
mov r15, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x88]
mov cl, byte [rsp + 0x42]
jmp 0x1400a259d
cmp r11d, r12d
jbe 0x1400a2960
mov r11d, r12d
mov dword [rsp + 0x68], r12d
jmp 0x1400a2960
movsxd rcx, dword [rsp + 0xa4]
mov r11d, r12d
cmp rcx, r12
cmovle r11d, ecx
mov dword [rsp + 0x68], r11d
lea eax, [rbp + r11]
mov r14d, dword [rsp + 0x48]
cmp eax, r14d
jbe 0x1400a2960
mov r11d, r14d
sub r11d, ebp
mov dword [rsp + 0x68], r11d
movabs rax, 0x7fffffffffffffff
cmp r12, rax
je 0x1400a297d
mov eax, r11d
sub r12, rax
mov qword [rsp + 0x88], r12
add ebp, r11d
mov dword [rsp + 0xa8], ebp
mov edx, dword [rsp + 0x78]
mov cl, byte [rsp + 0x42]
jmp 0x1400a259a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400a29b5
test r13d, r13d
jne 0x1400a29b5
test r12, r12
jle 0x1400a29c8
movabs rax, 0x7fffffffffffffff
cmp r12, rax
je 0x1400a29c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmove eax, ecx
mov r13d, eax
lea rcx, [rsp + 0xc0]
call fcn.14005b520
test rsi, rsi
je 0x1400a29e9
cmp rsi, 0xffffffffffffffff
je 0x1400a29e9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x90]
call fcn.14005b520
jmp 0x1400a2f6e
lea rcx, [rsp + 0x90]
call fcn.14005b520
jmp 0x1400a2f6e
test rbx, rbx
je 0x1400a2a22
cmp rbx, 0xffffffffffffffff
je 0x1400a2a22
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x1400a2fc3
mov r12, r13
mov qword [rsp + 0xc0], r13
mov r14, r13
mov al, byte [rsp + 0x40]
cmp al, 0x11
jne 0x1400a2ab7
lea r8, [rsp + 0xc0]
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call fcn.14006b410
mov r14, rax
test rax, rax
jns 0x1400a2aad
test rbx, rbx
je 0x1400a2a8b
cmp rbx, 0xffffffffffffffff
je 0x1400a2a8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 1
jmp 0x1400a2fc3
mov r12, qword [rsp + 0xc0]
jmp 0x1400a2b07
test rbx, rbx
je 0x1400a2b14
test al, al
jne 0x1400a2ae8
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call fcn.14005c450
mov r12, rax
lea rax, [r15 - 0x400]
cmp r12, rax
jge 0x1400a2b07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a2b07
movzx edx, al
mov rcx, rbx
call fcn.14005fe50
mov r12, rax
test rax, rax
movabs rax, 0x7fffffffffffffff
cmovs r12, rax
test rbx, rbx
jne 0x1400a2b9a
mov al, byte [rsp + 0x40]
test al, al
jne 0x1400a2b6e
mov rdx, r15
mov rcx, rdi
call fcn.14006b210
test rbx, rbx
je 0x1400a2b37
cmp rbx, 0xffffffffffffffff
je 0x1400a2b37
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
cmove rbx, r13
mov byte [rsp + 0x51], 1
test rbx, rbx
jne 0x1400a2b9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, ebx
jmp 0x1400a2fc3
cmp byte [rsp + 0x51], 0
je 0x1400a2bb7
mov al, byte [rsp + 0x40]
test al, al
movabs rcx, 0x7fffffffffffffff
cmove r12, rcx
jmp 0x1400a2bbb
mov al, byte [rsp + 0x40]
mov di, r13w
mov dword [rsp + 0x60], edi
test al, al
je 0x1400a2bd7
mov di, r15w
mov eax, 0x1ff
and di, ax
mov dword [rsp + 0x60], edi
add r15, r14
movzx eax, di
mov rdx, r15
sub rdx, rax
xor r8d, r8d
mov rcx, rbx
call fcn.14005c450
mov qword [rsp + 0x58], r13
mov r14, r12
sub r14, r15
test rax, rax
jns 0x1400a2c45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x58]
call fcn.14005b520
nop
test rbx, rbx
je 0x1400a2c26
cmp rbx, 0xffffffffffffffff
je 0x1400a2c26
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, edi
jmp 0x1400a2fc3
cmp byte [rsp + 0x44], 0
je 0x1400a2c83
movsxd rax, dword [rsp + 0xa4]
cmp r12, rax
cmovg r12, rax
test r12, r12
jle 0x1400a2f5b
movzx r9d, di
mov al, byte [rsp + 0x40]
mov byte [rsp + 0x20], al
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.14006ba50
jmp 0x1400a2f5b
test rbp, rbp
js 0x1400a2c8f
cmp rbp, r14
cmovl r14, rbp
mov qword [rsp + 0x48], rsi
cmp byte [rsp + 0x45], 0
je 0x1400a2cf2
or r9d, 0xffffffff
or r8d, r9d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140063440
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rcx, eax
cmp rcx, r14
cmovg eax, r14d
test eax, eax
jle 0x1400a2f5b
mov ecx, dword [rsp + 0x60]
movzx r9d, cx
movsxd r8, eax
mov al, byte [rsp + 0x40]
mov byte [rsp + 0x20], al
mov rdx, rdi
mov rcx, rbx
call fcn.14006ba50
jmp 0x1400a2f5b
lea rdx, [rsp + 0x2f0]
and rdx, 0xfffffffffffffe00
mov qword [rsp + 0x88], rdx
movzx eax, di
mov ecx, 0x200
sub ecx, eax
mov rdi, r13
mov qword [rsp + 0x90], r13
xor al, al
mov byte [rsp + 0x45], al
movzx ebp, byte [rsp + 0x64]
test r14, r14
jle 0x1400a2f5b
mov r10d, 0x30
lea r11d, [r10 + 0x48]
nop dword [rax]
test rdi, rdi
jg 0x1400a2d4f
cmp word [rsi], 0
je 0x1400a2f5b
mov r15d, r13d
mov r12, r13
movsxd rcx, ecx
mov qword [rsp + 0xb0], rcx
test rcx, rcx
jle 0x1400a2f5b
nop dword [rax]
test r14, r14
jle 0x1400a2f14
test rdi, rdi
jg 0x1400a2edb
cmp word [rsi], 0
je 0x1400a2f14
lea rcx, [rsp + 0x48]
call fcn.14005b560
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x98], r13
cmp word [rcx], 0x2a
jne 0x1400a2de3
add rcx, 2
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.140068f80
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
mov r10d, 0x30
lea r11d, [r10 + 0x48]
movzx eax, word [rcx]
test ax, ax
je 0x1400a2e22
nop dword [rax + rax]
cmp ax, 0x30
jb 0x1400a2dfc
cmp ax, 0x39
jbe 0x1400a2e1d
test bpl, bpl
je 0x1400a2e11
or ax, 0x20
cmp ax, 0x61
jb 0x1400a2e11
cmp ax, 0x7a
jbe 0x1400a2e1d
add rcx, 2
mov ax, word [rcx]
test ax, ax
jne 0x1400a2df0
mov qword [rsp + 0x48], rcx
cmp r10w, word [rcx]
jne 0x1400a2e44
movzx eax, word [rcx + 2]
or ax, 0x20
cmp r11w, ax
jne 0x1400a2e44
mov bpl, 1
add rcx, 4
mov qword [rsp + 0x48], rcx
jmp 0x1400a2e49
test bpl, bpl
je 0x1400a2e82
mov qword [rsp + 0x98], r13
mov r8d, 2
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x48]
call fcn.140064230
mov rsi, qword [rsp + 0x48]
movzx eax, word [rsi]
sub ax, 0x30
cmp ax, 9
jbe 0x1400a2e9e
mov bpl, byte [rsp + 0x64]
jmp 0x1400a2e9e
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x48]
call fcn.140066e40
cmp eax, 1
jl 0x1400a2efd
mov rsi, qword [rsp + 0x48]
cmp rsi, qword [rsp + 0xc0]
je 0x1400a2f0c
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x45], al
dec rdi
mov qword [rsp + 0x90], rdi
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x88]
mov r10d, 0x30
lea r11d, [r10 + 0x48]
jmp 0x1400a2ee6
dec rdi
mov qword [rsp + 0x90], rdi
mov byte [r12 + rdx], al
inc r15d
inc r12
dec r14
cmp r12, rcx
jge 0x1400a2f14
jmp 0x1400a2d70
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x88]
jmp 0x1400a2f14
mov rdx, qword [rsp + 0x88]
test r15d, r15d
jle 0x1400a2f5b
movzx r9d, word [rsp + 0x60]
movsxd r8, r15d
mov al, byte [rsp + 0x40]
mov byte [rsp + 0x20], al
mov rcx, rbx
call fcn.14006ba50
mov dword [rsp + 0x60], r13d
mov ecx, 0x200
test r14, r14
mov al, byte [rsp + 0x45]
mov rdx, qword [rsp + 0x88]
mov r10d, 0x30
lea r11d, [r10 + 0x48]
jg 0x1400a2d40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [rsp + 0x58]
call fcn.14005b520
cmp byte [rsp + 0xd8], 0
je 0x1400a2f82
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
nop
test rbx, rbx
je 0x1400a2f97
cmp rbx, 0xffffffffffffffff
je 0x1400a2f97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xc8]
call fcn.14005b520
nop
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, r13d
jmp 0x1400a2fc3
lea rcx, [rsp + 0x70]
call fcn.14005b520
mov eax, 0x80070057
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14010bcc0
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret