Function at 0x1403a6310
Capabilities:
Encode data using xor

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x580
mov r14, rcx
mov rax, qword [0x14194d6d8]
xor r12b, r12b
xor rax, rsp
mov qword [rsp + 0x5b8], rdx
mov r13, qword [r14 + 8]
mov qword [rsp + 0x5c0], r8
mov qword [rsp + 0x570], rax
xor eax, eax
mov r10b, byte [r13 + 0x295]
xor ebp, ebp
mov dword [rsp + 0x120], eax
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rdi
and r10b, 0x10
lea rcx, [rsp + 0x5b8]
mov sil, r10b
lea rdx, [rsp + 0x5c0]
shr sil, 4
lea r8, [rsp + 0xf8]
lea r9, [rsp + 0x168]
call fcn.1403ca9c0
test eax, eax
jne 0x1403aab46
mov r9d, dword [rsp + 0x108]
cmp r9d, 2
je 0x1403aaaf7
xor r8d, r8d
mov r15b, 1
xor bl, bl
cmp r9d, 1
je 0x1403a997b
mov r10b, byte [r13 + 0x295]
test r10b, 0x20
je 0x1403a643a
cmp byte [r13 + 0x280], 0
jne 0x1403a643a
cmp qword [rsp + 0x110], 1
jle 0x1403a643a
lea eax, [r9 - 5]
cmp eax, 0xc
jbe 0x1403a6420
lea eax, [r9 - 0x19]
cmp eax, 6
jbe 0x1403a6420
lea eax, [r9 - 0x32]
cmp eax, 2
jbe 0x1403a6420
lea eax, [r9 - 0x28]
cmp eax, 8
ja 0x1403a643a
mov r14b, 1
mov edx, dword [rsp + 0x168]
mov r11b, r14b
cmp edx, 5
jne 0x1403a6447
mov dil, 1
xor r14b, r14b
jmp 0x1403a644a
xor r14b, r14b
mov edx, dword [rsp + 0x168]
xor r11b, r11b
xor dil, dil
lea eax, [rdx - 7]
cmp eax, 1
ja 0x1403a6589
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x1403a74a8
mov rax, qword [rsp + 0x100]
cqo
mov qword [rsp + 0x80], rax
idiv rcx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x128], rcx
test rax, rax
je 0x1403a74a8
lea eax, [r9 - 0x1c]
cmp eax, 0x10
jbe 0x1403a64b1
cmp r9d, 0x34
je 0x1403a64b1
mov dword [rsp + 0x120], 0
jmp 0x1403a64c0
mov ebp, 1
add rcx, rcx
mov dword [rsp + 0x120], ebp
mov eax, dword [rsp + 0x16c]
test eax, eax
jle 0x1403a655d
cmp rcx, qword [rsp + 0x188]
jne 0x1403a64f5
mov rdx, qword [rsp + 0x180]
cmp rdx, qword [rsp + 0x178]
jg 0x1403a64f5
cmp rdx, 1
je 0x1403a74b7
movsxd r10, eax
cmp r10, 2
jl 0x1403a74b0
and eax, 0xfffffffe
xor r11d, r11d
movsxd rax, eax
lea rdx, [r11 + r11*2]
movq xmm0, qword [rsp + rdx*8 + 0x180]
movhpd xmm0, qword [rsp + rdx*8 + 0x198]
movdqu xmmword [rsp + r11*8 + 0x460], xmm0
add r11, 2
cmp r11, rax
jb 0x1403a650b
lea r11, [rax + rax*2]
shl r11, 3
cmp rax, r10
jae 0x1403a655d
mov rdx, qword [rsp + r11 + 0x180]
add r11, 0x18
mov qword [rsp + rax*8 + 0x460], rdx
inc rax
cmp rax, r10
jb 0x1403a6541
mov dword [rsp + 0x70], r8d
lea rcx, [rsp + 0x168]
lea rdx, [rsp + 0x460]
call fcn.1403b8010
mov r8d, dword [rsp + 0x70]
mov qword [rsp + 0xf8], rax
jmp 0x1403a66c8
add edx, 0xfffffffb
cmp edx, 1
ja 0x1403a6676
mov qword [rsp + 0xe0], 1
cmp qword [rsp + 0x110], 0
je 0x1403a74a8
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x128], rax
test rax, rax
je 0x1403a74a8
test r10b, 0x10
je 0x1403a666a
test dil, dil
jne 0x1403a6667
mov rdx, r13
lea rcx, [rsp + 0xf8]
mov dword [rsp + 0x70], r8d
call fcn.1403b88d0
mov r8d, dword [rsp + 0x70]
test eax, eax
je 0x1403a6667
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x128], rax
test rax, rax
je 0x1403a662b
mov rax, qword [rsp + 0x100]
cqo
idiv qword [rsp + 0x128]
mov qword [rsp + 0xe0], rax
jmp 0x1403a6637
mov qword [rsp + 0xe0], 0
test byte [r13 + 0x290], 2
je 0x1403a66d3
cmp qword [rsp + 0xe0], 0
jne 0x1403a66c8
mov dword [r13 + 0x220], 1
mov r10b, byte [r13 + 0x295]
jmp 0x1403a74a8
xor sil, sil
test byte [r13 + 0x290], 2
jne 0x1403a66c8
jmp 0x1403a66d3
lea eax, [r9 - 0x1c]
cmp eax, 0x10
ja 0x1403a669d
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xe0], 2
mov qword [rsp + 0x128], rax
jmp 0x1403a66c8
cmp r9d, 0x34
je 0x1403a667f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0xe0], 1
test rax, rax
je 0x1403a7499
mov dword [r13 + 0x220], 0
mov rcx, qword [rsp + 0x128]
mov r11, rcx
mov r9d, ecx
shr r11, 0x3f
add r11, rcx
lea r10, [rcx - 1]
sar r11, 1
mov rdx, r11
mov eax, ecx
lea rcx, [rsp + rcx + 0x560]
shr rdx, 1
mov byte [rsp + 0x148], dil
mov byte [rsp + 0xd8], r15b
mov byte [rsp + 0x130], sil
mov sil, r14b
mov qword [rsp + 0xb8], rcx
mov r14d, r8d
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], r11
mov qword [rsp + 0x138], r10
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xc8], r9d
mov byte [rsp + 0xd0], bl
mov rdi, qword [rsp + 0xe0]
mov r15, qword [rsp + 0x128]
test r12b, r12b
jne 0x1403a713d
mov r10d, dword [rsp + 0x108]
cmp r10d, 0x3f
je 0x1403a991c
mov r9, qword [rsp + 0xf8]
mov rbx, r15
test sil, sil
je 0x1403a6978
mov rax, r9
and rax, qword [rsp + 0x138]
test rax, 3
jne 0x1403a683f
cmp r15, 4
je 0x1403a682e
cmp r15, 8
jne 0x1403a67d6
mov r10d, dword [r9]
mov eax, dword [r9 + 4]
bswap eax
bswap r10d
mov dword [rsp + 0x560], eax
mov dword [rsp + 0x564], r10d
jmp 0x1403a696e
cmp r15, 0x10
jne 0x1403a6818
mov edx, dword [r9]
mov r11d, dword [r9 + 4]
mov r10d, dword [r9 + 8]
mov eax, dword [r9 + 0xc]
bswap eax
bswap r10d
bswap r11d
bswap edx
mov dword [rsp + 0x560], eax
mov dword [rsp + 0x564], r10d
mov dword [rsp + 0x568], r11d
mov dword [rsp + 0x56c], edx
jmp 0x1403a696e
movsx eax, word [r9]
bswap eax
shr eax, 0x10
mov word [rsp + 0x560], ax
jmp 0x1403a696e
mov eax, dword [r9]
bswap eax
mov dword [rsp + 0x560], eax
jmp 0x1403a696e
cmp r15, 1
je 0x1403a766b
cmp qword [rsp + 0xf0], 0
jle 0x1403a696e
xor eax, eax
mov r11d, 1
cmp qword [rsp + 0xe8], 0
je 0x1403a6932
mov byte [rsp + 0x140], r12b
lea r10, [r15 + r9]
mov dword [rsp + 0x158], ebp
mov qword [rsp + 0xb0], r13
mov r12, qword [rsp + 0xb8]
mov r11, qword [rsp + 0xe8]
nop word [rax + rax]
movsxd rax, eax
lea ecx, [rax + rax]
movsxd rcx, ecx
mov bpl, byte [r9 + rax*2]
lea rdx, [rax + rax]
mov r13, rdx
neg rdx
neg r13
add rdx, r12
mov r15b, byte [r10 + r13 - 1]
xor bpl, r15b
mov byte [rsp + rcx + 0x560], r15b
xor bpl, byte [r10 + r13 - 1]
mov byte [rdx - 1], bpl
mov r15b, byte [r10 + r13 - 2]
mov r8b, byte [r9 + rax*2 + 1]
inc eax
mov byte [rsp + rcx + 0x561], r15b
xor r8b, r15b
xor r8b, byte [r10 + r13 - 2]
mov byte [rdx - 2], r8b
cmp rax, r11
jb 0x1403a68a0
add eax, eax
mov qword [rsp + 0xe8], r11
movsxd r11, eax
mov qword [rsp + 0xb8], r12
inc r11
mov r15, qword [rsp + 0x128]
mov ebp, dword [rsp + 0x158]
mov r13, qword [rsp + 0xb0]
mov r12b, byte [rsp + 0x140]
dec r11
mov eax, r11d
cmp rax, qword [rsp + 0xf0]
jae 0x1403a696e
mov r10b, byte [r11 + r9]
add r9, r15
sub r9, r11
mov al, byte [r9 - 1]
xor r10b, al
mov byte [rsp + r11 + 0x560], al
neg r11
add r11, qword [rsp + 0xb8]
xor r10b, byte [r9 - 1]
mov byte [r11 - 1], r10b
lea r9, [rsp + 0x560]
jmp 0x1403a69c6
mov al, byte [rsp + 0x130]
test al, al
je 0x1403a69c6
cmp r10d, 0x38
je 0x1403a69c6
mov r8, r13
lea rcx, [rsp + 0xf8]
mov edx, dword [rcx - 0x30]
lea r9, [rsp + 0x560]
call fcn.1403b85d0
lea r9, [rsp + 0x560]
test eax, eax
je 0x1403a69c6
mov ecx, 0x5f
xor edx, edx
mov qword [rsp + 0x78], r9
call fcn.140383960
mov r9, qword [rsp + 0x78]
mov r10b, byte [r13 + 0x297]
test r10b, 0x20
je 0x1403a69e8
cmp rdi, 1
je 0x1403a9877
and r10b, 0xdf
mov byte [r13 + 0x297], r10b
test r10b, 0x40
jne 0x1403a713d
mov eax, dword [r13 + 0x238]
cmp eax, 7
je 0x1403a712f
mov rcx, qword [r13 + 0x80]
mov rdx, qword [r13 + 0x90]
lea r10, [r15 + rcx]
cmp r10, rdx
jbe 0x1403a6e1b
movsx r10d, byte [r13 + 0x27c]
mov dword [rsp + 0x160], r10d
cmp r10d, 5
je 0x1403a9334
cmp eax, 0xb
jne 0x1403a6a52
mov r10d, dword [rsp + 0x160]
and r10d, 0xfffffffe
cmp r10d, 4
je 0x1403a767a
mov byte [rsp + 0x150], sil
mov rsi, rdx
mov dword [rsp + 0x158], ebp
mov rbp, r9
mov byte [rsp + 0x140], r12b
mov r9, rcx
mov r14b, byte [rsp + 0x148]
xor r12d, r12d
mov r11d, dword [rsp + 0x160]
cmp r11d, 3
jne 0x1403a6d04
sub rsi, r9
test r14b, r14b
je 0x1403a6c99
mov r11, qword [rsp + 0x110]
mov r10, r11
neg r10
mov rax, rbp
and rsi, r10
cmp r11, 2
je 0x1403a856c
cmp r11, 4
je 0x1403a6baf
cmp r11, 8
jne 0x1403a6b5d
test rsi, rsi
jle 0x1403a6cae
xor eax, eax
lea r11, [rsi + 7]
mov r15d, 1
xor r10d, r10d
shr r11, 4
je 0x1403a6b2c
mov edx, dword [r10 + rbp]
inc rax
mov r15d, dword [r10 + rbp + 4]
bswap r15d
bswap edx
mov dword [r10 + r9], r15d
mov dword [r10 + r9 + 4], edx
mov ecx, dword [r10 + rbp + 8]
mov r15d, dword [r10 + rbp + 0xc]
bswap r15d
bswap ecx
mov dword [r10 + r9 + 8], r15d
mov dword [r10 + r9 + 0xc], ecx
add r10, 0x10
cmp rax, r11
jb 0x1403a6aeb
lea r15, [rax + rax + 1]
dec r15
lea rax, [rsi + 7]
shr rax, 3
cmp r15, rax
jae 0x1403a6ca7
mov r10d, dword [rbp + r15*8]
mov eax, dword [rbp + r15*8 + 4]
bswap eax
bswap r10d
mov dword [r9 + r15*8], eax
mov dword [r9 + r15*8 + 4], r10d
jmp 0x1403a6ca7
cmp r11, 0x10
jne 0x1403a6cae
mov r10, rsi
test rsi, rsi
jle 0x1403a6cae
add r10, 0xfffffffffffffff0
mov ecx, dword [rax]
mov edx, dword [rax + 4]
mov r15d, dword [rax + 8]
mov r11d, dword [rax + 0xc]
add rax, 0x10
bswap r11d
bswap r15d
bswap edx
bswap ecx
mov dword [r9], r11d
mov dword [r9 + 4], r15d
mov dword [r9 + 8], edx
mov dword [r9 + 0xc], ecx
add r9, 0x10
test r10, r10
jg 0x1403a6b73
jmp 0x1403a6ca7
test rsi, rsi
jle 0x1403a6cae
mov r10, rsi
neg r10
lea rax, [r10 - 3]
sar rax, 1
shr rax, 0x3e
lea r10, [rax + r10 - 3]
sar r10, 2
mov r11, r10
neg r11
cmp r11, 6
jle 0x1403a6c43
shl r10, 2
mov rax, r9
neg r10
sub rax, rbp
cmp rax, r10
jge 0x1403a6bf8
neg rax
cmp rax, r10
jl 0x1403a6c43
mov r11d, 1
lea rax, [rsi + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a6c31
mov r11d, dword [rbp + r10*8]
mov r15d, dword [rbp + r10*8 + 4]
bswap r11d
bswap r15d
mov dword [r9 + r10*8], r11d
mov dword [r9 + r10*8 + 4], r15d
inc r10
cmp r10, rax
jb 0x1403a6c0b
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rsi + 3]
shr rax, 2
cmp r11, rax
jb 0x1403a6c8c
jmp 0x1403a6ca7
mov r11d, 1
lea rax, [rsi + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a6c7c
mov r11d, dword [rbp + r10*8]
bswap r11d
mov dword [r9 + r10*8], r11d
mov r15d, dword [rbp + r10*8 + 4]
bswap r15d
mov dword [r9 + r10*8 + 4], r15d
inc r10
cmp r10, rax
jb 0x1403a6c56
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rsi + 3]
shr rax, 2
cmp r11, rax
jae 0x1403a6ca7
mov eax, dword [rbp + r11*4]
bswap eax
mov dword [r9 + r11*4], eax
jmp 0x1403a6ca7
mov rcx, r9
mov rdx, rbp
mov r8, rsi
call fcn.14042ae90
mov r9, qword [r13 + 0x80]
mov rcx, r13
add r9, rsi
mov qword [r13 + 0x80], r9
sub rbx, rsi
add rbp, rsi
call fcn.1403d0f20
test eax, eax
jne 0x1403a869a
mov rax, qword [r13 + 0x88]
test rax, rax
je 0x1403a8676
mov byte [rax + 2], r12b
mov rax, qword [r13 + 0x88]
mov byte [rax + 3], r12b
mov r9, qword [r13 + 0x88]
add r9, 4
mov qword [r13 + 0x80], r9
jmp 0x1403a6dd0
mov r8d, 0x200
cmp rbx, 0x200
mov r15, qword [r13 + 0x1c8]
mov rdx, r15
cmovge r8, rbx
mov r10, rbx
shr rdx, 3
cmp rdx, r8
cmova r8, rdx
mov rdx, qword [r13 + 0x78]
cmp eax, 0xb
jne 0x1403a6d69
mov ecx, r11d
and ecx, 0xfffffffe
cmp ecx, 4
jne 0x1403a6d69
mov rcx, qword [r13 + 0x240]
mov r10d, 0x20000
test rcx, rcx
cmovne r10, rcx
sub r10, rsi
add r10, rdx
cmp r8, r10
cmovge r8, r10
cmp rbx, r10
cmovl r10, rbx
test byte [r13 + 0x297], 1
je 0x1403a87c1
cmp eax, 0xb
jne 0x1403a6d8a
and r11d, 0xfffffffe
cmp r11d, 4
je 0x1403a87c1
sub r9, rdx
mov rcx, r13
mov r8, r9
lea rax, [rbx + r9]
add qword [r13 + 0x200], rax
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a91ed
mov rcx, r13
mov rdx, rbp
mov r8, rbx
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a90a6
mov r9, qword [r13 + 0x78]
xor ebx, ebx
mov qword [r13 + 0x80], r9
mov rsi, qword [r13 + 0x90]
lea r10, [r9 + rbx]
mov eax, dword [r13 + 0x238]
cmp r10, rsi
jbe 0x1403a9071
cmp eax, 0xb
je 0x1403a6dfd
movsx r11d, byte [r13 + 0x27c]
jmp 0x1403a6a85
movsx r11d, byte [r13 + 0x27c]
mov r10d, r11d
and r10d, 0xfffffffe
cmp r10d, 4
je 0x1403a904b
jmp 0x1403a6a85
mov r10b, byte [rsp + 0xd8]
test r10b, r10b
je 0x1403a6ea3
xor r14d, r14d
xor r10b, r10b
mov byte [rsp + 0xd8], r10b
mov byte [rsp + 0xd0], r10b
cmp r15, 8
jne 0x1403a6e88
test rcx, 7
jne 0x1403a6e61
test byte [rsp + 0xf8], 7
jne 0x1403a6e61
mov byte [rsp + 0xd0], 1
jmp 0x1403a6ea3
mov byte [rsp + 0xd0], 0
test rcx, 3
jne 0x1403a6e83
xor r14d, r14d
test byte [rsp + 0xf8], 3
sete r14b
jmp 0x1403a6ea3
xor r14d, r14d
jmp 0x1403a6ea3
cmp r15, 4
jne 0x1403a6ea3
test rcx, 3
jne 0x1403a6ea3
test byte [rsp + 0xf8], 3
sete r14b
cmp eax, 0xb
jne 0x1403a6ebc
movsx eax, byte [r13 + 0x27c]
and eax, 0xfffffffe
cmp eax, 4
je 0x1403a76b2
cmp rbx, 4
jne 0x1403a6ed8
test r14d, r14d
je 0x1403a6ed8
mov eax, dword [r9]
mov dword [rcx], eax
mov rcx, qword [r13 + 0x80]
jmp 0x1403a7123
cmp rbx, 8
jne 0x1403a6efb
mov al, byte [rsp + 0xd0]
test al, al
je 0x1403a6efb
mov rax, qword [r9]
mov qword [rcx], rax
mov rcx, qword [r13 + 0x80]
jmp 0x1403a7123
cmp rbx, 1
jne 0x1403a6f12
mov al, byte [r9]
mov byte [rcx], al
mov rcx, qword [r13 + 0x80]
jmp 0x1403a7123
mov al, byte [rsp + 0x148]
test al, al
je 0x1403a7111
mov rax, qword [rsp + 0x110]
cmp rax, 2
je 0x1403a94ca
cmp rax, 4
je 0x1403a702a
cmp rax, 8
jne 0x1403a6fd6
test rbx, rbx
jle 0x1403a7123
xor edx, edx
lea r11, [rbx + 7]
mov eax, 1
xor r10d, r10d
shr r11, 4
je 0x1403a6fa5
mov r8d, dword [r10 + r9]
inc rdx
mov eax, dword [r10 + r9 + 4]
bswap eax
bswap r8d
mov dword [r10 + rcx], eax
mov dword [r10 + rcx + 4], r8d
mov r8d, dword [r10 + r9 + 8]
mov eax, dword [r10 + r9 + 0xc]
bswap eax
bswap r8d
mov dword [r10 + rcx + 8], eax
mov dword [r10 + rcx + 0xc], r8d
add r10, 0x10
cmp rdx, r11
jb 0x1403a6f64
lea rax, [rdx + rdx + 1]
dec rax
lea r10, [rbx + 7]
shr r10, 3
cmp rax, r10
jae 0x1403a711c
mov r11d, dword [r9 + rax*8]
mov r10d, dword [r9 + rax*8 + 4]
bswap r10d
bswap r11d
mov dword [rcx + rax*8], r10d
mov dword [rcx + rax*8 + 4], r11d
jmp 0x1403a711c
cmp rax, 0x10
jne 0x1403a7123
mov rax, rbx
test rbx, rbx
jle 0x1403a7123
add rax, 0xfffffffffffffff0
mov r8d, dword [r9]
mov edx, dword [r9 + 4]
mov r11d, dword [r9 + 8]
mov r10d, dword [r9 + 0xc]
add r9, 0x10
bswap r10d
bswap r11d
bswap edx
bswap r8d
mov dword [rcx], r10d
mov dword [rcx + 4], r11d
mov dword [rcx + 8], edx
mov dword [rcx + 0xc], r8d
add rcx, 0x10
test rax, rax
jg 0x1403a6fec
jmp 0x1403a711c
test rbx, rbx
jle 0x1403a7123
mov r10, rbx
neg r10
lea rax, [r10 - 3]
sar rax, 1
shr rax, 0x3e
lea r10, [rax + r10 - 3]
sar r10, 2
mov r11, r10
neg r11
cmp r11, 6
jle 0x1403a70bd
shl r10, 2
mov rax, rcx
neg r10
sub rax, r9
cmp rax, r10
jge 0x1403a7073
neg rax
cmp rax, r10
jl 0x1403a70bd
mov r11d, 1
lea rax, [rbx + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a70ab
mov r11d, dword [r9 + r10*8]
bswap r11d
mov dword [rcx + r10*8], r11d
mov r11d, dword [r9 + r10*8 + 4]
bswap r11d
mov dword [rcx + r10*8 + 4], r11d
inc r10
cmp r10, rax
jb 0x1403a7086
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rbx + 3]
shr rax, 2
cmp r11, rax
jb 0x1403a7105
jmp 0x1403a711c
mov r11d, 1
lea rax, [rbx + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a70f5
mov r11d, dword [r9 + r10*8]
bswap r11d
mov dword [rcx + r10*8], r11d
mov r11d, dword [r9 + r10*8 + 4]
bswap r11d
mov dword [rcx + r10*8 + 4], r11d
inc r10
cmp r10, rax
jb 0x1403a70d0
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rbx + 3]
shr rax, 2
cmp r11, rax
jae 0x1403a711c
mov eax, dword [r9 + r11*4]
bswap eax
mov dword [rcx + r11*4], eax
jmp 0x1403a711c
mov rdx, r9
mov r8, rbx
call fcn.14042ae90
mov rcx, qword [r13 + 0x80]
add rbx, rcx
mov qword [r13 + 0x80], rbx
jmp 0x1403a713d
cmp dword [r13 + 0x238], 7
je 0x1403a71d3
cmp rdi, 1
jle 0x1403a71c0
mov eax, dword [rsp + 0x168]
add eax, 0xfffffff9
cmp eax, 1
ja 0x1403a719d
test ebp, ebp
je 0x1403a7170
mov rax, qword [rsp + 0x110]
xor ebp, ebp
add qword [rsp + 0xf8], rax
dec rdi
jmp 0x1403a6764
xor ebp, ebp
cmp dword [rsp + 0x120], 0
lea rcx, [rsp + 0x168]
setne bpl
lea rdx, [rsp + 0x460]
call fcn.1403b8010
mov qword [rsp + 0xf8], rax
jmp 0x1403a71ad
mov rax, qword [rsp + 0x110]
add qword [rsp + 0xf8], rax
mov dword [r13 + 0x220], 0
dec rdi
jmp 0x1403a6764
nop dword [rax]
mov r10b, byte [r13 + 0x295]
jmp 0x1403a637e
mov rax, qword [r13 + 0x90]
xor r15d, r15d
mov rcx, qword [r13 + 0x80]
mov byte [rsp + 0x150], sil
mov dword [rsp + 0x158], ebp
mov rbp, r9
mov byte [rsp + 0x140], r12b
mov rsi, rax
sub rsi, rcx
cmp rsi, 1
jle 0x1403a7216
mov r10d, dword [r13 + 0x250]
jmp 0x1403a73a6
mov rcx, r13
call fcn.1403d0f20
test eax, eax
jne 0x1403a9750
mov rcx, r13
xor edx, edx
and byte [r13 + 0x298], 0xbf
call fcn.1403d36d0
test eax, eax
jne 0x1403a9617
movsx esi, byte [r13 + 0x27c]
dec esi
cmp esi, 7
ja 0x1403a7361
lea r10, [0x140000000]
movzx eax, byte [r10 + rsi + 0x59d4bc]
lea rax, [r10 + rax + 0x3a726d]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq.c
mov r9d, 0xafb
call fcn.140383960
mov rax, qword [r13 + 0x90]
mov rcx, qword [r13 + 0x80]
mov rsi, rax
sub rsi, rcx
mov r10d, dword [r13 + 0x250]
cmp esi, r10d
cmovae esi, r10d
mov dword [r13 + 0x254], esi
test r10d, r10d
jge 0x1403a7401
mov byte [r13 + 0x286], 0x81
mov eax, r15d
mov byte [rcx], 0x81
movzx r10d, byte [r13 + 0x286]
cmp r10d, 0x81
mov rcx, qword [r13 + 0x80]
sete al
inc rcx
sub r10d, eax
mov rax, qword [r13 + 0x90]
mov rsi, rax
sub rsi, rcx
cmp esi, r10d
mov qword [r13 + 0x80], rcx
cmovae esi, r10d
mov dword [r13 + 0x250], r10d
mov dword [r13 + 0x254], esi
test rbx, rbx
je 0x1403a95f3
test r10d, r10d
jne 0x1403a7440
mov al, byte [r13 + 0x286]
mov dword [r13 + 0x250], 0xffffffff
mov byte [rcx], al
mov rcx, qword [r13 + 0x80]
inc rcx
mov rax, qword [r13 + 0x90]
mov qword [r13 + 0x80], rcx
jmp 0x1403a71fe
mov r12d, ebx
mov esi, dword [r13 + 0x254]
cmp esi, r12d
cmovb r12d, esi
test r12d, r12d
jbe 0x1403a71fe
mov esi, r12d
mov rdx, rbp
mov r8, rsi
call fcn.14042ae90
mov rcx, qword [r13 + 0x80]
sub rbx, rsi
add rcx, rsi
add rbp, rsi
mov rax, qword [r13 + 0x90]
sub dword [r13 + 0x254], r12d
sub dword [r13 + 0x250], r12d
mov qword [r13 + 0x80], rcx
jmp 0x1403a71fe
nop dword [rax + rax]
cmp r9d, 0x3f
je 0x1403a66c8
mov r12b, 1
jmp 0x1403a637e
xor eax, eax
jmp 0x1403a6534
cmp eax, 1
jle 0x1403a75b5
lea ecx, [rax + 1]
movsxd rax, eax
mov dword [rsp + 0x48], ecx
mov rdx, rax
mov qword [rsp + 0x50], rax
lea rcx, [rax + rax*2 - 3]
shl rcx, 3
dec rdx
jl 0x1403a7518
mov byte [rsp + 0x140], r12b
mov r9d, dword [rsp + 0x48]
mov r12, qword [rsp + rcx + 0x180]
cmp r12, qword [rsp + rcx + 0x178]
jne 0x1403a750b
add rcx, 0xffffffffffffffe8
mov r9d, edx
dec rdx
jns 0x1403a74ed
mov dword [rsp + 0x48], r9d
mov r12b, byte [rsp + 0x140]
mov byte [rsp + 0x140], r12b
mov edx, 1
movsxd rcx, dword [rsp + 0x48]
mov r9d, 0x18
mov r12, qword [rsp + 0x50]
mov qword [rsp + 0xb0], r13
mov r13, qword [rsp + r9 + 0x178]
cmp qword [rsp + r9 + 0x180], 1
je 0x1403a765d
cmp rdx, rcx
jl 0x1403a7584
mov r13, qword [rsp + r9 + 0x160]
sub r13, qword [rsp + r9 + 0x168]
inc r13
imul r13, qword [rsp + r9 + 0x170]
cmp rdx, rcx
jge 0x1403a7599
cmp r13, qword [rsp + r9 + 0x188]
je 0x1403a7599
mov r13, qword [rsp + 0xb0]
mov r12b, byte [rsp + 0x140]
jmp 0x1403a64f5
inc rdx
add r9, 0x18
cmp rdx, r12
jl 0x1403a753d
mov r13, qword [rsp + 0xb0]
mov r12b, byte [rsp + 0x140]
test r10b, 0x10
jne 0x1403a75cd
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x128], rax
jmp 0x1403a7628
mov rdx, r13
lea rcx, [rsp + 0xf8]
mov dword [rsp + 0x70], r8d
mov byte [rsp + 0x40], r11b
call fcn.1403b88d0
mov r11b, byte [rsp + 0x40]
mov r8d, dword [rsp + 0x70]
test eax, eax
jne 0x1403a760a
mov rax, qword [rsp + 0x100]
xor sil, sil
mov qword [rsp + 0x128], rax
jmp 0x1403a7628
test r11b, r11b
je 0x1403a7649
mov rax, qword [rsp + 0x100]
xor r14b, r14b
mov qword [rsp + 0x128], rax
mov dil, 1
xor sil, sil
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xe0], 1
mov qword [rsp + 0xf8], rax
jmp 0x1403a66c8
mov eax, dword [rsp + 0x16c]
test eax, eax
jg 0x1403a64f5
jmp 0x1403a655d
test r13, r13
jg 0x1403a7559
jmp 0x1403a7554
mov al, byte [r9]
mov byte [rsp + 0x560], al
jmp 0x1403a696e
mov r10, qword [r13 + 0x240]
mov r8d, 0x20000
test r10, r10
mov r11, qword [r13 + 0x78]
cmovne r8, r10
neg r11
add r11, rdx
cmp r11, r8
jb 0x1403a6a52
mov r10b, byte [rsp + 0xd8]
test r10b, r10b
jne 0x1403a6e28
sub rdx, rcx
mov dword [r13 + 0x254], edx
test rbx, rbx
jle 0x1403a713d
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0xe0], rdi
mov byte [rsp + 0x150], sil
mov rsi, rcx
mov dword [rsp + 0x158], ebp
mov rbp, r9
mov byte [rsp + 0x140], r12b
mov dil, byte [rsp + 0x148]
mov r14b, byte [rsp + 0xd8]
test edx, edx
jle 0x1403a7730
mov rax, qword [r13 + 0x240]
mov r10d, 0x20000
test rax, rax
cmovne r10, rax
cmp rbx, r10
jae 0x1403a7730
test dil, dil
je 0x1403a7821
mov edx, edx
cmp rbx, rdx
jle 0x1403a7821
mov r12, qword [r13 + 0x88]
test r12, r12
je 0x1403a7755
mov rcx, r13
xor r8d, r8d
mov rdx, qword [r13 + 0x78]
sub rsi, r12
call fcn.1403d1590
test rsi, rsi
jne 0x1403a775b
jmp 0x1403a77b4
sub rsi, qword [r13 + 0x78]
je 0x1403a77b4
mov rdx, qword [r13 + 0x78]
mov qword [r13 + 0x80], rdx
test r12, r12
je 0x1403a852e
cmp byte [r13 + 0x27c], 5
je 0x1403a8504
mov rax, qword [rsp + 0x5b8]
mov rcx, r13
mov rdx, r12
mov r8, rsi
movsx r9d, byte [rax]
call fcn.1403aac70
test eax, eax
jne 0x1403a83dd
mov eax, dword [r13 + 0x90]
sub eax, dword [r13 + 0x80]
mov dword [r13 + 0x254], eax
mov rax, qword [r13 + 0x240]
mov esi, 0x20000
test rax, rax
cmovne rsi, rax
cmp rbx, rsi
jae 0x1403a77d1
test dil, dil
je 0x1403a7810
test dil, dil
jne 0x1403a7c54
cmp byte [r13 + 0x27c], 5
je 0x1403a7ee8
mov rax, qword [rsp + 0x5b8]
mov rcx, r13
mov rdx, rbp
mov r8, rbx
movsx r9d, byte [rax]
call fcn.1403aac70
mov r12d, eax
test r12d, r12d
jne 0x1403a7dc5
xor ebx, ebx
mov rsi, qword [r13 + 0x80]
mov r14b, 1
mov edx, dword [r13 + 0x254]
mov r15d, ebx
cmp edx, r15d
cmovb r15d, edx
test dil, dil
je 0x1403a7a49
mov r12d, r15d
mov rax, rbp
mov ecx, ebx
cmp r12, rcx
mov r10, qword [rsp + 0x110]
cmovb rcx, r12
cmp r10, 2
je 0x1403a7cc3
cmp r10, 4
je 0x1403a795e
cmp r10, 8
jne 0x1403a7900
test rcx, rcx
jle 0x1403a7bf0
xor eax, eax
lea r11, [rcx + 7]
mov edx, 1
xor r10d, r10d
shr r11, 4
je 0x1403a78c7
mov r8d, dword [r10 + rbp]
inc rax
mov edx, dword [r10 + rbp + 4]
bswap edx
bswap r8d
mov dword [r10 + rsi], edx
mov dword [r10 + rsi + 4], r8d
mov edx, dword [r10 + rbp + 8]
mov r9d, dword [r10 + rbp + 0xc]
bswap r9d
bswap edx
mov dword [r10 + rsi + 8], r9d
mov dword [r10 + rsi + 0xc], edx
add r10, 0x10
cmp rax, r11
jb 0x1403a7886
lea rdx, [rax + rax + 1]
add rcx, 7
dec rdx
shr rcx, 3
cmp rdx, rcx
jae 0x1403a78ed
mov r10d, dword [rbp + rdx*8]
mov eax, dword [rbp + rdx*8 + 4]
bswap eax
bswap r10d
mov dword [rsi + rdx*8], eax
mov dword [rsi + rdx*8 + 4], r10d
mov rsi, qword [r13 + 0x80]
mov edx, dword [r13 + 0x254]
jmp 0x1403a7bf0
cmp r10, 0x10
jne 0x1403a7bf0
test rcx, rcx
jle 0x1403a7bf0
add rcx, 0xfffffffffffffff0
mov r8d, dword [rax]
mov edx, dword [rax + 4]
mov r11d, dword [rax + 8]
mov r10d, dword [rax + 0xc]
add rax, 0x10
bswap r10d
bswap r11d
bswap edx
bswap r8d
mov dword [rsi], r10d
mov dword [rsi + 4], r11d
mov dword [rsi + 8], edx
mov dword [rsi + 0xc], r8d
add rsi, 0x10
test rcx, rcx
jg 0x1403a7913
mov rsi, qword [r13 + 0x80]
mov edx, dword [r13 + 0x254]
jmp 0x1403a7bf0
test rcx, rcx
jle 0x1403a7bf0
mov r10, rcx
neg r10
sar r10, 2
mov rax, r10
neg rax
cmp rax, 6
jle 0x1403a79e2
shl r10, 2
mov rax, rsi
neg r10
sub rax, rbp
cmp rax, r10
jge 0x1403a7997
neg rax
cmp rax, r10
jl 0x1403a79e2
mov r11d, 1
lea rax, [rcx + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a79d0
mov r11d, dword [rbp + r10*8]
bswap r11d
mov dword [rsi + r10*8], r11d
mov r11d, dword [rbp + r10*8 + 4]
bswap r11d
mov dword [rsi + r10*8 + 4], r11d
inc r10
cmp r10, rax
jb 0x1403a79aa
lea r11, [r10 + r10 + 1]
add rcx, 3
dec r11
shr rcx, 2
cmp r11, rcx
jb 0x1403a7a2b
jmp 0x1403a7a36
mov r11d, 1
lea rax, [rcx + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a7a1b
mov r11d, dword [rbp + r10*8]
bswap r11d
mov dword [rsi + r10*8], r11d
mov r11d, dword [rbp + r10*8 + 4]
bswap r11d
mov dword [rsi + r10*8 + 4], r11d
inc r10
cmp r10, rax
jb 0x1403a79f5
lea r11, [r10 + r10 + 1]
add rcx, 3
dec r11
shr rcx, 2
cmp r11, rcx
jae 0x1403a7a36
mov eax, dword [rbp + r11*4]
bswap eax
mov dword [rsi + r11*4], eax
mov rsi, qword [r13 + 0x80]
mov edx, dword [r13 + 0x254]
jmp 0x1403a7bf0
cmp r15d, 8
ja 0x1403a7b98
mov r12d, r15d
lea r10, [0x140000000]
movzx eax, word [r10 + r12*2 + 0x59d4c4]
lea rax, [r10 + rax + 0x3a7a70]
jmp rax
mov r12d, r15d
mov rcx, rsi
mov rdx, rbp
mov r8, r12
call fcn.14042ae90
mov rsi, qword [r13 + 0x80]
mov edx, dword [r13 + 0x254]
jmp 0x1403a7bf0
sub rbx, r12
sub edx, r15d
add rsi, r12
add rbp, r12
mov dword [r13 + 0x254], edx
mov qword [r13 + 0x80], rsi
test rbx, rbx
jg 0x1403a76ff
mov byte [rsp + 0x148], dil
mov byte [rsp + 0xd8], r14b
mov r14d, dword [rsp + 0x70]
mov rdi, qword [rsp + 0xe0]
mov sil, byte [rsp + 0x150]
mov r15, qword [rsp + 0x128]
mov ebp, dword [rsp + 0x158]
mov r12b, byte [rsp + 0x140]
jmp 0x1403a713d
mov r15d, dword [rsp + 0x110]
mov esi, 0x6400000
cmp rbx, 0x6400000
mov r14, rbp
mov qword [rsp + 0x88], 0
cmovle rsi, rbx
xor r12d, r12d
dec r15d
not r15d
mov rcx, rsi
xor edx, edx
lea r8, [rsp + 0x88]
call fcn.14035a450
test eax, eax
je 0x1403a7cb3
sar rsi, 1
mov qword [rsp + 0x88], 0
and rsi, r15
jne 0x1403a7c84
jmp 0x1403a7f1b
cmp qword [rsp + 0x88], 0
je 0x1403a7c84
jmp 0x1403a8041
test rcx, rcx
jle 0x1403a7bf0
mov r10, rcx
neg r10
sar r10, 1
mov rax, r10
neg rax
cmp rax, 6
jle 0x1403a7d4f
add r10, r10
mov rax, rsi
neg r10
sub rax, rbp
cmp rax, r10
jge 0x1403a7cfa
neg rax
cmp rax, r10
jl 0x1403a7d4f
mov r11d, 1
lea rax, [rcx + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a7d3f
movsx r11d, word [rbp + r10*4]
bswap r11d
shr r11d, 0x10
mov word [rsi + r10*4], r11w
movsx r11d, word [rbp + r10*4 + 2]
bswap r11d
shr r11d, 0x10
mov word [rsi + r10*4 + 2], r11w
inc r10
cmp r10, rax
jb 0x1403a7d0d
lea r11, [r10 + r10 + 1]
inc rcx
dec r11
shr rcx, 1
cmp r11, rcx
jb 0x1403a7da2
jmp 0x1403a7db2
mov r11d, 1
lea rax, [rcx + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a7d94
movsx r11d, word [rbp + r10*4]
bswap r11d
shr r11d, 0x10
mov word [rsi + r10*4], r11w
movsx r11d, word [rbp + r10*4 + 2]
bswap r11d
shr r11d, 0x10
mov word [rsi + r10*4 + 2], r11w
inc r10
cmp r10, rax
jb 0x1403a7d62
lea r11, [r10 + r10 + 1]
inc rcx
dec r11
shr rcx, 1
cmp r11, rcx
jae 0x1403a7db2
movsx eax, word [rbp + r11*2]
bswap eax
shr eax, 0x10
mov word [rsi + r11*2], ax
mov rsi, qword [r13 + 0x80]
mov edx, dword [r13 + 0x254]
jmp 0x1403a7bf0
mov rbp, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rbp, rbp
je 0x1403a7eb3
test byte [rbp + 0x74], 2
je 0x1403a7e4a
mov dword [rbp + 0x68], r12d
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], r12d
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403a7e16
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, r12d
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, r12d
mov dword [r10 + 0x20], r12d
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
call fcn.14043dac0
mov ecx, 1
mov edx, r12d
mov r8d, r12d
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rcx, r13
mov rdx, rbp
mov r8, rbx
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a7f03
xor r12d, r12d
jmp 0x1403a7805
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13 + 0x1a8], eax
mov r12d, 0x26
jmp 0x1403a7805
mov rbp, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rbp, rbp
je 0x1403a8006
test byte [rbp + 0x74], 2
je 0x1403a7f9e
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov r10, qword [r13 + 0xd8]
test r10, r10
je 0x1403a7f69
xor ebp, ebp
mov qword [r10 + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov byte [rsp + 0x148], dil
xor edi, edi
mov r15, rbx
mov rax, r14
sub r15, r12
cmp r15, rsi
mov r10, qword [rsp + 0x110]
mov r8, qword [rsp + 0x88]
cmovge r15, rsi
cmp r10, 2
je 0x1403a82d6
cmp r10, 4
je 0x1403a8169
cmp r10, 8
jne 0x1403a8117
test r15, r15
jle 0x1403a8256
xor edx, edx
lea r11, [r15 + 7]
mov eax, 1
xor r10d, r10d
shr r11, 4
je 0x1403a80e6
mov ecx, dword [r10 + r14]
inc rdx
mov eax, dword [r10 + r14 + 4]
bswap eax
bswap ecx
mov dword [r10 + r8], eax
mov dword [r10 + r8 + 4], ecx
mov r9d, dword [r10 + r14 + 8]
mov eax, dword [r10 + r14 + 0xc]
bswap eax
bswap r9d
mov dword [r10 + r8 + 8], eax
mov dword [r10 + r8 + 0xc], r9d
add r10, 0x10
cmp rdx, r11
jb 0x1403a80a6
lea rax, [rdx + rdx + 1]
dec rax
lea r10, [r15 + 7]
shr r10, 3
cmp rax, r10
jae 0x1403a824e
mov r11d, dword [r14 + rax*8]
mov r10d, dword [r14 + rax*8 + 4]
bswap r10d
bswap r11d
mov dword [r8 + rax*8], r10d
mov dword [r8 + rax*8 + 4], r11d
jmp 0x1403a824e
cmp r10, 0x10
jne 0x1403a8256
mov r10, r15
test r15, r15
jle 0x1403a8256
add r10, 0xfffffffffffffff0
mov r9d, dword [rax]
mov ecx, dword [rax + 4]
mov edx, dword [rax + 8]
mov r11d, dword [rax + 0xc]
add rax, 0x10
bswap r11d
bswap edx
bswap ecx
bswap r9d
mov dword [r8], r11d
mov dword [r8 + 4], edx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], r9d
add r8, 0x10
test r10, r10
jg 0x1403a812d
jmp 0x1403a824e
test r15, r15
jle 0x1403a8256
mov r10, r15
neg r10
lea rax, [r10 - 3]
sar rax, 1
shr rax, 0x3e
lea r10, [rax + r10 - 3]
sar r10, 2
mov r11, r10
neg r11
cmp r11, 6
jle 0x1403a81fc
shl r10, 2
mov rax, r8
neg r10
sub rax, r14
cmp rax, r10
jge 0x1403a81b2
neg rax
cmp rax, r10
jl 0x1403a81fc
mov r11d, 1
lea rax, [r15 + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a81ea
mov r11d, dword [r14 + r10*8]
bswap r11d
mov dword [r8 + r10*8], r11d
mov r11d, dword [r14 + r10*8 + 4]
bswap r11d
mov dword [r8 + r10*8 + 4], r11d
inc r10
cmp r10, rax
jb 0x1403a81c5
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [r15 + 3]
shr rax, 2
cmp r11, rax
jb 0x1403a8244
jmp 0x1403a824e
mov r11d, 1
lea rax, [r15 + 3]
xor r10d, r10d
shr rax, 3
je 0x1403a8234
mov r11d, dword [r14 + r10*8]
bswap r11d
mov dword [r8 + r10*8], r11d
mov r11d, dword [r14 + r10*8 + 4]
bswap r11d
mov dword [r8 + r10*8 + 4], r11d
inc r10
cmp r10, rax
jb 0x1403a820f
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [r15 + 3]
shr rax, 2
cmp r11, rax
jae 0x1403a824e
mov eax, dword [r14 + r11*4]
bswap eax
mov dword [r8 + r11*4], eax
mov r8, qword [rsp + 0x88]
cmp byte [r13 + 0x27c], 5
je 0x1403a82ab
mov rax, qword [rsp + 0x5b8]
mov rcx, r13
mov rdx, r8
mov r8, r15
movsx r9d, byte [rax]
call fcn.1403aac70
test eax, eax
jne 0x1403a828d
add r12, r15
add r14, r15
cmp r12, rbx
jl 0x1403a804b
mov dil, byte [rsp + 0x148]
mov r12d, eax
mov rcx, qword [rsp + 0x88]
call fcn.14035a530
nop
jmp 0x1403a7805
mov rcx, r13
mov rdx, r8
mov r8, r15
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a82c2
mov eax, edi
jmp 0x1403a827a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13 + 0x1a8], eax
mov eax, 0x26
jmp 0x1403a827a
test r15, r15
jle 0x1403a8256
mov r10, r15
neg r10
lea rax, [r10 - 1]
shr rax, 0x3f
lea r10, [rax + r10 - 1]
sar r10, 1
mov r11, r10
neg r11
cmp r11, 6
jle 0x1403a8372
add r10, r10
mov rax, r8
neg r10
sub rax, r14
cmp rax, r10
jge 0x1403a831a
neg rax
cmp rax, r10
jl 0x1403a8372
mov r11d, 1
lea rax, [r15 + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a835e
movsx r11d, word [r14 + r10*4]
bswap r11d
shr r11d, 0x10
mov word [r8 + r10*4], r11w
movsx r11d, word [r14 + r10*4 + 2]
bswap r11d
shr r11d, 0x10
mov word [r8 + r10*4 + 2], r11w
inc r10
cmp r10, rax
jb 0x1403a832d
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [r15 + 1]
shr rax, 1
cmp r11, rax
jb 0x1403a83c9
jmp 0x1403a824e
mov r11d, 1
lea rax, [r15 + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a83b6
movsx r11d, word [r14 + r10*4]
bswap r11d
shr r11d, 0x10
mov word [r8 + r10*4], r11w
movsx r11d, word [r14 + r10*4 + 2]
bswap r11d
shr r11d, 0x10
mov word [r8 + r10*4 + 2], r11w
inc r10
cmp r10, rax
jb 0x1403a8385
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [r15 + 1]
shr rax, 1
cmp r11, rax
jae 0x1403a824e
movsx eax, word [r14 + r11*2]
bswap eax
shr eax, 0x10
mov word [r8 + r11*2], ax
jmp 0x1403a824e
mov rbp, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rbp, rbp
je 0x1403a84c9
test byte [rbp + 0x74], 2
je 0x1403a8461
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403a842c
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rcx, r13
mov rdx, r12
mov r8, rsi
call fcn.1403d1590
cmp eax, 0xffffffff
jne 0x1403a8565
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13 + 0x1a8], eax
mov eax, 0x26
jmp 0x1403a7797
cmp byte [r13 + 0x27c], 5
je 0x1403a8555
mov rax, qword [rsp + 0x5b8]
mov rcx, r13
mov r8, rsi
movsx r9d, byte [rax]
call fcn.1403aac70
nop
jmp 0x1403a7797
mov rcx, r13
mov r8, rsi
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a8517
xor eax, eax
jmp 0x1403a7797
test rsi, rsi
jle 0x1403a6cae
mov r10, rsi
neg r10
lea rax, [r10 - 1]
shr rax, 0x3f
lea r10, [rax + r10 - 1]
sar r10, 1
mov r11, r10
neg r11
cmp r11, 6
jle 0x1403a8609
add r10, r10
mov rax, r9
neg r10
sub rax, rbp
cmp rax, r10
jge 0x1403a85b0
neg rax
cmp rax, r10
jl 0x1403a8609
mov r11d, 1
lea rax, [rsi + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a85f5
movsx r11d, word [rbp + r10*4]
movsx r15d, word [rbp + r10*4 + 2]
bswap r11d
bswap r15d
shr r11d, 0x10
shr r15d, 0x10
mov word [r9 + r10*4], r11w
mov word [r9 + r10*4 + 2], r15w
inc r10
cmp r10, rax
jb 0x1403a85c3
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rsi + 1]
shr rax, 1
cmp r11, rax
jb 0x1403a8661
jmp 0x1403a6ca7
mov r11d, 1
lea rax, [rsi + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a864e
movsx r11d, word [rbp + r10*4]
bswap r11d
shr r11d, 0x10
mov word [r9 + r10*4], r11w
movsx r15d, word [rbp + r10*4 + 2]
bswap r15d
shr r15d, 0x10
mov word [r9 + r10*4 + 2], r15w
inc r10
cmp r10, rax
jb 0x1403a861c
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rsi + 1]
shr rax, 1
cmp r11, rax
jae 0x1403a6ca7
movsx eax, word [rbp + r11*2]
bswap eax
shr eax, 0x10
mov word [r9 + r11*2], ax
jmp 0x1403a6ca7
mov rax, qword [r13 + 0x78]
mov byte [rax + 2], r12b
mov rsi, qword [r13 + 0x78]
mov byte [rsi + 3], r12b
mov r9, qword [r13 + 0x78]
add r9, 4
mov qword [r13 + 0x80], r9
jmp 0x1403a6dd0
mov rbp, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rbp, rbp
je 0x1403a8786
test byte [rbp + 0x74], 2
je 0x1403a871e
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403a86e9
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
add r10, 0xf
add r8, 0xf
mov rsi, qword [r13 + 0x1d0]
and r10, 0xfffffffffffffff0
mov qword [rsp + 0x60], rsi
and r8, 0xfffffffffffffff0
mov rsi, qword [r13 + 0x88]
mov rcx, r13
mov rax, qword [r13 + 0x1b0]
sub rsi, rdx
mov rdx, r10
mov qword [rsp + 0x68], rax
call fcn.1403b7b30
test eax, eax
je 0x1403a893c
cmp dword [r13 + 0x238], 0xb
jne 0x1403a8824
movsx eax, byte [r13 + 0x27c]
and eax, 0xfffffffe
cmp eax, 4
je 0x1403a8948
test byte [r13 + 0x293], 0x80
je 0x1403a8f12
movsx r11d, byte [r13 + 0x27c]
cmp r11d, 1
je 0x1403a8f12
mov qword [r13 + 0x1c8], r15
mov r15, qword [rsp + 0x60]
mov qword [r13 + 0x1d0], r15
mov rdx, qword [r13 + 0x78]
add rsi, rdx
mov r15, qword [r13 + 0x80]
sub r15, rdx
mov r10, qword [rsp + 0x68]
mov qword [r13 + 0x1b0], r10
mov r10b, byte [r13 + 0x297]
or r10b, 1
lea rax, [rbx + r15]
mov qword [r13 + 0x88], rsi
mov byte [r13 + 0x297], r10b
mov qword [r13 + 0x200], rax
mov rax, qword [rsp + 0x5b8]
cmp byte [rax], 1
je 0x1403a8d38
xor edx, edx
lea r8, [rsp + 0x5c]
mov rcx, qword [r13 + 0x1a0]
mov r9d, 1
mov qword [r8 - 4], rdx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
mov dword [rsp + 0x58], esi
mov eax, esi
cmp esi, 0xffffffff
je 0x1403a8d0f
mov esi, dword [rsp + 0x5c]
shl rsi, 0x20
or rsi, rax
test byte [r13 + 0x29c], 4
je 0x1403a8901
mov rax, qword [r13 + 0x168]
mov qword [r13 + 0x1f8], rax
mov rdx, qword [r13 + 0x78]
jmp 0x1403a890c
mov qword [r13 + 0x1f8], rsi
mov rdx, qword [r13 + 0x78]
mov rcx, r13
mov r8, r15
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a8bc8
mov rcx, r13
mov rdx, rbp
mov r8, rbx
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403a8a81
jmp 0x1403a6dc3
mov r9, qword [r13 + 0x80]
jmp 0x1403a6dd0
mov rax, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rax, rax
je 0x1403a8a43
test byte [rax + 0x74], 2
je 0x1403a89d5
mov ebp, 0x42
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a899b
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x42
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x42
mov dword [rbp + 0x20], 0x42
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x42
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [r13 + 0x1a8], eax
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403a8b8a
test byte [rax + 0x74], 2
je 0x1403a8b1c
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a8ae2
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [r13 + 0x1a8], eax
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403a8cd1
test byte [rax + 0x74], 2
je 0x1403a8c63
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a8c29
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1403a8d2e
mov qword [rsp + 0x58], 0xffffffffffffffff
mov rsi, 0xffffffffffffffff
jmp 0x1403a88e3
mov rsi, qword [rsp + 0x58]
jmp 0x1403a88e3
cmp rdi, 1
jne 0x1403a88a9
dec r11d
cmp r11d, 7
ja 0x1403a8e3e
lea rcx, [0x140000000]
movzx eax, word [rcx + r11*2 + 0x59d4d8]
lea rax, [rcx + rax + 0x3a8d69]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq.c
mov r9d, 0xda6
call fcn.140383960
mov r10b, byte [r13 + 0x297]
mov rdx, qword [r13 + 0x78]
or r10b, 2
mov byte [r13 + 0x297], r10b
jmp 0x1403a890c
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403a900d
test byte [rax + 0x74], 2
je 0x1403a8f9f
mov ebp, 0x42
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a8f65
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x42
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x42
mov dword [rbp + 0x20], 0x42
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x42
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov r10, qword [r13 + 0x240]
mov edx, 0x20000
test r10, r10
mov r15, qword [r13 + 0x78]
cmovne rdx, r10
neg r15
add r15, rsi
cmp r15, rdx
jb 0x1403a6a85
mov byte [rsp + 0x148], r14b
mov rcx, r9
mov r15, qword [rsp + 0x128]
mov r9, rbp
mov ebp, dword [rsp + 0x158]
mov rdx, rsi
mov sil, byte [rsp + 0x150]
mov r12b, byte [rsp + 0x140]
jmp 0x1403a6e28
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [r13 + 0x1a8], eax
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403a91af
test byte [rax + 0x74], 2
je 0x1403a9141
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a9107
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [r13 + 0x1a8], eax
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403a92f6
test byte [rax + 0x74], 2
je 0x1403a9288
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a924e
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov r10, qword [r13 + 0x240]
mov r11d, 0x20000
test r10, r10
cmovne r11, r10
cmp r15, r11
jb 0x1403a6a37
mov qword [r13 + 0x88], rcx
mov rcx, r13
xor r8d, r8d
mov rdx, qword [r13 + 0x78]
or byte [r13 + 0x295], 4
mov qword [rsp + 0x78], r9
call fcn.1403d1590
mov r9, qword [rsp + 0x78]
cmp eax, 0xffffffff
je 0x1403a9391
mov rdx, qword [r13 + 0x90]
mov rcx, qword [r13 + 0x80]
jmp 0x1403a76b2
mov rax, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rax, rax
je 0x1403a948c
test byte [rax + 0x74], 2
je 0x1403a941e
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a93e4
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
test rbx, rbx
jle 0x1403a7123
mov r10, rbx
neg r10
lea rax, [r10 - 1]
shr rax, 0x3f
lea r10, [rax + r10 - 1]
sar r10, 1
mov r11, r10
neg r11
cmp r11, 6
jle 0x1403a9566
add r10, r10
mov rax, rcx
neg r10
sub rax, r9
cmp rax, r10
jge 0x1403a950e
neg rax
cmp rax, r10
jl 0x1403a9566
mov r11d, 1
lea rax, [rbx + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a9552
movsx r11d, word [r9 + r10*4]
bswap r11d
shr r11d, 0x10
mov word [rcx + r10*4], r11w
movsx r11d, word [r9 + r10*4 + 2]
bswap r11d
shr r11d, 0x10
mov word [rcx + r10*4 + 2], r11w
inc r10
cmp r10, rax
jb 0x1403a9521
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rbx + 1]
shr rax, 1
cmp r11, rax
jb 0x1403a95bd
jmp 0x1403a711c
mov r11d, 1
lea rax, [rbx + 1]
xor r10d, r10d
shr rax, 2
je 0x1403a95aa
movsx r11d, word [r9 + r10*4]
bswap r11d
shr r11d, 0x10
mov word [rcx + r10*4], r11w
movsx r11d, word [r9 + r10*4 + 2]
bswap r11d
shr r11d, 0x10
mov word [rcx + r10*4 + 2], r11w
inc r10
cmp r10, rax
jb 0x1403a9579
lea r11, [r10 + r10 + 1]
dec r11
lea rax, [rbx + 1]
shr rax, 1
cmp r11, rax
jae 0x1403a711c
movsx eax, word [r9 + r11*2]
bswap eax
shr eax, 0x10
mov word [rcx + r11*2], ax
jmp 0x1403a711c
mov sil, byte [rsp + 0x150]
mov r15, qword [rsp + 0x128]
mov ebp, dword [rsp + 0x158]
mov r12b, byte [rsp + 0x140]
jmp 0x1403a713d
mov rax, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rax, rax
je 0x1403a9712
test byte [rax + 0x74], 2
je 0x1403a96a4
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403a966a
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rbp, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rbp, rbp
je 0x1403a983c
test byte [rbp + 0x74], 2
je 0x1403a97d4
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403a979f
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rax, qword [rsp + 0x5b8]
cmp byte [rax], 1
jne 0x1403a69dd
movzx eax, word [r13 + 0x27a]
test eax, eax
jg 0x1403a69dd
and r10b, 0xdf
cmp byte [r13 + 0x27c], 1
je 0x1403a98b2
mov byte [r13 + 0x297], r10b
jmp 0x1403a69e8
test byte [r13 + 0x293], 8
je 0x1403a98da
test byte [r13 + 0x290], 1
je 0x1403a98d0
cmp byte [r13 + 0x27d], 2
je 0x1403a98a6
test byte [r13 + 0x299], 0x40
jne 0x1403a98a6
mov rax, qword [rsp + 0xc0]
cmp rax, qword [r13 + 0x1c8]
jne 0x1403a98a6
mov rax, r15
add rax, qword [r13 + 0x80]
cmp rax, qword [r13 + 0x90]
ja 0x1403a98a6
or r10b, 0x40
mov qword [r13 + 0x110], r9
mov qword [r13 + 0x230], r15
mov byte [r13 + 0x297], r10b
jmp 0x1403a69e8
mov rcx, r13
lea rdx, [rsp + 0xf8]
mov r8d, 1
call fcn.1403cdf40
test eax, eax
je 0x1403a713d
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
cmp dword [r13 + 0x220], 0
je 0x1403a99da
mov rax, qword [r13 + 0x88]
mov rbp, qword [r13 + 0x80]
mov dword [r13 + 0x220], 0
test rax, rax
je 0x1403a99cd
sub rbp, rax
jne 0x1403a99da
jmp 0x1403a9b66
mov rax, qword [r13 + 0x78]
sub rbp, rax
je 0x1403a9b66
movzx eax, word [r13 + 0x27a]
test eax, eax
jg 0x1403a9b66
cmp dword [r13 + 0x238], 7
jne 0x1403a9a4e
mov r11d, dword [r13 + 0x250]
mov rax, qword [r13 + 0x80]
test r11d, r11d
jl 0x1403aa658
neg r11d
add r11d, 0xffffff80
mov byte [r13 + 0x286], r11b
mov byte [rax], r11b
mov r15, qword [r13 + 0x80]
inc r15
movzx eax, byte [r13 + 0x286]
mov qword [r13 + 0x80], r15
sub r15, rax
mov rbp, qword [r13 + 0x78]
sub r15, rbp
add r15, 0xfffffffffffffffe
js 0x1403aa1e3
mov byte [rbp + r15], al
cmp byte [r13 + 0x27c], 3
je 0x1403aa180
mov al, byte [r13 + 0x297]
test al, 1
jne 0x1403a9a79
test al, 0x40
jne 0x1403a9da6
mov rcx, r13
call fcn.1403d0f20
jmp 0x1403a9a81
mov rcx, r13
call fcn.1403aaef0
mov ebp, eax
test ebp, ebp
je 0x1403a9c58
mov r10, qword [r13 + 0x30]
test r10, r10
je 0x1403aa145
test byte [r10 + 0x74], 2
je 0x1403a9afc
mov dword [r10 + 0x68], ebp
mov r10, qword [r13 + 0x30]
mov dword [r10 + 0x6c], ebp
mov r10, qword [r13 + 0xd8]
test r10, r10
je 0x1403a9ac5
xor r11d, r11d
mov qword [r10 + 8], r11
mov qword [r13 + 0xd8], r11
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, ebp
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx r10d, byte [r13 + 0x29e]
mov r11, rsp
and r10d, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr r10d, 1
and r8d, 7
or r8d, r10d
mov r9d, ebp
mov dword [r11 + 0x20], ebp
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
test byte [r13 + 0x297], 1
je 0x1403a9c6f
mov rcx, r13
call fcn.1403aaef0
test eax, eax
je 0x1403a9c58
mov rbp, qword [r13 + 0x30]
test rbp, rbp
je 0x1403aaa84
test byte [rbp + 0x74], 2
je 0x1403a9bf0
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403a9bbb
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
inc qword [r13 + 0x148]
and byte [r13 + 0x297], 0xfb
and byte [r13 + 0x298], 0xbf
mov ecx, dword [r13 + 0x1e0]
and byte [r13 + 0x294], 0xdc
and byte [r13 + 0x29e], 0xef
and byte [r13 + 0x296], 0xf7
call fcn.1403c0ed0
test eax, eax
je 0x1403a9d6f
mov rbp, qword [r13 + 0x30]
test rbp, rbp
je 0x1403aaabf
test byte [rbp + 0x74], 2
je 0x1403a9d07
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403a9cd2
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
xor ebp, ebp
mov qword [r14 + 8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], rbp
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movsx r10d, byte [r13 + 0x27c]
dec r10d
mov rbp, qword [r13 + 0x230]
mov r12, qword [r13 + 0x1c8]
cmp r10d, 7
ja 0x1403aa05c
lea r11, [0x140000000]
movzx eax, word [r11 + r10*2 + 0x59d4e8]
lea rax, [r11 + rax + 0x3a9de3]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq.c
mov r9d, 0x12c9
call fcn.140383960
test byte [r13 + 0x295], 8
je 0x1403aa0a9
mov rcx, qword [r13 + 0x1a0]
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1403aa12e
and byte [r13 + 0x295], 0xf7
test ebp, ebp
jne 0x1403a9a83
xor ebp, ebp
jmp 0x1403a9a83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13 + 0x1a8], eax
mov ebp, 0x26
jmp 0x1403aa099
mov ecx, 1
mov edx, ebp
mov r8d, ebp
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rbp, qword [r13 + 0x88]
test rbp, rbp
je 0x1403aa1b7
movzx eax, byte [rbp + 3]
shl eax, 8
movzx r10d, byte [rbp + 2]
or r10d, eax
or r10d, 2
mov byte [rbp + 2], r10b
mov rbp, qword [r13 + 0x88]
shr r10d, 8
mov byte [rbp + 3], r10b
jmp 0x1403a9a5c
mov rbp, qword [r13 + 0x78]
movzx eax, byte [rbp + 3]
shl eax, 8
movzx r10d, byte [rbp + 2]
or r10d, eax
or r10d, 2
mov byte [rbp + 2], r10b
mov r11, qword [r13 + 0x78]
shr r10d, 8
mov byte [r11 + 3], r10b
jmp 0x1403a9a5c
mov qword [rsp + 0x48], r15
mov edx, r15d
mov rcx, qword [r13 + 0x1a0]
lea r8, [rsp + 0x4c]
mov r9d, 1
mov rbp, qword [r13 + 0x170]
mov r12, qword [r13 + 0x168]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x48], eax
mov r10d, eax
cmp eax, 0xffffffff
je 0x1403aa636
mov eax, dword [rsp + 0x4c]
shl rax, 0x20
or rax, r10
cmp rax, 0xffffffffffffffff
jne 0x1403aa319
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403aa477
test byte [rax + 0x74], 2
je 0x1403aa2ab
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403aa271
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov rcx, r13
lea rdx, [r13 + 0x286]
mov r8d, 1
call fcn.1403d1590
cmp eax, 0xffffffff
jne 0x1403aa41a
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403aa4b5
test byte [rax + 0x74], 2
je 0x1403aa3ac
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403aa372
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
neg r15
lea r8, [rsp + 0x44]
dec r15
mov r9d, 1
mov qword [r8 - 4], r15
mov edx, r15d
mov rcx, qword [r13 + 0x1a0]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x40], eax
mov r10d, eax
cmp eax, 0xffffffff
je 0x1403aa614
mov eax, dword [rsp + 0x44]
shl rax, 0x20
or rax, r10
cmp rax, 0xffffffffffffffff
je 0x1403aa4f3
mov qword [r13 + 0x170], rbp
mov qword [r13 + 0x168], r12
jmp 0x1403a9a4e
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403aa5d6
test byte [rax + 0x74], 2
je 0x1403aa568
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403aa52e
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1403aa62c
mov qword [rsp + 0x40], 0xffffffffffffffff
jmp 0x1403aa4f3
mov rax, qword [rsp + 0x40]
jmp 0x1403aa45a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1403aa64e
mov qword [rsp + 0x48], 0xffffffffffffffff
jmp 0x1403aa236
mov rax, qword [rsp + 0x48]
jmp 0x1403aa22c
mov rbp, qword [r13 + 0x90]
sub rbp, rax
cmp rbp, 1
jg 0x1403aa991
mov rcx, r13
call fcn.1403d0f20
test eax, eax
je 0x1403aa750
mov rbp, qword [r13 + 0x30]
test rbp, rbp
je 0x1403aa9e9
test byte [rbp + 0x74], 2
je 0x1403aa6e8
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403aa6b3
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov rcx, r13
xor edx, edx
and byte [r13 + 0x298], 0xbf
call fcn.1403d36d0
test eax, eax
je 0x1403aa84d
mov rax, qword [r13 + 0x30]
test rax, rax
je 0x1403aaa24
test byte [rax + 0x74], 2
je 0x1403aa7df
mov ebp, 0x26
mov dword [rax + 0x68], ebp
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x6c], ebp
mov rax, qword [r13 + 0xd8]
test rax, rax
je 0x1403aa7a5
xor ebp, ebp
mov qword [rax + 8], rbp
mov qword [r13 + 0xd8], rbp
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
mov eax, 0x26
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx eax, byte [r13 + 0x29e]
mov rbp, rsp
and eax, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbp + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movsx ebp, byte [r13 + 0x27c]
dec ebp
cmp ebp, 7
ja 0x1403aa96e
lea r10, [0x140000000]
movzx eax, byte [r10 + rbp + 0x59d4f8]
lea rax, [r10 + rax + 0x3aa87a]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq.c
mov r9d, 0xbdb
call fcn.140383960
mov rax, qword [r13 + 0x80]
mov byte [r13 + 0x286], 0x81
xor ebp, ebp
mov byte [rax], 0x81
movzx r11d, byte [r13 + 0x286]
cmp r11d, 0x81
mov rax, qword [r13 + 0x80]
sete bpl
inc rax
mov r10, qword [r13 + 0x90]
sub r11d, ebp
sub r10, rax
cmp r10d, r11d
mov qword [r13 + 0x80], rax
cmovae r10d, r11d
mov dword [r13 + 0x250], r11d
mov dword [r13 + 0x254], r10d
jmp 0x1403a9a0b
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
xor ecx, ecx
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
xor eax, eax
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov rbp, qword [r13 + 0x30]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
test rbp, rbp
je 0x1403aac32
test byte [rbp + 0x74], 2
je 0x1403aabca
mov dword [rbp + 0x68], eax
mov rbp, qword [r13 + 0x30]
mov dword [rbp + 0x6c], eax
mov rbp, qword [r13 + 0xd8]
test rbp, rbp
je 0x1403aab95
xor r10d, r10d
mov qword [rbp + 8], r10
mov qword [r13 + 0xd8], r10
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
movzx ebp, byte [r13 + 0x29e]
mov r10, rsp
and ebp, 0x10
mov rcx, r13
movzx r8d, byte [r13 + 0x294]
mov edx, 0xffffffff
shr ebp, 1
and r8d, 7
or r8d, ebp
mov r9d, eax
mov dword [r10 + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
add rsp, 0x580
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
mov r9, r13
call fcn.140381780
mov rcx, qword [rsp + 0x570]
mov qword [rsp + 0x570], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x1403a7eae
jmp 0x1403a7e9d