Function at 0x140353740
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push rbp
sub rsp, 0x398
mov r14d, edx
mov rax, qword [0x14194d6d8]
mov r12, rcx
xor rax, rsp
mov qword [rsp + 0x3e0], r8
mov qword [rsp + 0x3e8], r9
mov qword [rsp + 0x390], rax
cmp r14d, 0xfffffffb
je 0x140356678
mov ecx, r14d
lea rdx, [rsp + 0x90]
mov r8, r12
mov r9d, 5
call fcn.1403bf1e0
mov esi, eax
test esi, esi
je 0x140353885
lea rbx, [rsp + 0x400]
mov qword [rsp + 0x30], rbx
movzx r10d, byte [rsp + 0x3e3]
and r10d, 0x80
mov dword [rsp + 0x40], 0
shr r10d, 7
je 0x1403537da
mov ebx, dword [rsp + 0x3e4]
mov dword [rsp + 0x40], ebx
mov bl, byte [rsp + 0x41]
and bl, 0x80
shr bl, 7
mov dil, byte [rsp + 0x3e0]
and dil, 1
or dil, bl
je 0x140353866
test r10d, r10d
je 0x14035382f
test byte [rsp + 0x40], 0x10
je 0x14035382f
mov rbx, qword [rsp + 0x30]
lea rbp, [rbx + 8]
mov qword [rsp + 0x30], rbp
add rbx, 0x10
mov rdi, qword [rbp - 8]
mov qword [rsp + 0x30], rbx
mov rbp, qword [rbp]
cmp byte [rdi], 0x38
jne 0x14035382f
cmp byte [rdi + 2], 0x4e
je 0x140354eb1
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
movzx eax, si
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, esi
mov edx, 2
mov r8d, r14d
lea r9, str.unknown
call fcn.140383960
mov qword [rsp + 0x30], 0
mov rsi, qword [rsp + 0x90]
mov r11b, byte [rsp + 0x3e0]
mov bl, r11b
and bl, 1
and r11b, 2
mov dl, byte [rsi + 0x294]
and dl, 0xfe
or dl, bl
mov byte [rsi + 0x294], dl
mov dl, byte [rsp + 0x3e2]
mov dil, dl
shr dil, 5
shr dl, 1
and dil, 1
and dl, 0xe0
shl dil, 2
mov r10, qword [rsp + 0x90]
mov dword [rsp + 0x50], 0
mov r9b, byte [r10 + 0x294]
and r9b, 0xfb
or r9b, dil
mov byte [r10 + 0x294], r9b
mov rbx, qword [rsp + 0x90]
mov al, byte [rbx + 0x294]
and al, 0xfd
or al, r11b
mov byte [rbx + 0x294], al
mov rbx, qword [rsp + 0x90]
mov al, byte [rbx + 0x296]
and al, 0x9f
or al, dl
mov byte [rbx + 0x296], al
mov rsi, qword [rsp + 0x90]
movzx eax, byte [rsp + 0x3e3]
mov ebx, eax
shl ebx, 7
movzx edx, byte [rsi + 0x296]
and edx, 0x7f
or edx, ebx
mov ebx, eax
mov byte [rsi + 0x296], dl
mov rsi, qword [rsp + 0x90]
shr ebx, 1
and ebx, 1
movzx edx, byte [rsi + 0x297]
shl ebx, 3
and edx, 0xfffffff7
or edx, ebx
xor ebx, ebx
mov byte [rsi + 0x297], dl
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x118], rbx
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x1c0], rbx
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29d], 0xf7
mov rsi, qword [rsp + 0x90]
mov rdx, qword [rsi + 0x168]
mov qword [rsi + 0x160], rdx
test eax, 0x80
jne 0x1403539c5
mov rdx, qword [rsp + 0x90]
jmp 0x140353ba8
lea rax, [rsp + 0x400]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x3e4]
mov rdx, qword [rsp + 0x90]
mov dword [rsp + 0x50], eax
test rdx, rdx
je 0x140353b9f
test al, 0x20
je 0x140353a01
or byte [rdx + 0x29b], 0x40
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29d], 0xbf
mov sil, byte [rsp + 0x51]
test sil, 0x20
je 0x140353a22
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29d], 0x40
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29d], 0x7f
test sil, 0x40
je 0x140353a46
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29d], 0x80
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29e], 0xef
test sil, 0x80
je 0x140353a6a
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29e], 0x10
mov rdx, qword [rsp + 0x90]
mov sil, byte [rsp + 0x52]
and byte [rdx + 0x29e], 0xdf
test sil, 1
je 0x140353a93
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29e], 0x20
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29e], 0xbf
test sil, 2
je 0x140353ab7
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29e], 0x40
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29e], 0x7f
test sil, 4
je 0x140353adb
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29e], 0x80
mov rdx, qword [rsp + 0x90]
and byte [rdx + 0x29f], 0xfe
test sil, 8
je 0x140353aff
mov rdx, qword [rsp + 0x90]
or byte [rdx + 0x29f], 1
test al, 0x10
je 0x140353b97
mov rax, qword [rsp + 0x40]
lea rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
add rax, 0x10
mov rsi, qword [rdx - 8]
mov qword [rsp + 0x40], rax
mov rdi, qword [rdx]
cmp byte [rsi], 0x38
je 0x140356051
cmp byte [rsi], 0xb
je 0x140355acc
cmp byte [rsi], 0x38
je 0x140355905
cmp byte [rsi], 0x38
je 0x14035576c
cmp byte [rsi], 0x38
je 0x14035559f
cmp byte [rsi], 0x38
je 0x140355399
cmp byte [rsi], 0x38
je 0x140355200
cmp byte [rsi], 0x38
je 0x14035506c
cmp byte [rsi], 1
je 0x140353b97
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq_fmt.c
mov r9d, 0x292
mov qword [rsp + 0x40], 0
call fcn.140383960
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x40], 0
xor eax, eax
mov dword [rdx + 0x220], eax
mov rdx, qword [rsp + 0x90]
mov dword [rdx + 0x228], eax
mov r9, qword [rsp + 0x90]
test byte [r9 + 0x291], 0x20
jne 0x14035404c
cmp dword [r9 + 0x1e0], 0xfffffffb
je 0x14035404c
mov dil, byte [rsp + 0x3e0]
shr dil, 7
mov r11b, byte [rsp + 0x3e2]
shr r11b, 2
mov r10b, byte [r9 + 0x290]
and r11b, 1
and r10b, 0xfe
add r11b, r11b
or r10b, dil
mov byte [r9 + 0x290], r10b
mov r9, qword [rsp + 0x90]
mov sil, byte [rsp + 0x3e3]
mov al, byte [r9 + 0x290]
and al, 0xfd
or al, r11b
mov byte [r9 + 0x290], al
mov al, sil
shr al, 3
and al, 1
mov r9b, al
shl r9b, 2
mov rdi, qword [rsp + 0x90]
mov dl, byte [rdi + 0x290]
and dl, 0xfb
or dl, r9b
mov r9b, sil
shr r9b, 2
and r9b, 1
shl r9b, 3
mov byte [rdi + 0x290], dl
mov rdi, qword [rsp + 0x90]
mov dl, byte [rdi + 0x290]
and dl, 0xf7
or dl, r9b
mov r9b, sil
shr r9b, 6
and r9b, 1
shl r9b, 4
mov byte [rdi + 0x290], dl
mov rdi, qword [rsp + 0x90]
mov dl, byte [rdi + 0x290]
and dl, 0xef
or dl, r9b
mov r9b, al
shl r9b, 5
shl al, 3
mov byte [rdi + 0x290], dl
mov rdi, qword [rsp + 0x90]
mov dl, byte [rdi + 0x290]
and dl, 0xdf
or dl, r9b
mov r9b, sil
shr r9b, 4
shr sil, 5
and r9b, 1
and sil, 1
shl r9b, 2
mov byte [rdi + 0x290], dl
mov rdi, qword [rsp + 0x90]
mov dl, byte [rdi + 0x299]
and dl, 0xfb
or dl, r9b
mov byte [rdi + 0x299], dl
mov rdx, qword [rsp + 0x90]
mov r9b, byte [rdx + 0x299]
and r9b, 0xf7
or r9b, al
mov al, sil
shl al, 6
shl sil, 7
mov byte [rdx + 0x299], r9b
mov rdx, qword [rsp + 0x90]
mov r9b, byte [rdx + 0x290]
and r9b, 0xbf
or r9b, al
mov byte [rdx + 0x290], r9b
mov r9, qword [rsp + 0x90]
mov dl, byte [rsp + 0x50]
mov al, byte [r9 + 0x290]
and al, 0x7f
or al, sil
mov byte [r9 + 0x290], al
mov al, dl
mov rsi, qword [rsp + 0x90]
and al, 1
mov r9b, byte [rsi + 0x291]
and r9b, 0xfe
or r9b, al
mov al, dl
shr al, 1
and al, 1
shl al, 5
mov byte [rsi + 0x291], r9b
mov rsi, qword [rsp + 0x90]
mov r9b, byte [rsi + 0x299]
and r9b, 0xdf
or r9b, al
mov al, dl
shr al, 2
and dl, 0x80
mov byte [rsi + 0x299], r9b
and al, 3
mov rsi, qword [rsp + 0x90]
add al, al
mov r9b, byte [rsi + 0x291]
and r9b, 0xf9
or r9b, al
mov al, byte [rsp + 0x51]
mov byte [rsi + 0x291], r9b
mov r9b, al
shr r9b, 1
and r9b, 1
shl r9b, 3
mov rdi, qword [rsp + 0x90]
mov sil, byte [rdi + 0x29c]
and sil, 0xf7
or sil, r9b
mov byte [rdi + 0x29c], sil
mov rsi, qword [rsp + 0x90]
mov r9b, byte [rsi + 0x29b]
and r9b, 0x7f
or r9b, dl
mov byte [rsi + 0x29b], r9b
mov r9b, al
shr r9b, 6
shl r9b, 7
mov rsi, qword [rsp + 0x90]
mov dl, byte [rsi + 0x29d]
and dl, 0x7f
or dl, r9b
mov r9b, al
shr r9b, 3
mov byte [rsi + 0x29d], dl
and r9b, 0xf0
mov rsi, qword [rsp + 0x90]
mov dl, byte [rsi + 0x29e]
and dl, 0xef
or dl, r9b
mov r9b, byte [rsp + 0x52]
mov byte [rsi + 0x29e], dl
mov dl, r9b
and dl, 1
shl dl, 5
mov rdi, qword [rsp + 0x90]
mov sil, byte [rdi + 0x29e]
and sil, 0xdf
or sil, dl
mov dl, r9b
shr dl, 1
and dl, 1
shl dl, 6
mov byte [rdi + 0x29e], sil
mov rdi, qword [rsp + 0x90]
mov sil, byte [rdi + 0x29e]
and sil, 0xbf
or sil, dl
mov dl, r9b
shr dl, 2
shr r9b, 3
shl dl, 7
mov byte [rdi + 0x29e], sil
and r9b, 1
mov rdi, qword [rsp + 0x90]
mov sil, byte [rdi + 0x29e]
and sil, 0x7f
or sil, dl
mov byte [rdi + 0x29e], sil
mov rsi, qword [rsp + 0x90]
mov dl, byte [rsi + 0x29f]
and dl, 0xfe
or dl, r9b
mov byte [rsi + 0x29f], dl
mov rcx, qword [rsp + 0x90]
mov dl, byte [rcx + 0x29c]
test dl, 0x10
jne 0x140353f3b
shr al, 2
and dl, 0xef
and al, 1
shl al, 4
or dl, al
mov byte [rcx + 0x29c], dl
mov rcx, qword [rsp + 0x90]
mov edx, 1
mov r8d, 4
mov r9d, edx
call fcn.14036de40
test eax, eax
je 0x140354044
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x14035609d
test byte [rbp + 0x74], 2
je 0x140353fde
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x140353faa
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov r9, qword [rsp + 0x90]
test byte [r9 + 0x291], 0x40
je 0x140354151
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x1403560d5
test byte [rax + 0x74], 2
je 0x1403540e4
mov edx, 0x2f
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rbp, qword [rsp + 0x90]
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x1403540ab
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x2f
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x2f
mov dword [rbx + 0x20], 0x2f
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
test byte [r9 + 0x292], 0x40
jne 0x140354278
cmp r14d, 0xfffffffb
je 0x140354278
test r9, r9
je 0x14035417e
movzx eax, word [r9 + 0x27a]
test eax, eax
jg 0x140354278
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x140356110
test byte [rax + 0x74], 2
je 0x14035420b
mov dword [rax + 0x68], 0x101
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x30]
mov dword [rdx + 0x6c], 0x1f
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + 0xd8]
test rax, rax
je 0x1403541d2
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x101
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x101
mov dword [rbx + 0x20], 0x1f
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
test r9, r9
je 0x14035428d
movzx eax, word [r9 + 0x27a]
test eax, eax
jg 0x1403543ad
test byte [r9 + 0x293], 8
je 0x1403543ad
test byte [r9 + 0x290], 4
je 0x1403542b3
cmp byte [r9 + 0x27e], 1
jne 0x1403543ad
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14035614e
test byte [rax + 0x74], 2
je 0x140354340
mov dword [rax + 0x68], 0x103
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x30]
mov dword [rdx + 0x6c], 0x1f
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + 0xd8]
test rax, rax
je 0x140354307
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x103
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x103
mov dword [rbx + 0x20], 0x1f
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rsi, qword [r9 + 0xc0]
mov eax, 0xc0
pxor xmm0, xmm0
movdqu xmmword [rsi + rax - 0x10], xmm0
movdqu xmmword [rsi + rax - 0x20], xmm0
movdqu xmmword [rsi + rax - 0x30], xmm0
movdqu xmmword [rsi + rax - 0x40], xmm0
sub rax, 0x40
jne 0x1403543bd
mov dil, byte [rsp + 0x52]
shr dil, 2
mov dl, byte [rsp + 0x51]
and dl, 1
shl dl, 5
shl dil, 7
mov r9b, byte [rsi + 0xb8]
and r9b, 0x5f
or r9b, dl
mov rax, qword [rsp + 0x90]
or r9b, dil
mov qword [rsi], rax
mov byte [rsi + 0xb8], r9b
mov rdx, qword [rsp + 0x90]
mov al, byte [rdx + 0x28b]
test al, al
je 0x14035447f
cmp al, 1
je 0x140354467
cmp al, 2
jne 0x140354449
mov al, byte [rsi + 0xb4]
or al, 4
and al, 0xe7
mov byte [rsi + 0xb4], al
mov rdx, qword [rsp + 0x90]
jmp 0x14035447f
cmp al, 3
jne 0x14035447f
mov al, byte [rsi + 0xb4]
and al, 0xeb
or al, 8
mov byte [rsi + 0xb4], al
mov rdx, qword [rsp + 0x90]
jmp 0x14035447f
mov al, byte [rsi + 0xb4]
and al, 0xf3
or al, 0x10
mov byte [rsi + 0xb4], al
mov rdx, qword [rsp + 0x90]
mov al, byte [rdx + 0x287]
mov byte [rsi + 0xb1], al
test byte [rsp + 0x3e0], 8
je 0x1403545de
mov rax, qword [rsp + 0x90]
test byte [rax + 0x29e], 0x10
jne 0x1403544bb
movzx r8d, byte [rax + 0x294]
not r8d
and r8d, 1
jmp 0x1403544be
xor r8d, r8d
mov rcx, qword [rsp + 0x3f8]
lea rdx, [rsp + 0x88]
call fcn.1403c47c0
test eax, eax
je 0x1403545c9
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x14035618c
test byte [rbp + 0x74], 2
je 0x140354563
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x14035452f
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x10], rax
or byte [rsi + 0xb7], 2
jmp 0x1403545ea
mov rax, qword [rsp + 0x3f8]
mov qword [rsi + 0x10], rax
mov rsi, qword [rsp + 0x90]
test byte [rsi + 0x293], 4
je 0x140354724
mov rax, qword [rsi + 0x160]
cmp rax, qword [rsi + 0x168]
je 0x1403546f6
test byte [rsi + 0x295], 4
jne 0x140356334
mov rdx, qword [rsi + 0x160]
lea r8, [rsp + 0x7c]
mov rcx, qword [rsi + 0x1a0]
xor r9d, r9d
mov qword [r8 - 4], rdx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x78], eax
mov edx, eax
cmp eax, 0xffffffff
je 0x140356312
mov eax, dword [rsp + 0x7c]
shl rax, 0x20
or rax, rdx
cmp rax, 0xffffffffffffffff
je 0x1403561c4
mov rdx, qword [rsp + 0x90]
mov rax, qword [rdx + 0x108]
test rax, rax
je 0x140354684
mov byte [rax + 0x32], 0
mov rdx, qword [rsp + 0x90]
mov rax, qword [rdx + 0x160]
mov qword [rdx + 0x170], rax
mov rsi, qword [rsp + 0x90]
mov rdx, qword [rsi + 0x160]
mov qword [rsi + 0x168], rdx
mov rdi, qword [rsp + 0x90]
mov qword [rdi + 0x178], rbx
mov r10, qword [rsp + 0x90]
mov r9, qword [r10 + 0x178]
mov qword [r10 + 0x1b8], r9
mov r11, qword [rsp + 0x90]
and byte [r11 + 0x295], 0xfd
mov r14, qword [rsp + 0x90]
mov qword [r14 + 0x140], rbx
mov rsi, qword [rsp + 0x90]
jmp 0x140354724
mov rax, qword [rsi + 0x178]
test rax, rax
je 0x140354724
add qword [rsi + 0x170], rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x178], 0
mov rsi, qword [rsp + 0x90]
mov rax, qword [rsi + 0x108]
test rax, rax
je 0x140354745
cmp byte [rax + 0x32], 0
je 0x140354745
movzx eax, word [rsi + 0x27a]
test eax, eax
jle 0x140354b34
movzx eax, word [rsi + 0x27a]
test eax, eax
jg 0x140354b0e
mov rcx, rsi
xor edx, edx
call fcn.1403d36d0
test eax, eax
je 0x140354844
mov rax, qword [rsi + 0x30]
test rax, rax
je 0x1403565c4
test byte [rax + 0x74], 2
je 0x1403547d8
mov edx, 0x26
mov dword [rax + 0x68], edx
mov rax, qword [rsi + 0x30]
mov dword [rax + 0x6c], edx
mov rax, qword [rsi + 0xd8]
test rax, rax
je 0x14035479f
mov qword [rax + 8], rbx
mov qword [rsi + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x26
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [rsi + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, rsi
movzx r8d, byte [rsi + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbx + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movsx edx, byte [rsi + 0x27c]
cmp edx, 8
ja 0x140354a1e
lea rdi, [0x140000000]
movzx eax, word [rdi + rdx*2 + 0x594870]
lea rax, [rdi + rax + 0x35486d]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_wseq_fmt.c
mov r9d, 0x368
call fcn.140383960
mov r11b, byte [rsi + 0x290]
mov rax, qword [rsi + 0x80]
test r11b, 4
je 0x140354a69
test byte [rsi + 0x292], 0x40
je 0x140354a69
test byte [rsi + 0x293], 8
je 0x140354a69
cmp byte [rsi + 0x27c], 1
je 0x140354abe
mov dl, byte [rsi + 0x27e]
cmp dl, 2
jne 0x140354a92
mov dl, byte [rsi + 0x27c]
cmp dl, 7
je 0x140354abe
cmp dl, 6
je 0x140354abe
cmp dl, 8
je 0x140354abe
dec qword [rsi + 0x90]
jmp 0x140354abe
cmp dl, 1
jne 0x140354abe
mov dl, byte [rsi + 0x27c]
cmp dl, 7
je 0x140354ab3
cmp dl, 6
je 0x140354ab3
cmp dl, 8
je 0x140354ab3
dec qword [rsi + 0x90]
add rax, 5
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x98], rax
mov qword [rsi + 0xa0], 0
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x140354ae8
movzx eax, word [rsi + 0x27a]
test eax, eax
jg 0x140354b0e
mov rcx, qword [rsi + 0x80]
mov edx, 0x20
mov rsi, qword [rsi + 0x90]
sub rsi, rcx
movsxd r8, esi
call fcn.14042ad60
mov rsi, qword [rsp + 0x90]
mov rax, qword [rsi + 0x80]
mov qword [rsi + 0xb0], rax
mov rsi, qword [rsp + 0x90]
mov rdx, qword [rsi + 0x80]
mov qword [rsi + 0xa0], rdx
jmp 0x140354b42
mov rax, qword [rsi + 0x80]
mov qword [rsi + 0x98], rax
mov rdx, qword [rsp + 0x90]
mov rax, qword [rdx + 0x108]
test rax, rax
je 0x140354ba0
cmp byte [rax + 0x33], 0
je 0x140354ba0
movzx eax, word [rdx + 0x27a]
test eax, eax
jg 0x140354ba0
mov rcx, qword [rdx + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x140354ba0
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + 0x108]
test rax, rax
je 0x140354b99
mov byte [rax + 0x33], 0
mov rcx, qword [rsp + 0x90]
xor edx, edx
call fcn.1403d36d0
test byte [rsp + 0x3e2], 8
jne 0x140354bdf
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x140354bc6
movzx eax, word [rdx + 0x27a]
test eax, eax
jg 0x140354e65
mov rax, qword [rdx + 0x108]
test rax, rax
je 0x140354e65
mov byte [rax + 0x32], 0
jmp 0x140354e65
lea rcx, [rsp + 0x3e8]
lea rdx, [rsp + 0x3f0]
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x98]
call fcn.1403ca9c0
test eax, eax
jne 0x140354d1e
movsxd rdi, dword [rsp + 0x58]
xor edx, edx
mov rsi, qword [rsp + 0x40]
lea r8, [rsp + 0x80]
lea rcx, [rdi + 1]
call fcn.14035a450
test eax, eax
jne 0x140354d1e
mov r14, rbx
test rdi, rdi
jle 0x140354c5e
mov qword [rsp + 0x70], r15
movsx ecx, byte [r14 + rsi]
call fcn.140452db8
mov rdx, qword [rsp + 0x80]
mov byte [rdx + r14], al
inc r14
cmp r14, rdi
jl 0x140354c3b
mov r15, qword [rsp + 0x70]
mov rax, qword [rsp + 0x80]
mov byte [rdi + rax], 0
mov rcx, qword [rsp + 0x80]
cmp byte [rcx + rdi - 1], 0x20
jne 0x140354c96
cmp rdi, 1
jle 0x140354c96
mov byte [rcx + rdi - 1], 0
dec rdi
mov rcx, qword [rsp + 0x80]
cmp byte [rcx + rdi - 1], 0x20
je 0x140354c79
lea rdi, [0x14059498c]
mov rsi, rcx
mov dl, byte [rdi]
cmp dl, byte [rsi]
jne 0x140354cc2
test dl, dl
je 0x140354cbe
mov dl, byte [rdi + 1]
cmp dl, byte [rsi + 1]
jne 0x140354cc2
add rdi, 2
add rsi, 2
test dl, dl
jne 0x140354ca0
xor eax, eax
jmp 0x140354cc7
sbb eax, eax
or eax, 1
test eax, eax
je 0x140354d17
lea rdi, [0x140594988]
mov rsi, rcx
mov dl, byte [rdi]
cmp dl, byte [rsi]
jne 0x140354cf7
test dl, dl
je 0x140354cf3
mov dl, byte [rdi + 1]
cmp dl, byte [rsi + 1]
jne 0x140354cf7
add rdi, 2
add rsi, 2
test dl, dl
jne 0x140354cd5
xor eax, eax
jmp 0x140354cfc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140354d07
mov ebp, 1
jmp 0x140354d19
call fcn.14035a530
test eax, eax
jne 0x140354d1e
mov eax, 0x30
jmp 0x140354d26
xor ebp, ebp
call fcn.14035a530
test eax, eax
je 0x140354e14
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x140356640
test byte [rbp + 0x74], 2
je 0x140354dae
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x140354d7a
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x140354e2c
movzx eax, word [rdx + 0x27a]
test eax, eax
jg 0x140354e65
test ebp, ebp
je 0x140354e42
mov rax, qword [rdx + 0x108]
test rax, rax
je 0x140354e65
mov byte [rax + 0x32], 0
jmp 0x140354e65
mov rax, qword [rdx + 0x108]
test rax, rax
je 0x140354e5a
mov byte [rax + 0x32], 1
mov rdx, qword [rsp + 0x90]
mov rax, qword [rdx + 0x108]
mov qword [rax + 0x18], rdx
mov rcx, r12
mov rdx, qword [rsp + 0x3e8]
mov r8, qword [rsp + 0x3f0]
call fcn.140356950
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, r14d
lea rdx, [rsp + 0x30]
call fcn.1403c1480
test eax, eax
jne 0x14035382f
mov rdi, qword [rsp + 0x30]
xor ebx, ebx
mov r12b, byte [rsp + 0x3e0]
and r12b, 1
mov qword [rdi + 0x118], rbx
mov r10, qword [rsp + 0x30]
mov qword [r10 + 0x1c0], rbx
mov r11, qword [rsp + 0x30]
and byte [r11 + 0x29d], 0xf7
mov rdi, qword [rsp + 0x30]
mov r14b, byte [rdi + 0x294]
and r14b, 0xfe
or r14b, r12b
mov byte [rdi + 0x294], r14b
mov dil, byte [rsp + 0x41]
shr dil, 3
mov r11, qword [rsp + 0x30]
and dil, 0xf0
mov r10b, byte [r11 + 0x29e]
and r10b, 0xef
or r10b, dil
mov byte [r11 + 0x29e], r10b
mov r10, qword [rsp + 0x30]
mov rdi, qword [rbp]
mov qword [r10 + 0x1c0], rdi
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rbp + 8]
mov qword [rdi + 0x118], rbp
mov r9, qword [rsp + 0x30]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x14035503b
test byte [rbp + 0x74], 2
je 0x140354fd4
mov dword [rbp + 0x68], esi
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rbp + 0x30]
mov dword [rdi + 0x6c], esi
mov r10, qword [rsp + 0x30]
mov rbp, qword [r10 + 0xd8]
test rbp, rbp
je 0x140354fa2
mov qword [rbp + 8], rbx
mov rbp, qword [rsp + 0x30]
mov qword [rbp + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, esi
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, esi
mov dword [rbp + 0x20], esi
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.14043dac0
xor ecx, ecx
mov edx, esi
mov r8d, esi
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x53
jne 0x140353b6d
mov rax, rsp
mov r8d, 0x53
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, dword [rdi]
mov dword [rax + 0x20], 3
call fcn.14036c700
test eax, eax
jne 0x1403550da
mov rdx, qword [rsp + 0x90]
add rsi, 4
mov al, byte [rdx + 0x28b]
mov byte [rdx + 0x28c], al
mov rdi, qword [rsp + 0x90]
or byte [rdi + 0x29b], 0x20
mov r10, qword [rsp + 0x90]
mov r9d, dword [rsp + 0x30]
mov byte [r10 + 0x28b], r9b
jmp 0x140353b6d
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x1403551c8
test byte [rbp + 0x74], 2
je 0x140355162
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x14035512e
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x51
jne 0x140353b64
mov rax, rsp
mov r8d, 0x51
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, dword [rdi]
mov dword [rax + 0x20], 3
call fcn.14036c700
test eax, eax
jne 0x140355273
mov rdx, qword [rsp + 0x90]
add rsi, 4
add rdi, 0x10
mov al, byte [rdx + 0x287]
mov byte [rdx + 0x288], al
mov r9, qword [rsp + 0x90]
or byte [r9 + 0x29b], 0x10
mov r11, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x30]
mov byte [r11 + 0x287], r10b
jmp 0x140353b64
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x140355361
test byte [rbp + 0x74], 2
je 0x1403552fb
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x1403552c7
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x3c
jne 0x140353b5b
mov al, byte [rsp + 0x52]
test al, 8
je 0x1403553b1
test al, 2
jne 0x1403553bb
jmp 0x1403553c7
test byte [rsp + 0x3e2], 4
jne 0x1403553c7
mov ecx, 0x2fc
xor edx, edx
call fcn.140383960
mov rax, rsp
mov r8d, 0x3c
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, dword [rdi]
mov dword [rax + 0x20], 3
call fcn.14036c700
test eax, eax
jne 0x140355479
mov r9, qword [rsp + 0x90]
mov al, byte [r9 + 0x296]
mov dl, al
shr al, 1
and dl, 0xfb
and al, 1
shl al, 2
or dl, al
mov byte [r9 + 0x296], dl
mov r10, qword [rsp + 0x90]
or byte [r10 + 0x29b], 8
mov rax, qword [rsp + 0x30]
cmp rax, 2
jne 0x140355459
mov al, byte [rsp + 0x3e2]
shr al, 2
mov r9, qword [rsp + 0x90]
and al, 1
add al, al
mov dl, byte [r9 + 0x296]
and dl, 0xfd
or dl, al
mov byte [r9 + 0x296], dl
jmp 0x14035546c
cmp rax, 1
mov rax, qword [rsp + 0x90]
and byte [rax + 0x296], 0xfd
add rsi, 4
add rdi, 0x10
jmp 0x140353b5b
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x140355567
test byte [rbp + 0x74], 2
je 0x140355501
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x1403554cd
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x3b
jne 0x140353b52
mov rax, rsp
mov r8d, 0x3b
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, dword [rdi]
mov dword [rax + 0x20], 3
call fcn.14036c700
test eax, eax
jne 0x140355646
mov rdx, qword [rsp + 0x90]
mov al, byte [rdx + 0x281]
mov byte [rdx + 0x282], al
mov r9, qword [rsp + 0x90]
or byte [r9 + 0x29b], 4
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x14035562a
cmp rax, 1
jne 0x140355613
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x281], 0x27
jmp 0x140355639
cmp rax, 3
jne 0x14035562a
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x281], 0x22
jmp 0x140355639
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x281], 0
add rsi, 4
add rdi, 0x10
jmp 0x140353b52
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x140355734
test byte [rbp + 0x74], 2
je 0x1403556ce
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x14035569a
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x52
jne 0x140353b49
mov rax, rsp
mov r8d, 0x52
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, dword [rdi]
mov dword [rax + 0x20], 3
call fcn.14036c700
test eax, eax
jne 0x1403557df
mov rdx, qword [rsp + 0x90]
add rsi, 4
add rdi, 0x10
mov al, byte [rdx + 0x289]
mov byte [rdx + 0x28a], al
mov r9, qword [rsp + 0x90]
or byte [r9 + 0x29b], 2
mov r11, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x30]
mov byte [r11 + 0x289], r10b
jmp 0x140353b49
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x1403558cd
test byte [rbp + 0x74], 2
je 0x140355867
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x140355833
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 6
jne 0x140353b40
mov rax, rsp
mov r8d, 6
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov edx, dword [rdi]
mov dword [rax + 0x20], 3
call fcn.14036c700
test eax, eax
jne 0x1403559a6
mov r9, qword [rsp + 0x90]
mov al, byte [r9 + 0x293]
mov dl, al
shr al, 5
and dl, 0xbf
and al, 1
shl al, 6
or dl, al
mov byte [r9 + 0x293], dl
mov r10, qword [rsp + 0x90]
or byte [r10 + 0x29b], 1
mov rax, qword [rsp + 0x30]
cmp rax, 1
je 0x14035598a
cmp rax, 2
jne 0x14035598a
mov rax, qword [rsp + 0x90]
or byte [rax + 0x293], 0x20
jmp 0x140355999
mov rax, qword [rsp + 0x90]
and byte [rax + 0x293], 0xdf
add rsi, 4
add rdi, 0x10
jmp 0x140353b40
mov r9, qword [rsp + 0x90]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x140355a94
test byte [rbp + 0x74], 2
je 0x140355a2e
mov dword [rbp + 0x68], eax
mov rcx, qword [rsp + 0x90]
mov rbp, qword [rcx + 0x30]
mov dword [rbp + 0x6c], eax
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi + 0xd8]
test rcx, rcx
je 0x1403559fa
mov qword [rcx + 8], rbx
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, eax
mov dword [rbp + 0x20], eax
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x4f
jne 0x140353b37
mov r9, qword [rsp + 0x90]
test byte [r9 + 0x293], 4
jne 0x140355cfd
test byte [r9 + 0x291], 0x20
jne 0x140355bfa
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x140355e3e
test byte [rax + 0x74], 2
je 0x140355b84
mov edx, 0x6d
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rbp, qword [rsp + 0x90]
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x140355b4b
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x6d
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x6d
mov qword [rsp + 0x40], 0
mov dword [rbx + 0x20], 0x6d
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x140355e82
test byte [rax + 0x74], 2
je 0x140355c87
mov dword [rax + 0x68], 0x6e
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x30]
mov dword [rdx + 0x6c], 0x1f
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx + 0xd8]
test rax, rax
je 0x140355c4e
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x6e
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x6e
mov qword [rsp + 0x40], 0
mov dword [rbx + 0x20], 0x1f
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
test r9, r9
je 0x140355d0e
movzx eax, word [r9 + 0x27a]
test eax, eax
jg 0x140355d3e
mov rax, qword [rdi]
add rdi, 8
dec rax
mov qword [r9 + 0x160], rax
mov r9, qword [rsp + 0x90]
cmp qword [r9 + 0x160], 0
jl 0x140355ec9
add rsi, 4
jmp 0x140353b37
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14035600d
test byte [rax + 0x74], 2
je 0x140355dc8
mov edx, 0x10f
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rbp, qword [rsp + 0x90]
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x140355d8f
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x10f
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x10f
mov qword [rsp + 0x40], 0
mov dword [rbx + 0x20], 0x10f
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x6d
mov ecx, 1
mov r8d, edx
mov qword [rsp + 0x40], 0
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov ecx, 1
mov edx, 0x6e
mov r8d, 0x1f
mov qword [rsp + 0x40], 0
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x140355fc9
test byte [rax + 0x74], 2
je 0x140355f53
mov edx, 0x6f
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rbp, qword [rsp + 0x90]
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x140355f1a
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x6f
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x6f
mov qword [rsp + 0x40], 0
mov dword [rbx + 0x20], 0x6f
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x6f
mov ecx, 1
mov r8d, edx
mov qword [rsp + 0x40], 0
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov edx, 0x10f
mov ecx, 1
mov r8d, edx
mov qword [rsp + 0x40], 0
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
cmp byte [rsi + 2], 0x4e
jne 0x140353b2e
mov rdx, qword [rsp + 0x90]
add rsi, 4
mov rax, qword [rdi]
mov qword [rdx + 0x1c0], rax
mov r10, qword [rsp + 0x90]
mov r9, qword [rdi + 8]
add rdi, 0x10
mov qword [r10 + 0x118], r9
mov r11, qword [rsp + 0x90]
and byte [r11 + 0x29d], 0xf7
jmp 0x140353b2e
mov ecx, 2
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov edx, 0x2f
mov ecx, 1
mov r8d, edx
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov ecx, 1
mov edx, 0x101
mov r8d, 0x1f
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov ecx, 1
mov edx, 0x103
mov r8d, 0x1f
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + 0x1a8], eax
mov r9, qword [rsp + 0x90]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x1403562d7
test byte [rax + 0x74], 2
je 0x14035626a
mov edx, 0x26
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rbp, qword [rsp + 0x90]
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x140356231
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x26
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbx + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14035632a
mov qword [rsp + 0x78], 0xffffffffffffffff
jmp 0x1403561c4
mov rax, qword [rsp + 0x78]
jmp 0x14035465a
mov rdx, qword [rsi + 0x78]
mov rdi, qword [rsi + 0x88]
mov r8, qword [rsi + 0x240]
sub rdi, rdx
test r8, r8
je 0x140356359
cmp rdi, r8
jbe 0x1403563f7
jmp 0x14035636c
cmp rdi, 0x20000
jbe 0x1403563f7
mov r8d, 0x20000
mov qword [rsp + 0x38], r13
mov r14, rdi
mov qword [rsp + 0x70], r15
mov r15, rdx
mov r13, r8
mov rax, rsp
mov rdx, r15
mov rcx, qword [rsi + 0x1a0]
mov r8d, r13d
lea r9, [rsp + 0x68]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1403563b7
mov r13, qword [rsp + 0x38]
mov eax, 0xffffffff
mov r15, qword [rsp + 0x70]
jmp 0x140356426
mov r10, qword [rsi + 0x240]
mov r11d, 0x20000
test r10, r10
mov edx, dword [rsp + 0x68]
cmovne r11, r10
mov eax, 1
sub r14, rdx
add r15, rdx
cmp r14, r11
cmovb r13, r14
test r14, r14
je 0x1403563eb
test rdx, rdx
ja 0x14035637f
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x70]
jmp 0x140356426
mov rax, rsp
mov r8d, edi
mov rcx, qword [rsi + 0x1a0]
lea r9, [rsp + 0x68]
mov qword [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0xffffffff
test eax, eax
mov eax, 1
cmove eax, edx
mov r10, qword [rsi + 0x78]
mov rdx, qword [rsi + 0x1c8]
mov r11, qword [rsi + 0x170]
add rdi, r11
mov qword [rsi + 0x88], r10
add r10, rdx
and byte [rsi + 0x295], 0xfb
mov qword [rsi + 0x90], r10
mov qword [rsi + 0x158], 0
mov qword [rsi + 0x170], rdi
mov qword [rsi + 0x168], rdi
cmp eax, 0xffffffff
je 0x14035647e
mov rsi, qword [rsp + 0x90]
jmp 0x140354620
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x1a8], eax
mov r9, qword [rsp + 0x90]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x140356589
test byte [rax + 0x74], 2
je 0x14035651c
mov edx, 0x26
mov dword [rax + 0x68], edx
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x30]
mov dword [rcx + 0x6c], edx
mov rbp, qword [rsp + 0x90]
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x1403564e3
mov qword [rax + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [rax + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, 0x26
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [r9 + 0x29e]
mov rbx, rsp
and eax, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x26
mov dword [rbx + 0x20], 0x26
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x26
mov ecx, 1
mov r8d, edx
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov edx, 0x26
mov ecx, 1
mov r8d, edx
mov r9, rsi
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov ecx, 1
mov edx, eax
mov r8d, eax
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856
mov ecx, 0xfffffffa
lea rdx, [rsp + 0x90]
mov r8, r12
mov r9d, 5
call fcn.1403bf1e0
mov esi, eax
test esi, esi
je 0x140353885
lea rbx, [rsp + 0x400]
mov qword [rsp + 0x30], rbx
movzx r10d, byte [rsp + 0x3e3]
and r10d, 0x80
mov dword [rsp + 0x40], 0
shr r10d, 7
je 0x1403566d3
mov ebx, dword [rsp + 0x3e4]
mov dword [rsp + 0x40], ebx
mov bl, byte [rsp + 0x41]
and bl, 0x80
shr bl, 7
mov dil, byte [rsp + 0x3e0]
and dil, 1
or dil, bl
je 0x14035675b
test r10d, r10d
je 0x140356724
test byte [rsp + 0x40], 0x10
je 0x140356724
mov rbx, qword [rsp + 0x30]
lea rbp, [rbx + 8]
mov qword [rsp + 0x30], rbp
add rbx, 0x10
mov rdi, qword [rbp - 8]
mov qword [rsp + 0x30], rbx
mov rbp, qword [rbp]
cmp byte [rdi], 0x38
jne 0x140356724
cmp byte [rdi + 2], 0x4e
je 0x140356782
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
movzx eax, si
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, esi
mov edx, 2
mov r8d, 0xfffffffb
lea r9, str.unknown
call fcn.140383960
mov qword [rsp + 0x30], 0
jmp 0x140353885
mov ecx, 0xfffffffb
lea rdx, [rsp + 0x30]
call fcn.1403c1480
test eax, eax
jne 0x140356724
mov rdi, qword [rsp + 0x30]
xor ebx, ebx
mov r12b, byte [rsp + 0x3e0]
and r12b, 1
mov qword [rdi + 0x118], rbx
mov r10, qword [rsp + 0x30]
mov qword [r10 + 0x1c0], rbx
mov r11, qword [rsp + 0x30]
and byte [r11 + 0x29d], 0xf7
mov rdi, qword [rsp + 0x30]
mov r14b, byte [rdi + 0x294]
and r14b, 0xfe
or r14b, r12b
mov byte [rdi + 0x294], r14b
mov dil, byte [rsp + 0x41]
shr dil, 3
mov r11, qword [rsp + 0x30]
and dil, 0xf0
mov r10b, byte [r11 + 0x29e]
and r10b, 0xef
or r10b, dil
mov byte [r11 + 0x29e], r10b
mov r10, qword [rsp + 0x30]
mov rdi, qword [rbp]
mov qword [r10 + 0x1c0], rdi
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rbp + 8]
mov qword [rdi + 0x118], rbp
mov r9, qword [rsp + 0x30]
mov rbp, qword [r9 + 0x30]
test rbp, rbp
je 0x14035690d
test byte [rbp + 0x74], 2
je 0x1403568a7
mov dword [rbp + 0x68], esi
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rbp + 0x30]
mov dword [rdi + 0x6c], esi
mov r10, qword [rsp + 0x30]
mov rbp, qword [r10 + 0xd8]
test rbp, rbp
je 0x140356871
mov qword [rbp + 8], rbx
mov rbp, qword [rsp + 0x30]
mov qword [rbp + 0xd8], rbx
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
mov eax, esi
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx ebx, byte [r9 + 0x29e]
mov rbp, rsp
and ebx, 0x10
mov rcx, r9
movzx r8d, byte [r9 + 0x294]
mov edx, 0xffffffff
shr ebx, 1
and r8d, 7
or r8d, ebx
mov r9d, esi
mov dword [rbp + 0x20], esi
call fcn.1403be580
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
add rsp, 0x398
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
xor ecx, ecx
mov edx, esi
mov r8d, esi
call fcn.140381780
mov rcx, qword [rsp + 0x390]
mov qword [rsp + 0x390], 0
xor rcx, rsp
cmp rcx, qword [0x14194d6d8]
jne 0x140355036
jmp 0x140353856