Function at 0x1403d1d20
Capabilities:
Clear file content

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov rdi, qword [rbx + 0xa0]
test rdi, rdi
jne 0x1403d1d3d
mov rdi, qword [rbx + 0x80]
mov rsi, qword [rbx + 0x88]
test rsi, rsi
je 0x1403d1d51
neg rsi
add rsi, rdi
jmp 0x1403d1d58
mov rsi, rdi
sub rsi, qword [rbx + 0x78]
movsx r10d, byte [rbx + 0x27c]
xor edx, edx
lea eax, [r10 - 2]
test eax, 0xfffffffd
je 0x1403d33e3
cmp r10d, 8
jne 0x1403d1dfd
cmp byte [rbx + 0x27e], 1
je 0x1403d1e6e
test byte [rbx + 0x295], 0x40
jne 0x1403d1e6e
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d1df6
cmp byte [rax + 0x32], 0
je 0x1403d1df6
movzx eax, word [rbx + 0x27a]
test eax, eax
jg 0x1403d1df6
cmp dword [rbx + 0x238], 1
je 0x1403d1e6e
cmp dword [0x141a6ae3c], 0
je 0x1403d1df6
mov rax, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d1de2
cmp rax, 0xfffffffffffffffa
je 0x1403d1e6e
cmp rax, 1
je 0x1403d1e6e
cmp rax, 2
je 0x1403d1e6e
mov edx, 2
jmp 0x1403d1e6e
lea eax, [r10 - 6]
cmp eax, 1
ja 0x1403d1e6e
cmp byte [rbx + 0x27e], 1
je 0x1403d1e6e
test byte [rbx + 0x295], 0x40
jne 0x1403d1e6e
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d1e69
cmp byte [rax + 0x32], 0
je 0x1403d1e69
movzx eax, word [rbx + 0x27a]
test eax, eax
jg 0x1403d1e69
cmp dword [rbx + 0x238], 1
je 0x1403d1e6e
cmp dword [0x141a6ae3c], 0
je 0x1403d1e69
mov rax, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d1e5d
cmp rax, 0xfffffffffffffffa
je 0x1403d1e6e
cmp rax, 1
je 0x1403d1e6e
cmp rax, 2
je 0x1403d1e6e
mov edx, 1
lea rax, [rsi + rdx]
cmp rax, qword [rbx + 0x1b0]
jbe 0x1403d1f2f
cmp r10d, 1
je 0x1403d1f2f
mov rcx, rbx
mov r8d, 0x200
call fcn.1403b7b30
test eax, eax
je 0x1403d1f27
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x1403d2dae
test byte [rax + 0x74], 2
je 0x1403d1ee7
mov edx, 0x42
mov dword [rax + 0x68], edx
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x6c], edx
mov rdx, qword [rbx + 0xd8]
test rdx, rdx
je 0x1403d1eda
xor eax, eax
mov qword [rdx + 8], rax
mov qword [rbx + 0xd8], rax
mov eax, 0x42
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [rbx + 0x29e]
mov rsi, rsp
and eax, 0x10
mov rcx, rbx
movzx r8d, byte [rbx + 0x294]
mov edx, 0xffffffff
shr eax, 1
and r8d, 7
or r8d, eax
mov r9d, 0x42
mov dword [rsi + 0x20], 0x42
call fcn.1403be580
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
movsx r10d, byte [rbx + 0x27c]
cmp r10d, 8
ja 0x1403d213a
lea rdx, [0x140000000]
movzx eax, word [rdx + r10*2 + 0x59f060]
lea rax, [rdx + rax + 0x3d1f53]
jmp rax
mov ecx, 8
mov edx, 2
lea r8, str.for_put.c
mov r9d, 0x4f2
call fcn.140383960
jmp 0x1403d2334
mov al, byte [rbx + 0x27e]
mov r10, qword [rbx + 0x88]
test r10, r10
je 0x1403d234b
mov rdi, r10
jmp 0x1403d234f
mov rdi, qword [rbx + 0x78]
cmp al, 2
jne 0x1403d2566
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d23e3
cmp byte [rax + 0x30], 0
jne 0x1403d2373
cmp byte [rax + 0x31], 0
je 0x1403d23d8
cmp byte [rax + 0x34], 0
je 0x1403d23ad
cmp dword [rbx + 0x238], 1
je 0x1403d23d8
cmp dword [0x141a6ae3c], 0
je 0x1403d23ad
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d23a1
cmp r10, 0xfffffffffffffffa
je 0x1403d23d8
cmp r10, 1
je 0x1403d23d8
cmp r10, 2
je 0x1403d23d8
mov rcx, rbx
lea rdx, [rsp + 0x30]
mov r8d, 1
mov byte [rdx], 0xa
call fcn.1403d1590
cmp eax, 0xffffffff
je 0x1403d2eaa
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d23e3
mov byte [rax + 0x30], 0
mov rax, qword [rbx + 0x108]
test byte [rbx + 0x290], 4
je 0x1403d2402
test byte [rbx + 0x292], 0x40
je 0x1403d2402
test byte [rbx + 0x293], 8
jne 0x1403d24b9
mov r10b, byte [rbx + 0x27c]
mov dl, byte [rbx + 0x295]
cmp r10b, 5
je 0x1403d24b0
cmp r10b, 7
je 0x1403d24b0
cmp r10b, 6
je 0x1403d24b0
cmp r10b, 8
je 0x1403d24b0
test dl, 0x40
jne 0x1403d24b0
test rax, rax
je 0x1403d2ed0
cmp byte [rax + 0x32], 0
je 0x1403d2483
mov r11d, dword [rbx + 0x238]
cmp r11d, 1
je 0x1403d24c6
cmp dword [0x141a6ae3c], 0
je 0x1403d2483
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2477
cmp r10, 0xfffffffffffffffa
je 0x1403d24c6
cmp r10, 1
je 0x1403d24c6
cmp r10, 2
je 0x1403d24c6
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1403d2ec3
mov byte [rax + rsi], 0xa
mov dl, byte [rbx + 0x295]
inc rsi
mov rax, qword [rbx + 0x108]
mov r11d, dword [rbx + 0x238]
jmp 0x1403d24c6
mov r11d, dword [rbx + 0x238]
jmp 0x1403d24c6
mov dl, byte [rbx + 0x295]
mov r11d, dword [rbx + 0x238]
and dl, 0xbf
mov byte [rbx + 0x295], dl
test rax, rax
je 0x1403d251e
cmp byte [rax + 0x32], 0
je 0x1403d251e
movzx r10d, word [rbx + 0x27a]
test r10d, r10d
jg 0x1403d251e
cmp r11d, 1
je 0x1403d2515
cmp dword [0x141a6ae3c], 0
je 0x1403d251e
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d250c
cmp r10, 0xfffffffffffffffa
je 0x1403d2515
dec r10
cmp r10, 1
ja 0x1403d251e
mov byte [rax + 0x34], 1
jmp 0x1403d2d51
cmp r11d, 1
je 0x1403d2554
cmp dword [0x141a6ae3c], 0
je 0x1403d2d51
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2547
cmp r10, 0xfffffffffffffffa
je 0x1403d2554
dec r10
cmp r10, 1
ja 0x1403d2d51
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
cmp al, 1
jne 0x1403d2cb9
mov eax, 6
cmp rsi, 5
cmovne rax, rsi
lea rsi, [rax - 4]
test r10, r10
je 0x1403d33ae
lea rdi, [r10 + 4]
mov r10b, byte [r10 + 5]
cmp r10b, 0x2b
je 0x1403d3215
cmp r10b, 0x30
je 0x1403d2f66
cmp r10b, 0x31
je 0x1403d2a30
cmp r10b, 0x24
jne 0x1403d2747
test byte [rbx + 0x290], 2
je 0x1403d26d4
cmp dword [rbx + 0x238], 1
je 0x1403d25fe
cmp dword [0x141a6ae3c], 0
je 0x1403d26d4
mov rsi, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d25f1
cmp rsi, 0xfffffffffffffffa
je 0x1403d25fe
dec rsi
cmp rsi, 1
ja 0x1403d26d4
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d2ee6
cmp byte [r10 + 0x32], 0
je 0x1403d266a
cmp byte [r10 + 0x30], 0
jne 0x1403d2623
cmp byte [r10 + 0x31], 0
je 0x1403d263b
inc rdi
lea rsi, [rax - 5]
mov byte [rdi], 0xa
mov r10, qword [rbx + 0x108]
test r10, r10
jne 0x1403d2643
jmp 0x1403d2660
add rdi, 2
lea rsi, [rax - 6]
mov byte [r10 + 0x30], 0
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d2660
mov byte [r10 + 0x31], 0
mov r10, qword [rbx + 0x108]
mov byte [r10 + 0x34], 1
jmp 0x1403d2d51
cmp byte [r10 + 0x34], 0
jne 0x1403d2697
cmp byte [r10 + 0x30], 0
jne 0x1403d267f
cmp byte [r10 + 0x31], 0
je 0x1403d2697
inc rdi
lea rsi, [rax - 5]
mov byte [rdi], 0xa
mov r10, qword [rbx + 0x108]
test r10, r10
jne 0x1403d269f
jmp 0x1403d26ab
add rdi, 2
lea rsi, [rax - 6]
mov byte [r10 + 0x30], 0
mov r10, qword [rbx + 0x108]
mov byte [r10 + 0x31], 1
mov rax, qword [rbx + 0x108]
mov qword [rax + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d2f02
cmp byte [r10 + 0x30], 0
jne 0x1403d26f2
cmp byte [r10 + 0x31], 0
je 0x1403d270a
inc rdi
lea rsi, [rax - 5]
mov byte [rdi], 0xa
mov r10, qword [rbx + 0x108]
test r10, r10
jne 0x1403d2712
jmp 0x1403d271e
add rdi, 2
lea rsi, [rax - 6]
mov byte [r10 + 0x30], 0
mov r10, qword [rbx + 0x108]
mov byte [r10 + 0x31], 1
mov rax, qword [rbx + 0x108]
mov qword [rax + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
test r10b, r10b
jne 0x1403d2865
test byte [rbx + 0x290], 2
je 0x1403d281e
cmp dword [rbx + 0x238], 1
je 0x1403d2796
cmp dword [0x141a6ae3c], 0
je 0x1403d281e
mov rsi, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2789
cmp rsi, 0xfffffffffffffffa
je 0x1403d2796
dec rsi
cmp rsi, 1
ja 0x1403d281e
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d2f0f
movzx r11d, byte [r10 + 0x32]
add rdi, 2
lea rsi, [rax - 6]
test r11d, r11d
je 0x1403d27e4
test r10, r10
je 0x1403d27da
mov byte [r10 + 0x30], 0
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d27da
mov byte [r10 + 0x31], 0
mov r10, qword [rbx + 0x108]
mov byte [r10 + 0x34], 1
jmp 0x1403d2d51
test r10, r10
je 0x1403d27f5
mov byte [r10 + 0x30], 0
mov r10, qword [rbx + 0x108]
mov byte [r10 + 0x31], 1
mov rax, qword [rbx + 0x108]
mov qword [rax + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
add rdi, 2
lea rsi, [rax - 6]
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d283d
mov byte [rax + 0x30], 0
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x31], 1
mov rax, qword [rbx + 0x108]
mov qword [rax + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov r11b, byte [rbx + 0x290]
test r11b, 2
je 0x1403d29ba
cmp dword [rbx + 0x238], 1
je 0x1403d28af
cmp dword [0x141a6ae3c], 0
je 0x1403d29ba
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d28a2
cmp r10, 0xfffffffffffffffa
je 0x1403d28af
dec r10
cmp r10, 1
ja 0x1403d29ba
mov r10, qword [rbx + 0x108]
inc rdi
test r10, r10
je 0x1403d2f30
cmp byte [r10 + 0x32], 0
je 0x1403d293f
test r11b, 4
je 0x1403d28e5
test r10, r10
je 0x1403d2f24
cmp byte [r10 + 0x34], 0
je 0x1403d28ee
lea rsi, [rax - 5]
jmp 0x1403d2918
test r10, r10
je 0x1403d2f24
cmp byte [r10 + 0x30], 0
jne 0x1403d28fc
cmp byte [r10 + 0x31], 0
je 0x1403d290c
mov byte [rdi], 0xa
lea rsi, [rax - 5]
mov r10, qword [rbx + 0x108]
jmp 0x1403d2913
inc rdi
lea rsi, [rax - 6]
test r10, r10
je 0x1403d2935
mov byte [r10 + 0x30], 0
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d2935
mov byte [r10 + 0x31], 0
mov r10, qword [rbx + 0x108]
mov byte [r10 + 0x34], 1
jmp 0x1403d2d51
cmp byte [r10 + 0x34], 0
je 0x1403d2953
test r11b, 4
je 0x1403d296b
mov byte [rdi + rsi - 1], 0xd
jmp 0x1403d2977
cmp byte [r10 + 0x30], 0
jne 0x1403d2961
cmp byte [r10 + 0x31], 0
je 0x1403d296b
mov byte [rdi], 0xa
mov byte [rdi + rsi - 1], 0xd
jmp 0x1403d2977
inc rdi
lea rsi, [rax - 5]
mov byte [rsi + rdi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov r10, qword [rbx + 0x108]
inc rdi
test r10, r10
je 0x1403d29e1
cmp byte [r10 + 0x30], 0
jne 0x1403d29d7
cmp byte [r10 + 0x31], 0
je 0x1403d29e1
mov byte [rdi], 0xa
mov byte [rdi + rsi - 1], 0xd
jmp 0x1403d29ed
inc rdi
lea rsi, [rax - 5]
mov byte [rsi + rdi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov dl, byte [rbx + 0x290]
test dl, 2
je 0x1403d2c02
cmp dword [rbx + 0x238], 1
je 0x1403d2a78
cmp dword [0x141a6ae3c], 0
je 0x1403d2c02
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2a6b
cmp r10, 0xfffffffffffffffa
je 0x1403d2a78
dec r10
cmp r10, 1
ja 0x1403d2c02
mov r11, qword [rbx + 0x108]
inc rdi
test r11, r11
je 0x1403d2f50
cmp byte [r11 + 0x32], 0
je 0x1403d2b39
and dl, 4
shr dl, 2
je 0x1403d2ab4
test r11, r11
je 0x1403d2f44
cmp byte [r11 + 0x34], 0
je 0x1403d2abd
lea rsi, [rax - 5]
jmp 0x1403d2b12
test r11, r11
je 0x1403d2f44
cmp byte [r11 + 0x30], 0
jne 0x1403d2acb
cmp byte [r11 + 0x31], 0
je 0x1403d2b06
test dl, dl
je 0x1403d2af6
add rdi, 0xfffffffffffffffc
mov sil, 0xd
mov byte [rdi], 0xa
mov byte [rdi + 1], 0xc
mov byte [rdi + 2], sil
mov byte [rdi + 3], 0x20
mov byte [rdi + 4], sil
lea rsi, [rax - 1]
mov r11, qword [rbx + 0x108]
jmp 0x1403d2b0d
mov byte [rdi], 0xc
lea rsi, [rax - 5]
mov r11, qword [rbx + 0x108]
jmp 0x1403d2b0d
inc rdi
lea rsi, [rax - 6]
test r11, r11
je 0x1403d2b2f
mov byte [r11 + 0x30], 0
mov r11, qword [rbx + 0x108]
test r11, r11
je 0x1403d2b2f
mov byte [r11 + 0x31], 0
mov r11, qword [rbx + 0x108]
mov byte [r11 + 0x34], 1
jmp 0x1403d2d51
cmp byte [r11 + 0x34], 0
je 0x1403d2b5a
test dl, 4
je 0x1403d2b4c
mov byte [rdi + rsi - 1], 0xd
jmp 0x1403d2bbf
inc rdi
lea rsi, [rax - 5]
mov byte [rsi + rdi - 1], 0xd
jmp 0x1403d2bbf
cmp byte [r11 + 0x30], 0
jne 0x1403d2b68
cmp byte [r11 + 0x31], 0
je 0x1403d2b91
test dl, 4
je 0x1403d2bb7
add rdi, 0xfffffffffffffffc
mov r10b, 0xd
mov byte [rdi], 0xa
mov byte [rdi + 1], 0xc
mov byte [rdi + 2], r10b
mov byte [rdi + 3], 0x20
mov byte [rdi + 4], r10b
mov byte [rdi + rsi + 3], r10b
mov rsi, rax
jmp 0x1403d2bbf
test dl, 4
je 0x1403d2bb7
add rdi, 0xfffffffffffffffd
mov r10b, 0xd
mov byte [rdi], 0xc
mov byte [rdi + 1], r10b
mov byte [rdi + 2], 0x20
mov byte [rdi + 3], r10b
mov byte [rdi + rsi + 2], r10b
lea rsi, [rax - 1]
jmp 0x1403d2bbf
mov byte [rdi], 0xc
mov byte [rdi + rsi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov r10, qword [rbx + 0x108]
inc rdi
test r10, r10
je 0x1403d2c48
cmp byte [r10 + 0x30], 0
jne 0x1403d2c1f
cmp byte [r10 + 0x31], 0
je 0x1403d2c48
test dl, 4
je 0x1403d2c6e
add rdi, 0xfffffffffffffffc
mov r10b, 0xd
mov byte [rdi], 0xa
mov byte [rdi + 1], 0xc
mov byte [rdi + 2], r10b
mov byte [rdi + 3], 0x20
mov byte [rdi + 4], r10b
mov byte [rdi + rsi + 3], r10b
mov rsi, rax
jmp 0x1403d2c76
test dl, 4
je 0x1403d2c6e
add rdi, 0xfffffffffffffffd
mov r10b, 0xd
mov byte [rdi], 0xc
mov byte [rdi + 1], r10b
mov byte [rdi + 2], 0x20
mov byte [rdi + 3], r10b
mov byte [rdi + rsi + 2], r10b
lea rsi, [rax - 1]
jmp 0x1403d2c76
mov byte [rdi], 0xc
mov byte [rdi + rsi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov r11, qword [rbx + 0x108]
test r11, r11
je 0x1403d33d5
cmp byte [r11 + 0x32], 0
je 0x1403d2d14
movzx eax, word [rbx + 0x27a]
test eax, eax
jg 0x1403d2d14
cmp dword [rbx + 0x238], 1
je 0x1403d2d0d
cmp dword [0x141a6ae3c], 0
je 0x1403d2d51
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2d03
cmp r10, 0xfffffffffffffffa
je 0x1403d2d0d
lea rax, [r10 - 1]
cmp rax, 1
ja 0x1403d2d2f
mov byte [r11 + 0x34], 1
jmp 0x1403d2d51
mov eax, dword [rbx + 0x238]
cmp eax, 1
je 0x1403d2d47
cmp dword [0x141a6ae3c], 0
je 0x1403d2d51
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2d3e
cmp r10, 0xfffffffffffffffa
je 0x1403d2d47
dec r10
cmp r10, 1
ja 0x1403d2d51
test r11, r11
je 0x1403d2d51
mov byte [r11 + 0x34], 0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1403d1590
and byte [rbx + 0x294], 0xbf
cmp eax, 0xffffffff
je 0x1403d2eaa
test byte [rbx + 0x295], 8
je 0x1403d2da4
mov rcx, qword [rbx + 0x1a0]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1403d33bf
and byte [rbx + 0x295], 0xf7
test esi, esi
je 0x1403d2da4
mov eax, esi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x42
mov ecx, 1
mov r8d, edx
mov r9, rbx
call fcn.140381780
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov eax, 0x26
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rbx + 0x78]
mov byte [rax + rsi], 0xa
jmp 0x1403d2497
movzx r10d, word [rbx + 0x27a]
test r10d, r10d
jle 0x1403d2483
jmp 0x1403d244b
add rdi, 2
lea rsi, [rax - 6]
movzx eax, word [rbx + 0x27a]
test eax, eax
jle 0x1403d26ab
jmp 0x1403d2660
add rdi, 2
lea rsi, [rax - 6]
jmp 0x1403d271e
movzx esi, word [rbx + 0x27a]
xor r11d, r11d
test esi, esi
setg r11b
jmp 0x1403d27ab
inc rdi
lea rsi, [rax - 6]
jmp 0x1403d2935
movzx esi, word [rbx + 0x27a]
test esi, esi
jle 0x1403d296b
jmp 0x1403d28c9
inc rdi
lea rsi, [rax - 6]
jmp 0x1403d2b2f
movzx r10d, word [rbx + 0x27a]
test r10d, r10d
jle 0x1403d2b91
jmp 0x1403d2a96
mov r11b, byte [rbx + 0x290]
test r11b, 2
je 0x1403d3137
cmp dword [rbx + 0x238], 1
je 0x1403d2fb0
cmp dword [0x141a6ae3c], 0
je 0x1403d3137
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d2fa3
cmp r10, 0xfffffffffffffffa
je 0x1403d2fb0
dec r10
cmp r10, 1
ja 0x1403d3137
mov rdx, qword [rbx + 0x108]
test rdx, rdx
je 0x1403d31f2
cmp byte [rdx + 0x32], 0
je 0x1403d3065
and r11b, 4
shr r11b, 2
je 0x1403d2fec
test rdx, rdx
je 0x1403d3208
cmp byte [rdx + 0x34], 0
je 0x1403d2ff5
inc rdi
lea rsi, [rax - 5]
jmp 0x1403d3041
test rdx, rdx
je 0x1403d3208
cmp byte [rdx + 0x30], 0
jne 0x1403d3001
cmp byte [rdx + 0x31], 0
je 0x1403d3034
test r11b, r11b
je 0x1403d3024
dec rdi
mov sil, 0xa
mov byte [rdi], sil
mov byte [rdi + 1], 0xd
mov byte [rdi + 2], sil
lea rsi, [rax - 3]
mov rdx, qword [rbx + 0x108]
jmp 0x1403d303c
mov al, 0xa
mov byte [rdi], al
mov byte [rdi + 1], al
mov rdx, qword [rbx + 0x108]
jmp 0x1403d303c
add rdi, 2
lea rsi, [rax - 6]
test rdx, rdx
je 0x1403d305c
mov byte [rdx + 0x30], 0
mov rdx, qword [rbx + 0x108]
test rdx, rdx
je 0x1403d305c
mov byte [rdx + 0x31], 0
mov rdx, qword [rbx + 0x108]
mov byte [rdx + 0x34], 1
jmp 0x1403d2d51
cmp byte [rdx + 0x34], 0
je 0x1403d308a
test r11b, 4
je 0x1403d307b
inc rdi
mov byte [rdi + rsi - 1], 0xd
jmp 0x1403d30f4
add rdi, 2
lea rsi, [rax - 5]
mov byte [rsi + rdi - 1], 0xd
jmp 0x1403d30f4
cmp byte [rdx + 0x30], 0
jne 0x1403d3096
cmp byte [rdx + 0x31], 0
je 0x1403d30cf
test r11b, 4
je 0x1403d30bb
dec rdi
mov r10b, 0xa
mov r11b, 0xd
mov byte [rdi], r10b
mov byte [rdi + 1], r11b
mov byte [rdi + 2], r10b
mov byte [rdi + rsi + 1], r11b
lea rsi, [rax - 2]
jmp 0x1403d30f4
mov r10b, 0xa
mov byte [rdi], r10b
mov byte [rdi + 1], r10b
mov byte [rdi + rsi], 0xd
lea rsi, [rax - 3]
jmp 0x1403d30f4
test r11b, 4
je 0x1403d30e9
mov r10b, 0xd
mov byte [rdi], r10b
mov byte [rdi + 1], 0xa
mov byte [rdi + rsi], r10b
lea rsi, [rax - 3]
jmp 0x1403d30f4
inc rdi
mov byte [rdi], 0xa
mov byte [rdi + rsi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
mov r10, qword [rbx + 0x108]
test r10, r10
je 0x1403d318a
cmp byte [r10 + 0x30], 0
jne 0x1403d3151
cmp byte [r10 + 0x31], 0
je 0x1403d318a
test r11b, 4
je 0x1403d3176
dec rdi
mov r10b, 0xa
mov r11b, 0xd
mov byte [rdi], r10b
mov byte [rdi + 1], r11b
mov byte [rdi + 2], r10b
mov byte [rdi + rsi + 1], r11b
lea rsi, [rax - 2]
jmp 0x1403d31af
mov r10b, 0xa
mov byte [rdi], r10b
mov byte [rdi + 1], r10b
mov byte [rdi + rsi], 0xd
lea rsi, [rax - 3]
jmp 0x1403d31af
test r11b, 4
je 0x1403d31a4
mov r10b, 0xd
mov byte [rdi], r10b
mov byte [rdi + 1], 0xa
mov byte [rdi + rsi], r10b
lea rsi, [rax - 3]
jmp 0x1403d31af
inc rdi
mov byte [rdi], 0xa
mov byte [rdi + rsi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
movzx r10d, word [rbx + 0x27a]
test r10d, r10d
jle 0x1403d30cf
jmp 0x1403d2fca
add rdi, 2
lea rsi, [rax - 6]
jmp 0x1403d305c
mov dl, byte [rbx + 0x290]
test dl, 2
je 0x1403d333b
cmp dword [rbx + 0x238], 1
je 0x1403d325d
cmp dword [0x141a6ae3c], 0
je 0x1403d333b
mov r10, qword [rbx + 0x248]
test byte [rbx + 0x298], 0x80
je 0x1403d3250
cmp r10, 0xfffffffffffffffa
je 0x1403d325d
dec r10
cmp r10, 1
ja 0x1403d333b
mov r11, qword [rbx + 0x108]
test r11, r11
je 0x1403d3398
cmp byte [r11 + 0x32], 0
je 0x1403d32d0
test dl, 4
je 0x1403d329c
test r11, r11
je 0x1403d338b
cmp byte [r11 + 0x34], 0
je 0x1403d3292
inc rdi
lea rsi, [rax - 5]
jmp 0x1403d32a9
add rdi, 2
lea rsi, [rax - 6]
jmp 0x1403d32a9
add rdi, 2
lea rsi, [rax - 6]
test r11, r11
je 0x1403d32c6
mov byte [r11 + 0x30], 0
mov r11, qword [rbx + 0x108]
test r11, r11
je 0x1403d32c6
mov byte [r11 + 0x31], 0
mov r11, qword [rbx + 0x108]
mov byte [r11 + 0x34], 1
jmp 0x1403d2d51
test dl, 4
je 0x1403d32eb
test r11, r11
je 0x1403d32eb
cmp byte [r11 + 0x34], 0
je 0x1403d32eb
inc rdi
mov byte [rdi + rsi - 1], 0xd
jmp 0x1403d32f8
add rdi, 2
lea rsi, [rax - 5]
mov byte [rsi + rdi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
add rdi, 2
lea rsi, [rax - 5]
mov byte [rsi + rdi - 1], 0xd
mov rax, qword [rbx + 0x108]
mov byte [rax + 0x30], 1
mov r10, qword [rbx + 0x108]
mov qword [r10 + 0x20], rbx
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x31], 0
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x1403d2d51
mov byte [rax + 0x34], 0
jmp 0x1403d2d51
add rdi, 2
lea rsi, [rax - 6]
jmp 0x1403d32c6
movzx r10d, word [rbx + 0x27a]
test r10d, r10d
jle 0x1403d32d0
jmp 0x1403d3274
mov r10, qword [rbx + 0x78]
lea rdi, [r10 + 4]
mov r10b, byte [r10 + 5]
jmp 0x1403d2590
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x1a8], eax
mov esi, 0x26
jmp 0x1403d2d8f
movzx eax, word [rbx + 0x27a]
test eax, eax
jmp 0x1403d2d14
mov edx, 4
jmp 0x1403d1e6e