Function at 0x140089ff4
Capabilities:
Encode data using base64
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov r12, rcx
lea rcx, [rax - 0x70]
call fcn.1400621f4
lea rcx, [rsp + 0x1e8]
xor ebp, ebp
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x178], rbp
call fcn.1400598f0
lea rcx, [rsp + 0xb8]
call fcn.1400621f4
lea rcx, [rsp + 0xd8]
call fcn.1400621f4
lea rcx, [rsp + 0x138]
call fcn.1400621f4
lea rcx, [rsp + 0x98]
call fcn.1400621f4
mov r11, qword [rsp + 0x1e8]
lea r13d, [rbp + 1]
lea r8d, [rbp + 0x2c]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x168]
mov r9b, r13b
mov qword [rsp + 0x58], r11
call fcn.14007d6e0
lea rdx, [rsp + 0xb8]
xor r8d, r8d
mov rcx, rax
call fcn.140066220
mov r9, qword [rsp + 0xb8]
mov rbx, rbp
movzx eax, word [r9]
mov byte [rsp + 0x80], bpl
mov byte [rsp + 0x48], bpl
mov sil, bpl
mov rcx, r9
mov qword [rsp + 0x1f8], rbx
lea edx, [rbp + 0x20]
lea r8d, [rbp + 9]
lea r14d, [rbp + 0xd]
lea r15d, [rbp + 2]
cmp ax, bp
je 0x14008a131
cmp r8w, ax
ja 0x14008a0fb
cmp ax, r14w
jbe 0x14008a100
cmp dx, ax
jne 0x14008a103
mov rbx, rcx
add rcx, r15
mov ax, word [rcx]
cmp ax, bp
jne 0x14008a0ef
mov qword [rsp + 0x1f8], rbx
cmp rbx, rbp
je 0x14008a131
mov word [rbx], bp
mov r9, qword [rsp + 0xb8]
add rbx, r15
mov qword [rsp + 0x1f8], rbx
mov qword [rsp + 0x1e8], r9
mov dword [rsp + 0x90], 6
mov edi, 0x2a
cmp rbx, rbp
je 0x14008a252
cmp di, word [r9]
jne 0x14008a252
mov ebx, edx
lea r12d, [rdi + 3]
cmp r12w, word [r9 + 2]
je 0x14008a23a
lea rdx, [rsp + 0x1e8]
lea rcx, str.nobom
mov r8d, 6
call fcn.140064cd0
cmp al, bpl
je 0x14008a196
mov byte [rsp + 0x48], r13b
jmp 0x14008a228
lea rdx, [rsp + 0x1e8]
lea rcx, str.transonly
mov r8d, 0xa
call fcn.140064cd0
cmp al, bpl
je 0x14008a1bf
mov byte [rsp + 0x80], r13b
jmp 0x14008a228
lea rdx, [rsp + 0x1e8]
lea rcx, [0x1401226c8]
mov r8d, 3
call fcn.140064cd0
cmp al, bpl
je 0x14008a1e3
mov sil, r13b
jmp 0x14008a228
mov rcx, qword [rsp + 0x1e8]
movzx eax, word [rcx]
cmp ax, bp
je 0x14008a21b
mov edx, 9
cmp dx, ax
ja 0x14008a203
cmp ax, r14w
jbe 0x14008a213
cmp bx, ax
je 0x14008a213
add rcx, r15
mov ax, word [rcx]
cmp ax, bp
jne 0x14008a1f8
mov qword [rsp + 0x1e8], rcx
lea rcx, [rsp + 0x1e8]
call fcn.1400598f0
mov r9, qword [rsp + 0x1e8]
cmp di, word [r9]
je 0x14008a162
mov r9, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x1f8]
mov r12, qword [rsp + 0x1e0]
mov byte [rsp + 0x75], bpl
mov dil, bpl
mov byte [rsp + 0x1f8], bpl
mov byte [rsp + 0x1e8], bpl
mov r14b, bpl
mov byte [rsp + 0x60], bpl
cmp rbx, rbp
je 0x14008a2bc
lea rcx, [rsp + 0xc0]
mov rdx, rbx
call fcn.14006e2a8
mov r11, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xb8]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb8], r11
call fcn.140059920
mov r9, qword [rsp + 0xb8]
cmp sil, bpl
je 0x14008b8be
lea rdx, [rsp + 0xb8]
xor r8d, r8d
mov rcx, r12
call fcn.140003a08
mov rax, qword [rsp + 0xb8]
or r14, 0xffffffffffffffff
lea edi, [r14 + 0x2b]
lea rcx, [rsp + 0x1e8]
mov qword [rsp + 0x50], r14
lea edx, [rdi + 0x52]
mov r8d, edi
mov qword [rsp + 0x1e8], rax
call fcn.140059af0
mov rcx, qword [rsp + 0x1e8]
cmp word [rcx], bp
je 0x14008a31b
mov word [rcx], bp
add rcx, r15
movzx edx, word [rcx]
mov r8d, 9
lea eax, [rdx - 0x30]
cmp ax, r8w
ja 0x14008a341
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140007bf8
mov rsi, rbp
jmp 0x14008a34a
neg dx
sbb rsi, rsi
and rsi, rcx
mov rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x98]
xor r9d, r9d
mov rcx, r12
mov byte [rsp + 0x20], r13b
call fcn.140079b4c
mov r11, qword [rsp + 0x98]
mov ebx, 0x2c
mov qword [rsp + 0x58], r11
mov r8, rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x158], rbp
cmp bx, word [r11]
jne 0x14008a39f
add r11, r15
mov qword [rsp + 0x58], r11
lea rcx, [rsp + 0x58]
call fcn.1400598f0
mov rcx, qword [rsp + 0x58]
mov r15w, word [rcx]
mov dword [rsp + 0x64], r15d
cmp r15w, bp
je 0x14008a5c6
mov edx, 0x2b
mov r10d, 0x3a3
lea eax, [rdx + 0x14]
lea r9d, [r10 - 3]
cmp dx, r15w
jne 0x14008a3ed
cmp dx, word [rcx + 2]
jne 0x14008a420
add rcx, 2
mov r15d, r10d
mov dword [rsp + 0x64], r10d
jmp 0x14008a420
cmp di, r15w
jne 0x14008a406
cmp di, word [rcx + 2]
jne 0x14008a420
mov r15w, r9w
add rcx, 2
mov dword [rsp + 0x64], r15d
cmp r9w, r15w
jne 0x14008a413
mov qword [rsp + 0x68], r13
jmp 0x14008a420
cmp ax, r15w
cmove r8, r14
mov qword [rsp + 0x68], r8
mov r11d, 2
add rcx, r11
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x58]
call fcn.1400598f0
mov r10, qword [rsp + 0x58]
mov eax, 0x3a9
cmp ax, r15w
lea edi, [r11 + 0x3d]
movzx r9d, r15w
cmove r9w, di
mov eax, 0x3a3
mov word [rsp + 0x1f8], r9w
cmp ax, r15w
je 0x14008a47c
mov eax, 0x3a0
cmp ax, r15w
je 0x14008a47c
cmp di, r9w
jne 0x14008a657
cmp bx, word [r10]
je 0x14008a661
lea rcx, [rsp + 0x58]
mov edx, ebx
mov r13, r10
mov qword [rsp + 0x148], r10
call fcn.1400e4d6c
mov r10, qword [rsp + 0x58]
cmp word [r10], bp
je 0x14008a4b9
mov word [r10], bp
mov r10, qword [rsp + 0x58]
add r10, r11
mov qword [rsp + 0x58], r10
cmp di, r9w
jne 0x14008a4ef
mov rbx, r13
cmp word [r13], bp
je 0x14008a4ed
mov eax, 0x2b
lea r9d, [rax + 2]
cmp ax, word [rbx]
je 0x14008a620
cmp r9w, word [rbx]
je 0x14008a616
add rbx, r11
cmp word [rbx], bp
jne 0x14008a4d2
mov ebx, edx
mov r13d, 1
mov eax, 0x2a
mov rdi, rbp
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0x128], rbp
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0xc8], 0xfffffffffffe0000
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x120], r13
mov qword [rsp + 0x100], rbp
mov dword [rsp + 0x1e8], ebp
cmp ax, word [r10]
jne 0x14008a566
add r10, r11
mov dword [rsp + 0x1e8], r13d
mov qword [rsp + 0x58], r10
mov eax, 0x26
lea rcx, [rsp + 0x58]
cmp ax, word [r10]
jne 0x14008a66e
mov eax, 3
mov edx, ebx
mov dword [rsp + 0x1e8], eax
call fcn.1400e4d6c
mov rcx, qword [rsp + 0x58]
cmp word [rcx], bp
je 0x14008a59f
mov word [rcx], bp
add qword [rsp + 0x58], r11
mov r9d, r14d
xor r8d, r8d
mov rdx, r10
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.140018934
mov qword [rsp + 0x100], rax
cmp rax, rbp
jne 0x14008a693
mov rbp, 0xffffffff80070057
lea rcx, [rsp + 0x98]
call fcn.140059920
lea rcx, [rsp + 0x138]
call fcn.140059920
lea rcx, [rsp + 0xd8]
call fcn.140059920
lea rcx, [rsp + 0xb8]
call fcn.140059920
lea rcx, [rsp + 0x168]
call fcn.140059920
mov rax, rbp
jmp 0x14008c920
mov qword [rsp + 0x1e8], rbx
jmp 0x14008a62c
lea rax, [rbx + 2]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x1e8]
call fcn.14006691c
mov word [rbx], bp
mov r10, qword [rsp + 0x58]
mov ebx, 0x2c
lea r11d, [rbx - 0x2a]
jmp 0x14008a4ef
cmp bx, word [r10]
jne 0x14008a4f5
add r10, r11
mov qword [rsp + 0x58], r10
jmp 0x14008a4f5
lea rdx, [rsp + 0xe0]
call fcn.140007bf8
cmp eax, ebp
jle 0x14008a5c6
mov rdi, qword [rsp + 0xe0]
mov qword [rsp + 0x110], rdi
mov ecx, 0x3e
lea edx, [rcx - 0x11]
cmp dx, r15w
jne 0x14008a6a7
lea r15d, [rcx - 0x13]
jmp 0x14008a6b6
mov eax, 0x3c
cmp ax, r15w
jne 0x14008a6c6
mov r15w, cx
neg rdi
mov dword [rsp + 0x64], r15d
mov qword [rsp + 0x110], rdi
mov rax, qword [rsp + 0x58]
mov r13d, ebp
mov ebx, 2
cmp dx, word [rax]
sete r13b
cmp r13d, ebp
je 0x14008a6e7
add rax, rbx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x58]
call fcn.140072234
cmp eax, ebp
jle 0x14008a5c6
cmp qword [rsp + 0x108], rbp
jle 0x14008a5c6
mov rax, qword [rsp + 0x108]
mov ecx, 0x40
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x58]
cmp cx, word [rax]
jne 0x14008a760
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x58]
call fcn.140072234
cmp eax, ebp
jle 0x14008a5c6
cmp qword [rsp + 0x120], rbp
jle 0x14008a5c6
mov rax, qword [rsp + 0x58]
mov ecx, 0x2f
cmp cx, word [rax]
jne 0x14008a79f
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x58]
call fcn.140072234
cmp eax, ebp
jle 0x14008a5c6
mov rax, qword [rsp + 0xe0]
cmp rax, rbp
mov qword [rsp + 0x40], rax
jle 0x14008a5c6
mov rax, qword [rsp + 0x58]
cmp word [rax], bp
je 0x14008a7ac
add rax, rbx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0xe0], rbp
call fcn.140007bf8
mov rdi, qword [rsp + 0xe0]
cmp rdi, rbp
jl 0x14008a5c6
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x58]
call fcn.140007bf8
lea rcx, [0x140138118]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0xb8]
mov r9d, r14d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.140018934
mov rbx, rax
cmp rax, rbp
je 0x14008aa1d
mov r15, rbp
cmp rsi, rbp
je 0x14008a83e
mov r9d, r14d
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.140018934
mov r15, rax
mov rsi, qword [rbx + 0x18]
movabs rcx, 0x3fffffffffffffff
and rsi, rcx
cmp rdi, rsi
jge 0x14008aa1d
cmp rsi, rbp
jle 0x14008aa1d
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rbx + 8]
mov rax, rsi
cmp r12, rbp
mov qword [rsp + 0xe0], rcx
cmovle r12, rsi
sub rax, rdi
cmp r12, rax
cmovg r12, rax
cmp rax, r12
cmovg rax, r12
cmp rax, rbp
mov qword [rsp + 0xf0], rax
jle 0x14008aa1d
mov edx, dword [rsp + 0x64]
lea rbx, [rcx + rdi]
mov ecx, 0x68
movzx eax, dx
lea r10d, [rcx + 7]
or ax, 0x20
cmp cx, ax
je 0x14008a8cd
lea ecx, [r10 - 1]
cmp cx, ax
je 0x14008a8cd
cmp r10w, ax
jne 0x14008a8d5
mov dx, r10w
mov dword [rsp + 0x64], edx
mov ecx, 0x5e
mov eax, 0x3a9
lea r11d, [rcx - 0x3b]
lea r9d, [rcx - 0x30]
lea r14d, [rcx - 0x5a]
cmp ax, dx
jne 0x14008a918
lea eax, [rcx - 0x55]
mov byte [rsp + 0x90], al
cmp r10w, dx
jne 0x14008aa2f
mov r13, qword [rsp + 0x110]
cmp rdi, r13
cmovg rdi, r13
jmp 0x14008aa37
mov eax, 0x3f
cmp ax, dx
jne 0x14008a92c
mov byte [rsp + 0x90], 8
jmp 0x14008a8fa
mov eax, 0x7c
cmp ax, dx
jne 0x14008a940
mov byte [rsp + 0x90], 7
jmp 0x14008a8fa
mov eax, 0x26
cmp ax, dx
je 0x14008a8fa
mov eax, 0x3a0
cmp ax, dx
jne 0x14008a95f
neg r13d
sbb al, al
and al, 5
add al, 5
jmp 0x14008a8f3
mov eax, 0x2a
cmp ax, dx
jne 0x14008a973
cmp r13d, ebp
setne al
add al, 0xb
jmp 0x14008a8f3
mov r8d, 0x2f
cmp r8w, dx
jne 0x14008a991
cmp r13d, ebp
je 0x14008a991
mov byte [rsp + 0x90], 0xf
jmp 0x14008a8fa
cmp cx, dx
sete al
movzx ecx, al
mov eax, 0x3e
cmp ax, dx
mov eax, 2
cmove ecx, eax
cmp r9w, dx
mov r9d, 0x2d
movzx eax, cl
mov ecx, 3
cmove eax, ecx
cmp r9w, dx
movzx ecx, al
lea eax, [r9 - 0x20]
cmove ecx, eax
movzx eax, cl
mov ecx, 0x3a3
cmp cx, dx
cmove eax, r14d
cmp r8w, dx
movzx ecx, al
lea eax, [r9 - 0x1f]
cmove ecx, eax
mov al, cl
mov dword [rsp + 0x90], eax
cmp al, bpl
jne 0x14008a8fa
lea eax, [r9 - 2]
cmp ax, dx
je 0x14008a8fa
cmp r11w, dx
je 0x14008a8fa
cmp r10w, dx
je 0x14008a904
lea rcx, [0x140138118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14008a5c6
mov r13, qword [rsp + 0x110]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x58]
call fcn.140007bf8
mov rax, qword [rsp + 0x128]
lea rdx, [rsp + 0xc8]
cmp rax, rbp
lea rcx, [rsp + 0x58]
cmove rax, r12
mov qword [rsp + 0x88], rax
call fcn.140007bf8
mov r12, qword [rsp + 0xc8]
cmp r12, rbp
jg 0x14008aab7
cmp r12, 0xfffffffffffe0000
je 0x14008aaab
mov rax, qword [rsp + 0x88]
mov rcx, rax
neg rcx
cmp rax, rbp
cmovge rcx, rax
sub rsi, rdi
mov rax, rsi
cqo
idiv rcx
mov r12, rax
cmp r12, rbp
mov eax, 1
cmovle r12, rax
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x58]
call fcn.140007bf8
mov rax, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
mov r8, qword [rsp + 0xe0]
movsxd rsi, dword [rsp + 0x1e8]
cmp rax, rbp
cmove rax, qword [rsp + 0x88]
mov ecx, edx
mov r10d, 2
mov qword [rsp + 0x190], rax
mov eax, edx
mov qword [rsp + 0x140], rbx
and eax, 7
sub ecx, eax
mov dword [rsp + 0xe8], eax
mov dword [rsp + 0x154], ecx
lea rcx, [r8 + r13]
mov qword [rsp + 0xa8], rcx
test r10b, sil
je 0x14008ab47
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
mov qword [rsp + 0xa8], rcx
mov rax, qword [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0xd0], rbx
cmp rax, rbp
jl 0x14008ab68
lea rcx, [r8 + rax]
mov qword [rsp + 0xd0], rcx
cmp r15, rbp
je 0x14008ab79
mov rcx, qword [r15 + 8]
mov qword [rsp + 0xd0], rcx
movzx r8d, word [rsp + 0x108]
mov r9, qword [rsp + 0x120]
mov r15d, dword [rsp + 0x64]
lea eax, [r9 + r9]
mov rdi, rcx
mov dword [rsp + 0xa0], r13d
mov dword [rsp + 0xec], eax
mov rax, rdx
mov word [rsp + 0x80], r13w
cqo
mov byte [rsp + 0x1e8], r13b
idiv r8
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x198], rdx
mov rax, r8
cqo
idiv r9
lea rcx, [rax - 1]
cqo
sub rax, rdx
mov qword [rsp + 0x180], rcx
sar rax, 1
mov qword [rsp + 0x128], rax
imul rcx, r9
mov qword [rsp + 0xf8], rcx
mov rcx, rax
mov rax, r8
imul rcx, r9
sub rax, rcx
cmp r8, r10
setge cl
cmp r8, r14
mov qword [rsp + 0x100], rax
movzx edx, cl
mov ecx, 3
cmovge edx, r10d
cmp r8, 8
movzx eax, dl
cmovge eax, ecx
mov dword [rsp + 0x150], eax
lea eax, [rcx + 0x3b]
cmp ax, r15w
je 0x14008ac72
lea eax, [rcx + 0x2b]
cmp ax, r15w
je 0x14008ac72
lea eax, [rcx + 0x23]
cmp ax, r15w
je 0x14008ac72
lea eax, [rcx + 0x79]
cmp ax, r15w
je 0x14008ac72
lea eax, [rcx + 0x3c]
cmp ax, word [rsp + 0x1f8]
mov byte [rsp + 0x1f8], 1
jne 0x14008ac7a
mov byte [rsp + 0x1f8], bpl
lea rcx, [rsp + 0x118]
mov rdx, r8
call fcn.140061f7c
mov rcx, qword [rsp + 0x40]
movzx r8d, word [rsp + 0x108]
mov r11d, dword [rsp + 0xe8]
mov r10d, ecx
mov qword [rsp + 0x50], rsi
sub r10d, r8d
sub r12, 1
mov qword [rsp + 0xc8], r12
mov dword [rsp + 0x70], r10d
js 0x14008b876
mov r9, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xd0]
mov esi, 0x23
cmp si, r15w
jne 0x14008ae53
cmp r10d, ebp
je 0x14008adcc
mov rcx, qword [rsp + 0xa8]
mov rdx, r9
add r9, r14
cmp rcx, r9
jae 0x14008b869
mov rcx, qword [rsp + 0x40]
lea r10d, [r8 - 1]
mov r12d, 1
cmp r10d, ebp
mov r8d, r10d
jl 0x14008ad40
mov al, byte [rbx]
mov cl, byte [rdx]
mov byte [rdx], al
mov byte [rbx], cl
add rbx, r12
add rdx, r12
sub r8d, r12d
jns 0x14008ad28
mov rcx, qword [rsp + 0x40]
add rdx, rcx
add rbx, rcx
cmp rdx, r9
jb 0x14008ad20
mov r12, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xd0]
mov r10d, dword [rsp + 0x70]
mov r8, qword [rsp + 0x190]
mov rbx, qword [rsp + 0x140]
add r9, rax
add rdx, r8
add rbx, r8
sub r12, 1
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0xd0], rdx
mov rdi, rdx
mov qword [rsp + 0xa8], r9
js 0x14008b876
mov r13, qword [rsp + 0x110]
movzx r8d, word [rsp + 0x108]
jmp 0x14008ace7
mov rdi, qword [rsp + 0xa8]
movsxd r8, dword [rsp + 0x154]
add r8, rdi
mov rdx, rdi
cmp rdi, r8
jae 0x14008ae05
mov rax, qword [rbx]
mov rcx, qword [rdx]
mov qword [rdx], rax
add rdx, 8
mov qword [rbx], rcx
add rbx, 8
cmp rdx, r8
jb 0x14008ade7
mov rcx, qword [rsp + 0x40]
movsxd rax, r11d
cmp rax, rbp
jle 0x14008ae3b
lea r8d, [r11 - 1]
cmp r8d, ebp
jl 0x14008ae3b
sub rbx, rdx
mov r15d, 1
mov al, byte [rdx]
mov cl, byte [rbx + rdx]
mov byte [rbx + rdx], al
mov byte [rdx], cl
add rdx, r15
sub r8d, r15d
jns 0x14008ae1f
mov r15d, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x88]
mov r9, rdi
mov rdx, qword [rsp + 0xd0]
jmp 0x14008ad70
mov r8d, 0x6f
cmp r8w, r15w
jne 0x14008b0c5
cmp r10d, ebp
je 0x14008afaf
mov r9, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xa8]
mov rax, r9
lea r14, [rdi + r9]
mov rsi, rdi
cqo
mov qword [rsp + 0x130], r14
idiv rcx
lea r8, [rax - 1]
imul r8, rcx
add r8, rbx
cmp rdi, r14
jae 0x14008b844
mov r15, qword [rsp + 0x128]
mov rax, qword [rsp + 0x180]
movsxd r12, r10d
cmp rax, rbp
mov r10, rax
jl 0x14008af5c
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x120]
lea r13, [r15 - 1]
movsxd r15, dword [rsp + 0xec]
cmp r13, rbp
lea r8, [rcx + rbx]
mov r9, r13
jl 0x14008af3b
lea edi, [r14 - 1]
mov r14d, 1
cmp edi, ebp
mov edx, edi
jl 0x14008af1b
mov al, byte [r8]
mov cl, byte [rbx]
mov byte [rbx], al
mov byte [r8], cl
add r8, r14
add rbx, r14
sub edx, r14d
jns 0x14008af06
sub r8, r15
sub r9, r14
jns 0x14008af00
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x120]
add rbx, rax
sub r10, 1
jns 0x14008aeea
mov r14, qword [rsp + 0x130]
mov r15, qword [rsp + 0x128]
mov rax, qword [rsp + 0x180]
add rsi, r12
sub r8, r12
cmp rsi, r14
jb 0x14008aeba
mov r15d, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x40]
mov r12, qword [rsp + 0xc8]
mov r9, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xd0]
mov r11d, dword [rsp + 0xe8]
mov esi, 0x23
jmp 0x14008ad6b
mov edi, 1
cmp qword [rsp + 0x120], rdi
jg 0x14008b02e
mov r9, qword [rsp + 0x188]
dec r9
cmp r9, rbp
jl 0x14008b837
mov r10, qword [rsp + 0x128]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
dec r10
cmp r10, rbp
lea rdx, [rcx + rbx]
mov r8, r10
jl 0x14008b01c
mov al, byte [rdx]
mov cl, byte [rbx]
mov byte [rbx], al
mov byte [rdx], cl
sub rdx, rdi
add rbx, rdi
sub r8, rdi
jns 0x14008aff9
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
add rbx, rax
sub r9, rdi
jns 0x14008afed
mov rcx, qword [rsp + 0x40]
jmp 0x14008ad53
mov r10, qword [rsp + 0x188]
dec r10
cmp r10, rbp
jl 0x14008ad6b
movsxd rsi, dword [rsp + 0x128]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
movsxd r15, dword [rsp + 0xec]
mov r14, qword [rsp + 0x120]
dec rsi
cmp rsi, rbp
lea rdx, [rcx + rbx]
mov r9, rsi
jl 0x14008b0b8
lea edi, [r14 - 1]
mov r12d, 1
cmp edi, ebp
mov r8d, edi
jl 0x14008b09d
mov al, byte [rdx]
mov cl, byte [rbx]
mov byte [rbx], al
mov byte [rdx], cl
add rdx, r12
add rbx, r12
sub r8d, r12d
jns 0x14008b08a
sub rdx, r15
sub r9, r12
jns 0x14008b083
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
mov rdi, r12
add rbx, rax
sub r10, rdi
jns 0x14008b06d
jmp 0x14008af6b
mov rax, qword [rsp + 0x198]
movzx ecx, byte [rsp + 0x150]
mov r10, rbx
mov r14d, eax
cdqe
mov sil, r13b
sub r10, rax
mov r11d, ebp
mov qword [rsp + 0x130], rbp
add r10, qword [rsp + 0xf0]
mov qword [rsp + 0xc0], rbp
mov r12, r9
mov dword [rsp + 0x160], ecx
mov edx, 1
sub ecx, edx
je 0x14008b627
sub ecx, edx
je 0x14008b48b
cmp ecx, edx
mov rcx, qword [rsp + 0x40]
je 0x14008b2ce
and sil, 7
lea r9d, [rdx + 7]
sub r9b, sil
cmp rbx, r10
jae 0x14008b7bd
movzx r8d, byte [rsp + 0x90]
mov rax, qword [rsp + 0x50]
cmp rax, rbp
je 0x14008b161
mov dl, byte [r12]
add r12, rcx
mov byte [rsp + 0x1e8], dl
jmp 0x14008b168
mov dl, byte [rsp + 0x1e8]
cmp r8d, 8
jg 0x14008b241
je 0x14008b221
mov ecx, r8d
cmp r8d, ebp
je 0x14008b21b
mov eax, 1
sub ecx, eax
je 0x14008b201
sub ecx, eax
je 0x14008b1ef
sub ecx, eax
je 0x14008b1e8
sub ecx, eax
je 0x14008b1da
sub ecx, eax
je 0x14008b1c4
sub ecx, eax
je 0x14008b1b9
cmp ecx, eax
mov rcx, qword [rsp + 0x40]
jne 0x14008b2b5
mov al, dl
or al, byte [rbx]
mov byte [rdi], al
jmp 0x14008b2b5
mov al, dl
and al, byte [rbx]
mov byte [rdi], al
jmp 0x14008b2b0
movzx eax, byte [rbx]
mov rcx, qword [rsp + 0x68]
imul rcx, rax
mov qword [rsp + 0x68], rcx
jmp 0x14008b2b0
movsx rax, byte [rbx]
add qword [rsp + 0x68], rax
jmp 0x14008b2b0
mov byte [rbx], dl
jmp 0x14008b2b0
mov dl, byte [rbx]
mov cl, r9b
mov al, dl
shl al, cl
mov cl, sil
shr dl, cl
or al, dl
jmp 0x14008b1bd
mov rcx, qword [rsp + 0x40]
mov eax, 0x5e
cmp ax, r15w
jne 0x14008b2b5
mov al, dl
xor al, byte [rbx]
jmp 0x14008b1b2
mov al, dl
add al, byte [rbx]
jmp 0x14008b1bd
test byte [rbx], dl
je 0x14008b2ba
mov rax, rbx
sub rax, qword [rsp + 0xe0]
add rax, qword [rsp + 0x158]
jmp 0x14008b87b
mov ecx, r8d
sub ecx, 9
je 0x14008b2a7
mov eax, 1
sub ecx, eax
je 0x14008b29e
sub ecx, eax
je 0x14008b28f
sub ecx, eax
je 0x14008b295
sub ecx, eax
je 0x14008b286
sub ecx, eax
je 0x14008b268
cmp ecx, eax
je 0x14008b273
jmp 0x14008b2b0
movzx eax, byte [rbx]
movzx ecx, dl
cdq
idiv ecx
mov byte [rdi], al
movsx eax, byte [rbx]
movsx ecx, byte [rsp + 0x1e8]
cdq
idiv ecx
jmp 0x14008b1bd
mov al, byte [rbx]
sub al, dl
jmp 0x14008b1bd
mov al, byte [rbx]
imul dl
mov byte [rdi], al
mov al, byte [rbx]
imul dl
jmp 0x14008b1bd
movsx rax, byte [rbx]
jmp 0x14008b1c7
test byte [rbx], dl
je 0x14008b2b0
inc qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
add rbx, rcx
add rdi, rcx
cmp rbx, r10
jb 0x14008b14c
jmp 0x14008b7bd
and sil, 0x3f
mov r9d, 0x40
sub r9b, sil
cmp rbx, r10
jae 0x14008b7bd
movzx r8d, byte [rsp + 0x90]
mov rax, qword [rsp + 0x50]
cmp rax, rbp
je 0x14008b306
mov r13, qword [r12]
add r12, rcx
mov qword [rsp + 0x110], r13
cmp r8d, 8
jg 0x14008b404
je 0x14008b3de
mov ecx, r8d
cmp r8d, ebp
je 0x14008b3ce
sub ecx, edx
je 0x14008b3b2
sub ecx, edx
je 0x14008b38c
sub ecx, edx
je 0x14008b384
sub ecx, edx
je 0x14008b37a
sub ecx, edx
je 0x14008b367
sub ecx, edx
je 0x14008b359
cmp ecx, edx
mov rcx, qword [rsp + 0x40]
jne 0x14008b472
mov rax, r13
or rax, qword [rbx]
mov qword [rdi], rax
jmp 0x14008b472
mov rax, r13
and rax, qword [rbx]
mov qword [rdi], rax
jmp 0x14008b46d
mov rax, qword [rsp + 0x68]
imul rax, qword [rbx]
mov qword [rsp + 0x68], rax
jmp 0x14008b46d
mov rax, qword [rsp + 0x68]
add rax, qword [rbx]
jmp 0x14008b370
mov qword [rbx], r13
jmp 0x14008b46d
mov rdx, qword [rbx]
mov cl, r9b
mov rax, rdx
shl rax, cl
mov cl, byte [rsp + 0x1e8]
shr rdx, cl
or rax, rdx
mov qword [rdi], rax
mov edx, 1
jmp 0x14008b46d
mov rcx, qword [rsp + 0x40]
mov eax, 0x5e
cmp ax, r15w
jne 0x14008b472
mov rax, r13
xor rax, qword [rbx]
jmp 0x14008b351
mov rax, qword [rbx]
lea rcx, [r13 + rax]
mov qword [rdi], rcx
jmp 0x14008b46d
test qword [rbx], r13
je 0x14008b477
sub rbx, qword [rsp + 0xe0]
movzx ecx, word [rsp + 0x108]
mov rax, rbx
cqo
idiv rcx
jmp 0x14008b234
mov ecx, r8d
sub ecx, 9
je 0x14008b463
sub ecx, edx
je 0x14008b367
sub ecx, edx
je 0x14008b44d
sub ecx, edx
je 0x14008b457
sub ecx, edx
je 0x14008b442
sub ecx, edx
je 0x14008b42a
cmp ecx, edx
je 0x14008b435
jmp 0x14008b46d
mov rax, qword [rbx]
xor edx, edx
div r13
mov qword [rdi], rax
mov rax, qword [rbx]
cqo
idiv r13
jmp 0x14008b3a5
mov rax, qword [rbx]
sub rax, r13
jmp 0x14008b35f
mov rax, r13
imul rax, qword [rbx]
mov qword [rdi], rax
mov rax, r13
imul rax, qword [rbx]
jmp 0x14008b35f
test qword [rbx], r13
je 0x14008b46d
add qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
add rbx, rcx
add rdi, rcx
cmp rbx, r10
jb 0x14008b2f2
jmp 0x14008b7bd
mov rcx, qword [rsp + 0x40]
and sil, 0x1f
mov r9d, 0x20
sub r9b, sil
cmp rbx, r10
jae 0x14008b7bd
movzx r8d, byte [rsp + 0x90]
mov rax, qword [rsp + 0x50]
cmp rax, rbp
je 0x14008b4c9
mov edx, dword [r12]
add r12, rcx
mov dword [rsp + 0xa0], edx
jmp 0x14008b4d0
mov edx, dword [rsp + 0xa0]
cmp r8d, 8
jg 0x14008b594
je 0x14008b58a
mov ecx, r8d
cmp r8d, ebp
je 0x14008b581
mov eax, 1
sub ecx, eax
je 0x14008b567
sub ecx, eax
je 0x14008b555
sub ecx, eax
je 0x14008b54e
sub ecx, eax
je 0x14008b541
sub ecx, eax
je 0x14008b52c
sub ecx, eax
je 0x14008b521
cmp ecx, eax
mov rcx, qword [rsp + 0x40]
jne 0x14008b60e
mov eax, edx
or eax, dword [rbx]
mov dword [rdi], eax
jmp 0x14008b60e
mov eax, edx
and eax, dword [rbx]
mov dword [rdi], eax
jmp 0x14008b609
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x68]
imul rcx, rax
mov qword [rsp + 0x68], rcx
jmp 0x14008b609
movsxd rax, dword [rbx]
add qword [rsp + 0x68], rax
jmp 0x14008b609
mov dword [rbx], edx
jmp 0x14008b609
mov edx, dword [rbx]
mov cl, sil
mov eax, edx
shr eax, cl
mov cl, r9b
shl edx, cl
or eax, edx
jmp 0x14008b525
mov rcx, qword [rsp + 0x40]
mov eax, 0x5e
cmp ax, r15w
jne 0x14008b60e
mov eax, edx
xor eax, dword [rbx]
jmp 0x14008b51a
mov eax, dword [rbx]
lea ecx, [rdx + rax]
mov dword [rdi], ecx
jmp 0x14008b609
test dword [rbx], edx
jne 0x14008b3e7
jmp 0x14008b613
mov ecx, r8d
sub ecx, 9
je 0x14008b600
mov eax, 1
sub ecx, eax
je 0x14008b5f8
sub ecx, eax
je 0x14008b5e7
sub ecx, eax
je 0x14008b5ee
sub ecx, eax
je 0x14008b5de
mov rdx, rax
sub ecx, edx
je 0x14008b5cd
cmp ecx, edx
jne 0x14008b609
mov ecx, dword [rsp + 0xa0]
mov eax, dword [rbx]
cdq
idiv ecx
jmp 0x14008b525
mov eax, dword [rbx]
mov ecx, dword [rsp + 0xa0]
xor edx, edx
div ecx
mov dword [rdi], eax
jmp 0x14008b5c3
mov eax, dword [rbx]
sub eax, edx
jmp 0x14008b525
mov eax, edx
imul eax, dword [rbx]
mov dword [rdi], eax
mov eax, edx
imul eax, dword [rbx]
jmp 0x14008b525
movsxd rax, dword [rbx]
jmp 0x14008b52e
test dword [rbx], edx
je 0x14008b609
inc qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
add rbx, rcx
add rdi, rcx
cmp rbx, r10
jb 0x14008b4b4
jmp 0x14008b7bd
mov rcx, qword [rsp + 0x40]
and sil, 0xf
mov r9d, 0x10
sub r9b, sil
cmp rbx, r10
jae 0x14008b7bd
movzx r8d, byte [rsp + 0x90]
cmp qword [rsp + 0x50], rbp
je 0x14008b664
movzx edx, word [r12]
add r12, rcx
mov word [rsp + 0x80], dx
jmp 0x14008b66c
mov dx, word [rsp + 0x80]
cmp r8d, 8
jg 0x14008b73b
je 0x14008b72b
mov ecx, r8d
cmp r8d, ebp
je 0x14008b717
mov eax, 1
sub ecx, eax
je 0x14008b700
sub ecx, eax
je 0x14008b6e9
sub ecx, eax
je 0x14008b6e1
sub ecx, eax
je 0x14008b6d3
sub ecx, eax
je 0x14008b6bd
sub ecx, eax
je 0x14008b6b5
cmp ecx, eax
jne 0x14008b7a9
movzx eax, dx
or ax, word [rbx]
jmp 0x14008b726
movzx eax, dx
and ax, word [rbx]
jmp 0x14008b726
movzx eax, word [rbx]
mov rcx, qword [rsp + 0x68]
imul rcx, rax
mov qword [rsp + 0x68], rcx
jmp 0x14008b7a9
movsx rax, word [rbx]
add qword [rsp + 0x68], rax
jmp 0x14008b7a9
mov word [rbx], dx
jmp 0x14008b7a9
movzx edx, word [rbx]
mov cl, sil
movzx eax, dx
shr ax, cl
mov cl, r9b
shl dx, cl
or ax, dx
jmp 0x14008b726
mov eax, 0x5e
cmp ax, r15w
jne 0x14008b7a9
movzx eax, dx
xor ax, word [rbx]
jmp 0x14008b726
movzx eax, dx
add ax, word [rbx]
mov word [rdi], ax
movzx eax, word [rbx]
sub ax, dx
mov word [rdi], ax
jmp 0x14008b7a9
movzx eax, word [rbx]
movsx ecx, dx
test eax, ecx
jne 0x14008b3e7
jmp 0x14008b7a9
mov ecx, r8d
sub ecx, 9
je 0x14008b79a
mov eax, 1
sub ecx, eax
je 0x14008b791
sub ecx, eax
je 0x14008b77e
sub ecx, eax
je 0x14008b788
sub ecx, eax
je 0x14008b720
sub ecx, eax
je 0x14008b762
cmp ecx, eax
je 0x14008b76e
jmp 0x14008b7a9
movzx eax, word [rbx]
movzx ecx, dx
cdq
idiv ecx
mov word [rdi], ax
movsx eax, word [rbx]
movsx ecx, word [rsp + 0x80]
cdq
idiv ecx
jmp 0x14008b726
movzx eax, dx
imul ax, word [rbx]
mov word [rdi], ax
movzx eax, dx
imul ax, word [rbx]
jmp 0x14008b726
movsx rax, word [rbx]
jmp 0x14008b6c0
movzx eax, word [rbx]
movsx ecx, dx
test eax, ecx
je 0x14008b7a9
inc qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
add rbx, rcx
add rdi, rcx
cmp rbx, r10
jb 0x14008b64b
cmp r14d, ebp
jle 0x14008b811
cmp byte [rsp + 0x1f8], bpl
je 0x14008b811
lea rcx, [rsp + 0xc0]
movsxd r8, r14d
mov rdx, rbx
call fcn.14001d8e0
movzx eax, word [rsp + 0x108]
mov ecx, dword [rsp + 0x160]
mov qword [rsp + 0x130], rbx
mov r11d, r14d
lea r10, [rsp + rax + 0xc0]
mov r14d, ebp
lea rbx, [rsp + 0xc0]
jmp 0x14008b108
cmp r11d, ebp
je 0x14008af75
mov rcx, qword [rsp + 0x130]
lea rdx, [rsp + 0xc0]
movsxd r8, r11d
call fcn.14001d8e0
jmp 0x14008af70
mov r9, qword [rsp + 0xa8]
jmp 0x14008ad70
mov r14, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xd0]
mov r9, rsi
mov esi, 0x23
jmp 0x14008ad70
mov r9, rcx
mov rcx, qword [rsp + 0x40]
jmp 0x14008ae46
mov rax, qword [rsp + 0x68]
mov r8, qword [rsp + 0x148]
cmp r8, rbp
je 0x14008b89f
mov rcx, qword [rsp + 0x1e0]
lea r9, str._I64d
mov rdx, rax
call fcn.1400654b8
lea rcx, [rsp + 0x118]
call fcn.140059920
lea rcx, [0x140138118]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14008a5cd
mov rax, qword [rsp + 0x58]
mov esi, 0x2c
lea rcx, [rax + 2]
mov qword [rsp + 0x118], rcx
cmp si, word [rax]
jne 0x14008b964
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x168]
mov r8d, esi
mov r9b, r13b
call fcn.14007d6e0
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov rcx, rax
call fcn.14006634c
mov rax, qword [rsp + 0x58]
mov r9, qword [rsp + 0xb8]
cmp si, word [rax]
jne 0x14008b964
mov rbx, r15
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x168]
add rax, rbx
mov r8d, esi
mov r9b, r13b
mov qword [rsp + 0x58], rax
call fcn.14007d6e0
lea rdx, [rsp + 0x138]
mov rcx, rax
xor r8d, r8d
call fcn.140066220
mov r9, qword [rsp + 0xb8]
mov rax, qword [rsp + 0x58]
jmp 0x14008b967
mov rbx, r15
cmp si, word [rax]
jne 0x14008b9a7
add rax, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x168]
mov r8d, esi
mov r9b, r13b
mov qword [rsp + 0x58], rax
call fcn.14007d6e0
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.140066220
mov r9, qword [rsp + 0xb8]
cmp word [r9], bp
je 0x14008c8dc
mov rax, qword [rsp + 0xd8]
cmp word [rax], bp
je 0x14008c8dc
mov r10, qword [rsp + 0x138]
cmp word [r10], bp
je 0x14008c8dc
mov rax, qword [rsp + 0x98]
cmp word [rax], bp
je 0x14008c8dc
mov esi, 0x2a
mov r13d, ebp
mov dword [rsp + 0x94], ebp
mov dword [rsp + 0xb0], ebp
mov r15d, ebp
mov r12d, ebp
mov qword [rsp + 0x88], r13
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0x64], ebp
mov r11, rbp
mov byte [rsp + 0x74], bpl
cmp si, word [r9]
jne 0x14008ba71
cmp si, word [r9 + 2]
jne 0x14008ba59
mov r12b, byte [r9]
add r9, 4
mov byte [rsp + 0x1f8], bl
mov byte [rsp + 0x75], r12b
mov dil, r12b
mov r12d, ebp
cmp si, word [r9]
jne 0x14008ba71
add r9, rbx
mov byte [rsp + 0x1f8], 3
jmp 0x14008ba71
cmp si, word [r9]
jne 0x14008ba71
mov r12b, byte [r9]
add r9, 2
mov byte [rsp + 0x75], r12b
mov dil, r12b
mov r12d, ebp
mov eax, 0x2d
cmp ax, word [r9]
jne 0x14008ba82
mov dil, byte [r9]
add r9, rbx
cmp dil, bpl
je 0x14008a5c6
lea rcx, [0x1401226c4]
mov rdx, r9
call fcn.14005af40
mov edi, 0x4b1
cmp al, bpl
je 0x14008bab3
mov edi, 1
mov byte [rsp + 0x74], dil
jmp 0x14008bc0a
lea rcx, str.ANSI
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008bad9
mov qword [rsp + 0x88], r13
mov edi, 1
jmp 0x14008bc0a
lea rcx, [0x1401226c0]
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008baf5
mov r13d, 0x3a8
jmp 0x14008bac7
lea rcx, [0x1401226b8]
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008bb11
mov r13d, 0x3b6
jmp 0x14008bac7
lea rcx, [0x140118b80]
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008bb40
mov r9d, 0xfde9
mov edi, 1
mov r13d, r9d
mov qword [rsp + 0x88], r13
jmp 0x14008bc10
lea rcx, str.UTF7
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008bb5f
mov r13d, 0xfde8
jmp 0x14008bac7
lea rcx, [0x1401226a8]
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008bb83
mov edi, 1
mov r15d, 0x4b0
jmp 0x14008bc0a
lea rcx, [0x140118b74]
mov rdx, r9
call fcn.14005af40
cmp al, bpl
jne 0x14008bb73
lea rcx, str.UNICODEB
mov rdx, r9
call fcn.14005af40
cmp al, bpl
je 0x14008bbb3
mov r15d, edi
jmp 0x14008bacf
lea rcx, str.UNIB
mov rdx, r9
call fcn.14005af40
cmp al, bpl
jne 0x14008bbab
movzx eax, word [r9]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x14008bbf1
mov rcx, r9
call fcn.1400636ac
mov r13, rax
mov qword [rsp + 0x88], rax
jmp 0x14008bacf
cmp word [r9], bp
jne 0x14008a5c6
mov edi, 1
mov r15d, edi
mov r12d, edi
mov dword [rsp + 0x70], edi
mov r9d, 0xfde9
cmp si, word [r10]
jne 0x14008bc48
cmp si, word [r10 + 2]
jne 0x14008bc2b
mov r12b, byte [r10]
add r10, 4
mov byte [rsp + 0x60], r12b
jmp 0x14008bc38
cmp si, word [r10]
jne 0x14008bc48
mov r12b, byte [r10]
add r10, 2
mov byte [rsp + 0x1e8], r12b
mov r14b, r12b
mov r12d, dword [rsp + 0x70]
mov eax, 0x2d
cmp ax, word [r10]
jne 0x14008bc59
mov r14b, byte [r10]
add r10, rbx
cmp r14b, bpl
je 0x14008a5c6
lea rcx, str.ANSI
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bc82
mov dword [rsp + 0x94], ebp
jmp 0x14008bdd5
lea rcx, [0x1401226c0]
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bca6
mov dword [rsp + 0x94], 0x3a8
jmp 0x14008bdd5
lea rcx, [0x1401226b8]
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bcca
mov dword [rsp + 0x94], 0x3b6
jmp 0x14008bdd5
lea rcx, [0x140118b80]
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bcfa
mov dword [rsp + 0x94], r9d
lea r11, [0x14011f030]
mov dword [rsp + 0x64], 3
jmp 0x14008bdd5
lea rcx, str.UTF7
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bd1e
mov dword [rsp + 0x94], 0xfde8
jmp 0x14008bdd5
lea rcx, [0x1401226a8]
mov rdx, r10
call fcn.14005af40
cmp al, bpl
jne 0x14008bd46
lea rcx, [0x140118b74]
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bd5a
mov dword [rsp + 0xb0], 0x4b0
lea r11, [0x14011f028]
jmp 0x14008bd94
lea rcx, str.UNICODEB
mov rdx, r10
call fcn.14005af40
cmp al, bpl
jne 0x14008bd82
lea rcx, str.UNIB
mov rdx, r10
call fcn.14005af40
cmp al, bpl
je 0x14008bd9a
mov dword [rsp + 0xb0], 0x4b1
lea r11, [0x14011f02c]
mov dword [rsp + 0x64], ebx
jmp 0x14008bdd5
movzx eax, word [r10]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x14008bdbd
mov rcx, r10
call fcn.1400636ac
mov dword [rsp + 0x94], eax
jmp 0x14008bdd5
cmp word [r10], bp
jne 0x14008a5c6
mov dword [rsp + 0xb0], edi
mov dword [rsp + 0xa0], edi
cmp byte [rsp + 0x48], bpl
lea rcx, [rsp + 0x78]
mov rbx, rbp
cmovne r11, rbp
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x130], r11
call fcn.140061f18
or r14, 0xffffffffffffffff
mov rsi, rbp
cmp byte [rsp + 0x75], bpl
jne 0x14008c0d5
mov rax, qword [rsp + 0x118]
lea r8d, [r14 + 0x2d]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x168]
mov r9b, dil
mov qword [rsp + 0x1f8], rbp
mov qword [rsp + 0x58], rax
call fcn.14007d6e0
lea rdx, [rsp + 0xd8]
mov rcx, rax
xor r8d, r8d
call fcn.140066220
mov rcx, qword [rsp + 0xd8]
call fcn.14001be3c
mov qword [rsp + 0x38], rbp
lea ecx, [r14 + 4]
mov dword [rsp + 0x30], 0x80
mov dword [rsp + 0x28], ecx
lea r9d, [r14 + 8]
lea rcx, [rsp + 0x1f8]
mov r8d, 0x80000000
mov rdx, rax
mov qword [rsp + 0x20], rbp
call fcn.14000384c
mov rdi, qword [rsp + 0x1f8]
cmp rdi, rbp
jne 0x14008beb0
lea rcx, [rsp + 0x78]
call fcn.140059920
mov ebp, 1
jmp 0x14008a5cd
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.14005adf0
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.14005adf0
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov r12, rax
call fcn.14005adf0
lea r11d, [r12 + 0xa]
lea rcx, [rsp + 0x78]
movsxd rdx, r11d
call fcn.140061ff8
mov r11, qword [rsp + 0x78]
lea r9, [rsp + 0xec]
mov byte [r11 + 2], bpl
mov rcx, qword [rsp + 0x78]
mov r8d, r12d
mov byte [rcx + 1], bpl
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], rbp
mov byte [rcx], bpl
mov rdx, qword [rsp + 0x78]
or dword [rsp + 0xec], 0xffffffff
mov rcx, rdi
mov qword [rsp + 0x1f8], rdx
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0xec]
cmp rsi, rbp
jge 0x14008bf5e
or r14, 0xffffffffffffffff
cmp rdi, r14
je 0x14008be9c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008be9c
mov rax, qword [rsp + 0x78]
mov r11b, byte [rsp + 0x74]
mov r9d, ebp
mov byte [rsi + rax + 2], bpl
mov rax, qword [rsp + 0x78]
mov byte [rsi + rax + 1], bpl
mov rax, qword [rsp + 0x78]
mov byte [rsi + rax], bpl
cmp r11b, bpl
jne 0x14008bf91
cmp r15d, 0x4b0
jne 0x14008bfc6
mov r10, qword [rsp + 0x1f8]
lea rdx, [0x14011f028]
mov r8d, 2
mov rcx, r10
call fcn.140059950
cmp eax, ebp
jne 0x14008bfbf
mov eax, 2
mov r15d, 0x4b0
jmp 0x14008c03e
cmp r11b, bpl
jne 0x14008bfd7
jmp 0x14008bfce
mov r10, qword [rsp + 0x1f8]
cmp r15d, 0x4b1
jne 0x14008c002
lea rdx, [0x14011f02c]
mov r8d, 2
mov rcx, r10
call fcn.140059950
cmp eax, ebp
jne 0x14008bffd
mov eax, 2
mov r15d, 0x4b1
jmp 0x14008c03e
cmp r11b, bpl
jne 0x14008c00f
mov r11d, 0xfde9
cmp r13d, r11d
jne 0x14008c067
jmp 0x14008c015
mov r11d, 0xfde9
lea rdx, [0x14011f030]
mov r8d, 3
mov rcx, r10
call fcn.140059950
cmp eax, ebp
jne 0x14008c067
mov r13d, r11d
mov eax, 3
mov qword [rsp + 0x88], r13
mov dword [rsp + 0x1f8], eax
cdqe
mov r8d, 3
sub r12, rax
lea rdx, [rax + r10]
mov rcx, r10
add r8, r12
call fcn.14001d898
mov r9d, dword [rsp + 0x1f8]
movsxd rax, r9d
sub rsi, rax
cmovs rsi, rbp
cmp rdi, r14
je 0x14008c07f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, bl
cmp rsi, rbp
mov r12, qword [rsp + 0x78]
jl 0x14008be9c
mov r10d, 3
cmp byte [rsp + 0x74], bpl
je 0x14008c2b3
cmp dil, bpl
je 0x14008c2b3
mov r9d, 2
lea rdx, [0x14011f028]
mov rcx, r12
mov r8, r9
call fcn.140059950
cmp eax, ebp
jne 0x14008c270
mov r15d, 0x4b0
jmp 0x14008c2b3
cmp byte [rsp + 0x1f8], bpl
je 0x14008c225
mov r12, qword [rsp + 0x1e0]
lea rdx, [rsp + 0xd8]
xor r8d, r8d
mov rcx, r12
call fcn.140003a08
mov rdi, qword [rsp + 0xd8]
mov ecx, 9
movzx eax, word [rdi]
sub ax, 0x30
cmp ax, cx
ja 0x14008c16c
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x148]
mov qword [rsp + 0x148], rdi
call fcn.14006691c
cmp eax, ebp
je 0x14008c16c
mov rax, qword [rsp + 0x148]
cmp word [rax], bp
jne 0x14008c16c
mov r12, qword [rsp + 0x118]
mov r10d, 3
cmp byte [rsp + 0x1f8], r10b
je 0x14008c19c
or r14, 0xffffffffffffffff
mov dil, bl
mov rsi, r14
jmp 0x14008c096
mov r9d, r14d
xor r8d, r8d
mov rdx, rdi
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.140018934
mov rdi, rax
cmp rax, rbp
je 0x14008c1fa
mov r12, qword [rax + 8]
mov eax, 3
cmp byte [rsp + 0x1f8], al
jne 0x14008c1b1
lea rcx, [rsp + 0x78]
mov rdx, r12
call fcn.140073e6c
mov dil, 2
movsxd rsi, eax
jmp 0x14008c20c
mov rsi, qword [rdi + 0x18]
movabs rcx, 0x3fffffffffffffff
and rsi, rcx
lea rcx, [rsp + 0x78]
lea rdx, [rsi + 8]
call fcn.140061ff8
mov r11, qword [rsp + 0x78]
xor edx, edx
lea rcx, [rsi + r11]
lea r8d, [rdx + 8]
call fcn.1400fdc00
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + 0x78]
mov r8, rsi
call fcn.14001d8e0
mov dil, 1
jmp 0x14008c20c
lea rcx, [rsp + 0x78]
mov edx, 8
call fcn.140061ff8
mov dil, bl
mov rax, qword [rsp + 0x78]
xor edx, edx
lea rcx, [rsi + rax]
lea r8d, [rdx + 8]
call fcn.1400fdc00
jmp 0x14008c082
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x78]
cmp r12d, ebp
je 0x14008c260
call fcn.14006e3dc
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x78]
movsxd rsi, eax
add rsi, rsi
lea rdx, [rsi + 8]
call fcn.140061ff8
jmp 0x14008c268
call fcn.140073e6c
movsxd rsi, eax
mov dil, 2
jmp 0x14008c082
lea rdx, [0x14011f02c]
mov r8, r9
mov rcx, r12
call fcn.140059950
cmp eax, ebp
jne 0x14008c28e
mov r15d, 0x4b1
jmp 0x14008c2b3
lea rdx, [0x14011f030]
mov r8, r10
mov rcx, r12
call fcn.140059950
cmp eax, ebp
mov eax, 0xfde9
cmove r13d, eax
mov qword [rsp + 0x88], r13
cmp rsi, r14
jne 0x14008c2d7
mov rcx, r12
cmp r15d, ebp
je 0x14008c2ce
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
add rsi, rsi
jmp 0x14008c2d7
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rsi, eax
lea rcx, [rsp + 0x1f8]
mov r13, r12
mov qword [rsp + 0x118], r12
call fcn.1400621f4
lea rcx, [rsp + 0x94]
call fcn.140061bb4
mov rdi, qword [rsp + 0x88]
cmp dword [rax], edi
jne 0x14008c3e7
lea rcx, [rsp + 0xb0]
call fcn.140061bb4
cmp dword [rax], r15d
jne 0x14008c3e7
cmp byte [rsp + 0x60], bpl
je 0x14008c358
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
lea rax, [rsp + 0x98]
mov r9d, esi
mov r8, r12
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.140072bbc
jmp 0x14008c3cb
cmp byte [rsp + 0x1e8], bpl
jne 0x14008c37f
lea r9, [rsp + 0x1e0]
mov r8d, esi
mov rdx, r12
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14008c3cb
cmp dword [rsp + 0xa0], ebp
jne 0x14008c3a5
lea rcx, [rsp + 0x1f8]
mov r8d, esi
mov rdx, r12
call fcn.140067ef4
mov r8, qword [rsp + 0x1f8]
jmp 0x14008c3b6
mov r8, qword [rsp + 0xd8]
cmp dword [rsp + 0x70], ebp
jne 0x14008c3b6
mov r8, r12
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
call fcn.14006150c
lea rcx, [rsp + 0x1f8]
call fcn.140059920
lea rcx, [rsp + 0x78]
call fcn.140059920
jmp 0x14008a5cd
cmp r15d, 0x4b1
jne 0x14008c404
mov edx, esi
mov rcx, r12
mov r15d, 0x4b0
call fcn.14005f07c
and rsi, 0xfffffffffffffffe
cmp byte [rsp + 0x1e8], bpl
jne 0x14008c470
mov rcx, qword [rsp + 0x98]
call fcn.14001be3c
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0x140]
mov r9d, 7
mov r8d, 0x40000000
mov rdx, rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbp
call fcn.14000384c
mov rbx, qword [rsp + 0x140]
cmp rbx, rbp
jne 0x14008c470
lea rcx, [rsp + 0x1f8]
call fcn.140059920
jmp 0x14008be9c
mov eax, 0x3a8
mov qword [rsp + 0xc0], rbp
cmp dword [rsp + 0x94], eax
jne 0x14008c48e
cmp edi, 0x3b6
je 0x14008c4a7
cmp edi, eax
jne 0x14008c56a
cmp dword [rsp + 0x94], 0x3b6
jne 0x14008c56a
movzx eax, byte [rsp + 0x80]
lea rcx, [rsp + 0xc8]
mov edi, eax
cmp al, bpl
mov eax, 3
cmovne edi, eax
call fcn.140061f18
cmp dword [rsp + 0x94], 0x3b6
mov r8d, ebp
lea rdx, [rsp + 0xc8]
mov rcx, r12
sete r8b
call fcn.140067f30
mov r11, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xc8], r11
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r12, qword [rsp + 0x78]
movsxd rsi, eax
mov eax, 3
mov r13, r12
cmp dil, al
jne 0x14008c55d
cmp byte [rsp + 0x1e8], bpl
jne 0x14008c55d
cmp rsi, rbp
jle 0x14008c54b
lea r9, [rsp + 0x1e0]
mov r8d, esi
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0xc8]
call fcn.140059920
jmp 0x14008c852
lea rcx, [rsp + 0xc8]
call fcn.140059920
mov rax, rsi
cqo
sub rax, rdx
sar rax, 1
mov rdi, rax
cmp r15d, ebp
jne 0x14008c5cf
lea edi, [rsi + 0xa]
lea rcx, [rsp + 0x1f8]
lea eax, [rdi + 0xa]
movsxd rdx, eax
call fcn.1400622f4
mov r13, qword [rsp + 0x1f8]
mov ecx, dword [rsp + 0x88]
mov r9d, esi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
call qword [0x140136970]
cmp eax, ebp
mov r9, r13
cmovl eax, ebp
movsxd rdi, eax
lea rsi, [rdi + rdi]
mov word [rsi + r13], bp
jmp 0x14008c5d7
mov r9, qword [rsp + 0x118]
mov eax, dword [rsp + 0xb0]
cmp eax, 0x4b1
jne 0x14008c5f6
mov edx, esi
mov rcx, r13
call fcn.14005f07c
mov eax, dword [rsp + 0xb0]
cmp eax, ebp
jle 0x14008c72a
cmp byte [rsp + 0x60], bpl
je 0x14008c676
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
lea rax, [rsp + 0x98]
mov r9d, esi
mov r8, r13
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.140072bbc
lea rcx, [rsp + 0xc0]
call fcn.140059920
lea rcx, [rsp + 0x1f8]
call fcn.140059920
lea rcx, [rsp + 0x78]
call fcn.140059920
cmp rbx, rbp
je 0x14008a5cd
cmp rbx, r14
je 0x14008a5cd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008a5cd
cmp byte [rsp + 0x1e8], bpl
jne 0x14008c6d2
cmp rsi, rbp
jle 0x14008c852
mov rdx, qword [rsp + 0x130]
cmp rdx, rbp
je 0x14008c6b1
mov r8d, dword [rsp + 0x64]
lea r9, [rsp + 0x1e0]
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, r13
lea r9, [rsp + 0x1e0]
mov r8d, esi
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14008c852
cmp dword [rsp + 0xa0], ebp
jne 0x14008c733
lea rcx, [rsp + 0x1e8]
call fcn.1400621f4
lea rcx, [rsp + 0x1e8]
mov r8d, edi
mov rdx, r13
call fcn.140067ef4
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
call fcn.14006150c
lea rcx, [rsp + 0x1e8]
call fcn.140059920
jmp 0x14008c852
cmp dword [rsp + 0xa0], ebp
je 0x14008c73b
mov r8, r9
jmp 0x14008c83d
mov rax, rsi
cqo
sub rax, rdx
sar rax, 1
mov rsi, rax
lea ecx, [rax + rax*2]
lea edi, [rcx + rcx + 0xa]
lea ecx, [rdi + 1]
movsxd rdx, ecx
lea rcx, [rsp + 0xc0]
call fcn.140061ff8
mov ecx, dword [rsp + 0x94]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov rdi, qword [rsp + 0xc0]
mov r9d, esi
mov r8, r13
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, ebp
mov esi, eax
cmovl esi, ebp
movsxd rax, esi
mov byte [rax + rdi], bpl
cmp byte [rsp + 0x1e8], bpl
jne 0x14008c7e3
cmp esi, ebp
jle 0x14008c852
mov rdx, qword [rsp + 0x130]
cmp rdx, rbp
je 0x14008c7db
mov r8d, dword [rsp + 0x64]
lea r9, [rsp + 0x1e0]
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
jmp 0x14008c6b4
cmp byte [rsp + 0x60], bpl
je 0x14008c822
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
movsxd r9, eax
lea rax, [rsp + 0x98]
mov r8, rdi
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.140072bbc
jmp 0x14008c852
lea rcx, [rsp + 0x1f8]
mov r8d, esi
mov rdx, rdi
call fcn.140067e58
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1e0]
call fcn.14006150c
cmp rbx, rbp
je 0x14008c860
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [rsp + 0xc0]
call fcn.140059920
lea rcx, [rsp + 0x1f8]
call fcn.140059920
lea rcx, [rsp + 0x78]
call fcn.140059920
cmp rbx, rbp
je 0x14008c897
cmp rbx, r14
je 0x14008c897
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x98]
call fcn.140059920
lea rcx, [rsp + 0x138]
call fcn.140059920
lea rcx, [rsp + 0xd8]
call fcn.140059920
lea rcx, [rsp + 0xb8]
call fcn.140059920
lea rcx, [rsp + 0x168]
call fcn.140059920
xor eax, eax
jmp 0x14008c920
lea rcx, [rsp + 0x98]
call fcn.140059920
lea rcx, [rsp + 0x138]
call fcn.140059920
lea rcx, [rsp + 0xd8]
call fcn.140059920
lea rcx, [rsp + 0xb8]
call fcn.140059920
lea rcx, [rsp + 0x168]
call fcn.140059920
mov rax, r13
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret