Function at 0x140087f5c
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, 0x160
mov r15, rcx
lea rcx, [rax - 0x60]
call fcn.14006166c
lea rcx, [rsp + 0x1a8]
xor ebp, ebp
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], rbp
call fcn.140059074
lea rcx, [rsp + 0x98]
call fcn.14006166c
lea rcx, [rsp + 0xa8]
call fcn.14006166c
lea rcx, [rsp + 0x120]
call fcn.14006166c
lea rcx, [rsp + 0x78]
call fcn.14006166c
mov r11, qword [rsp + 0x1a8]
lea r12d, [rbp + 1]
lea r8d, [rbp + 0x2c]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x138]
mov r9b, r12b
mov qword [rsp + 0x48], r11
call fcn.14007c190
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.14006555c
mov r9, qword [rsp + 0x98]
mov rbx, rbp
movzx eax, word [r9]
mov byte [rsp + 0x70], bpl
mov byte [rsp + 0x40], bpl
mov sil, bpl
mov rcx, r9
mov qword [rsp + 0x1b8], rbx
lea edx, [rbp + 9]
lea edi, [rbp + 2]
lea r8d, [rbp + 0x20]
cmp ax, bp
je 0x14008808e
cmp dx, ax
ja 0x140088057
cmp ax, 0xd
jbe 0x14008805d
cmp r8w, ax
jne 0x140088060
mov rbx, rcx
add rcx, rdi
mov ax, word [rcx]
cmp ax, bp
jne 0x14008804c
mov qword [rsp + 0x1b8], rbx
cmp rbx, rbp
je 0x14008808e
mov word [rbx], bp
mov r9, qword [rsp + 0x98]
add rbx, rdi
mov qword [rsp + 0x1b8], rbx
mov r14d, 3
mov qword [rsp + 0x1a8], r9
lea r13d, [r14 + 0x27]
cmp rbx, rbp
je 0x1400881a7
cmp r13w, word [r9]
jne 0x1400881a7
lea ebx, [r14 + 3]
lea r15d, [r14 + 0x2a]
cmp r15w, word [r9 + 2]
je 0x14008818f
lea rdx, [rsp + 0x1a8]
lea rcx, [0x14011e5d4]
mov r8d, ebx
call fcn.1400640c8
cmp al, bpl
je 0x1400880ec
mov byte [rsp + 0x40], r12b
jmp 0x14008817d
lea rdx, [rsp + 0x1a8]
lea rcx, str.transonly
mov r8d, 0xa
call fcn.1400640c8
cmp al, bpl
je 0x140088112
mov byte [rsp + 0x70], r12b
jmp 0x14008817d
lea rdx, [rsp + 0x1a8]
lea rcx, [0x14011e5c0]
mov r8d, r14d
call fcn.1400640c8
cmp al, bpl
je 0x140088133
mov sil, r12b
jmp 0x14008817d
mov rcx, qword [rsp + 0x1a8]
movzx eax, word [rcx]
cmp ax, bp
je 0x140088170
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x140088157
cmp ax, 0xd
jbe 0x140088168
cmp r8w, ax
je 0x140088168
add rcx, rdi
mov ax, word [rcx]
cmp ax, bp
jne 0x14008814c
mov qword [rsp + 0x1a8], rcx
lea rcx, [rsp + 0x1a8]
call fcn.140059074
mov r9, qword [rsp + 0x1a8]
cmp r13w, word [r9]
je 0x1400880bb
mov r9, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x1b8]
mov r15, qword [rsp + 0x1a0]
mov byte [rsp + 0x51], bpl
mov dil, bpl
mov byte [rsp + 0x1b8], bpl
mov byte [rsp + 0x1a8], bpl
mov r14b, bpl
mov byte [rsp + 0x41], bpl
cmp rbx, rbp
je 0x140088211
lea rcx, [rsp + 0x88]
mov rdx, rbx
call fcn.14006d600
mov r11, qword [rsp + 0x88]
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], r11
call fcn.1400590a4
mov r9, qword [rsp + 0x98]
cmp sil, bpl
je 0x140088f7d
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, r15
call fcn.140003964
mov rdx, qword [rsp + 0x48]
lea r8, [rsp + 0x78]
xor r9d, r9d
mov rcx, r15
mov byte [rsp + 0x20], r12b
call fcn.140078b18
mov r11, qword [rsp + 0x78]
mov r8d, 0x2c
mov qword [rsp + 0x48], r11
mov rsi, rbp
mov qword [rsp + 0x118], rbp
mov qword [rsp + 0x110], rbp
cmp r8w, word [r11]
jne 0x140088279
add r11, 2
mov qword [rsp + 0x48], r11
lea rcx, [rsp + 0x48]
call fcn.140059074
mov rcx, qword [rsp + 0x48]
mov r13w, word [rcx]
cmp r13w, bp
je 0x140088f30
mov r11d, 0x2b
mov edi, 0x3a3
or r14, 0xffffffffffffffff
lea eax, [r11 + 0x14]
lea ebx, [rdi - 3]
cmp r11w, r13w
jne 0x1400882c2
cmp r11w, word [rcx + 2]
jne 0x1400882ee
add rcx, 2
mov r13d, edi
jmp 0x1400882ee
mov edx, 0x2a
cmp dx, r13w
jne 0x1400882db
cmp dx, word [rcx + 2]
jne 0x1400882ee
add rcx, 2
mov r13w, bx
cmp bx, r13w
jne 0x1400882e6
mov rsi, r12
jmp 0x1400882ee
cmp ax, r13w
cmove rsi, r14
mov r10d, 2
add rcx, r10
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x48]
call fcn.140059074
mov eax, 0x3a9
lea ecx, [r10 + 0x3d]
cmp ax, r13w
mov rax, qword [rsp + 0x48]
movzx r9d, r13w
cmove r9w, cx
mov word [rsp + 0x1a8], r9w
cmp di, r13w
je 0x140088340
cmp bx, r13w
je 0x140088340
cmp cx, r9w
jne 0x1400883cf
cmp r8w, word [rax]
je 0x1400883d5
lea rcx, [rsp + 0x48]
mov edx, r8d
mov rdi, rax
mov qword [rsp + 0x118], rax
call fcn.14004e520
mov rcx, qword [rsp + 0x48]
cmp word [rcx], bp
je 0x140088374
mov word [rcx], bp
add qword [rsp + 0x48], r10
mov eax, 0x3f
cmp ax, r9w
jne 0x1400883dd
cmp word [rdi], bp
mov rbx, rdi
lea edi, [rax - 0x12]
je 0x1400883e2
cmp r11w, word [rbx]
je 0x1400883a9
cmp di, word [rbx]
je 0x14008839f
add rbx, r10
cmp word [rbx], bp
jne 0x14008838a
jmp 0x1400883e2
mov qword [rsp + 0x1b8], rbx
jmp 0x1400883b5
lea rax, [rbx + 2]
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x1b8]
call fcn.140065c7c
mov word [rbx], bp
jmp 0x1400883e2
cmp r8w, word [rax]
jne 0x1400883dd
add rax, r10
mov qword [rsp + 0x48], rax
mov edi, 0x2d
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0x88], r14
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xd8], 0xfffffffffffe0000
mov dword [rsp + 0x1b8], r12d
call fcn.1400adfac
cmp eax, ebp
jle 0x140088f30
mov r12, qword [rsp + 0x90]
mov ecx, 0x3e
cmp di, r13w
jne 0x140088451
lea r13d, [rcx - 0x13]
jmp 0x140088460
mov eax, 0x3c
cmp ax, r13w
jne 0x140088463
mov r13w, cx
neg r12
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x128], r12
call fcn.140007b0c
cmp eax, ebp
jle 0x140088f30
cmp dword [rsp + 0x1b8], ebp
jle 0x140088f30
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x48]
call fcn.1400adfac
mov rbx, qword [rsp + 0x100]
cmp rbx, rbp
jl 0x140088f30
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x48]
call fcn.1400adfac
lea rdi, [0x140134120]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0x98]
mov r9d, r14d
xor r8d, r8d
mov rcx, r15
mov qword [rsp + 0x20], rbp
call fcn.1400184b8
cmp rax, rbp
je 0x140088f27
mov r14, qword [rax + 0x18]
movabs rcx, 0x3fffffffffffffff
and r14, rcx
cmp rbx, r14
jge 0x140088f27
cmp r14, rbp
jle 0x140088f27
mov rcx, qword [rax + 8]
mov r15, qword [rsp + 0x88]
mov rax, r14
cmp r15, rbp
mov qword [rsp + 0x100], rcx
cmovle r15, r14
sub rax, rbx
cmp r15, rax
cmovg r15, rax
cmp rax, r15
cmovg rax, r15
cmp rax, rbp
mov qword [rsp + 0xe8], rax
jle 0x140088f27
movzx eax, r13w
lea rdi, [rcx + rbx]
mov ecx, 0x68
or ax, 0x20
lea r10d, [rcx + 7]
cmp cx, ax
je 0x140088587
lea ecx, [r10 - 1]
cmp cx, ax
je 0x140088587
cmp r10w, ax
jne 0x14008858b
mov r13w, r10w
mov edx, 0x2e
lea eax, [rdx + 0x30]
lea r9d, [rdx + 0x4e]
lea r8d, [rdx - 8]
cmp ax, r13w
sete al
movzx ecx, al
lea eax, [rdx + 0x10]
cmp ax, r13w
lea eax, [rdx - 0x2c]
cmove ecx, eax
cmp dx, r13w
movzx eax, cl
lea ecx, [rdx - 0x2b]
cmove eax, ecx
movzx ecx, al
lea eax, [rdx - 0x2a]
mov edx, 0x3a3
cmp dx, r13w
lea edx, [r9 - 0x77]
cmove ecx, eax
movzx eax, cl
mov ecx, 0x3a0
cmp cx, r13w
lea ecx, [rdx + 1]
cmove eax, edx
cmp r8w, r13w
cmove eax, ecx
cmp r9w, r13w
movzx ecx, al
lea eax, [rdx + 2]
cmove ecx, eax
movzx eax, cl
lea ecx, [rdx + 3]
lea edx, [rcx + 0x37]
cmp dx, r13w
cmove eax, ecx
mov ecx, 0x3a9
cmp cx, r13w
lea ecx, [rdx - 0x36]
movzx eax, al
cmove eax, ecx
lea ecx, [rdx - 0x1c]
mov dword [rsp + 0x68], eax
cmp al, bpl
jne 0x14008864a
lea eax, [rdx - 0x14]
cmp ax, r13w
je 0x14008864a
cmp cx, r13w
je 0x14008864a
cmp r10w, r13w
je 0x140088650
lea rcx, [0x140134120]
jmp 0x140088f2a
cmp r10w, r13w
jne 0x140088657
cmp rbx, r12
cmovg rbx, r12
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x48]
call fcn.1400adfac
mov rax, qword [rsp + 0xf8]
lea rdx, [rsp + 0xd8]
cmp rax, rbp
lea rcx, [rsp + 0x48]
cmove rax, r15
mov qword [rsp + 0xb0], rax
call fcn.1400adfac
mov r15, qword [rsp + 0xd8]
cmp r15, rbp
jg 0x1400886d7
cmp r15, 0xfffffffffffe0000
je 0x1400886cb
mov rax, qword [rsp + 0xb0]
mov rcx, rax
neg rcx
cmp rax, rbp
cmovg rcx, rax
sub r14, rbx
mov rax, r14
cqo
idiv rcx
mov r15, rax
cmp r15, rbp
mov eax, 1
cmovle r15, rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x48]
call fcn.1400adfac
movzx r8d, byte [rsp + 0x1b8]
mov rax, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xe8]
cmp rax, rbp
mov qword [rsp + 0xc0], rdi
cmove rax, qword [rsp + 0xb0]
mov ecx, r9d
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x108], rax
mov eax, r9d
and eax, 7
sub ecx, eax
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x100]
add rax, r12
mov dword [rsp + 0xb8], ecx
mov ecx, dword [rsp + 0x1b8]
mov qword [rsp + 0xc8], rax
sar ecx, 8
mov eax, 1
cmp ecx, ebp
cmovle ecx, eax
movsxd r11, ecx
mov dword [rsp + 0xa0], ecx
lea eax, [rcx + rcx]
mov qword [rsp + 0x158], r11
mov dword [rsp + 0x134], eax
mov rax, r9
cqo
idiv r8
mov rbx, rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xf0], rdx
mov eax, r8d
cdq
idiv ecx
cdqe
lea rcx, [rax - 1]
cqo
sub rax, rdx
sar rax, 1
mov r14, rax
mov qword [rsp + 0x90], rax
imul rcx, r11
mov qword [rsp + 0xe0], rcx
mov rcx, rax
mov eax, 2
imul rcx, r11
mov r11, r8
sub r11, rcx
cmp r8d, eax
setge cl
cmp r8d, 4
mov qword [rsp + 0xf8], r11
movzx edx, cl
mov ecx, 3
cmovge edx, eax
cmp r8d, 8
movzx eax, dl
cmovge eax, ecx
mov dword [rsp + 0x1b8], eax
lea eax, [rcx + 0x3b]
cmp ax, r13w
je 0x140088842
lea eax, [rcx + 0x2b]
cmp ax, r13w
je 0x140088842
lea eax, [rcx + 0x23]
cmp ax, r13w
je 0x140088842
lea eax, [rcx + 0x79]
cmp ax, r13w
je 0x140088842
lea eax, [rcx + 0x3c]
cmp ax, word [rsp + 0x1a8]
je 0x140088842
lea eax, [rcx - 2]
mov byte [rsp + 0x1a8], al
jmp 0x14008884f
mov byte [rsp + 0x1a8], bpl
mov eax, 1
sub r15, rax
mov qword [rsp + 0xd0], r15
js 0x140088c96
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0x108]
mov rdx, rdi
mov r10d, 0x23
cmp r10w, r13w
jne 0x14008897c
movsxd rdx, dword [rsp + 0xb8]
mov r14, rcx
add rdx, rcx
cmp rcx, rdx
jae 0x1400888bf
mov rax, qword [rdi]
mov rcx, qword [r14]
mov qword [r14], rax
add r14, 8
mov qword [rdi], rcx
add rdi, 8
cmp r14, rdx
jb 0x14008889e
mov rcx, qword [rsp + 0xc8]
movsxd rax, dword [rsp + 0x80]
cmp eax, ebp
jle 0x140088f0a
lea rcx, [rsp + 0x150]
mov r8, rax
mov rdx, rdi
mov rbx, rax
call fcn.14001d128
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14001d128
mov r8, rbx
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.14001d128
mov r11, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov r9, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x108]
mov r10d, 0x23
add rdx, r8
add rcx, rax
sub r15, 1
mov qword [rsp + 0xd0], r15
mov qword [rsp + 0xc0], rdx
mov rdi, rdx
mov qword [rsp + 0xc8], rcx
js 0x140088c96
jmp 0x140088881
mov r10d, 0x6f
cmp r10w, r13w
jne 0x140088a88
cmp qword [rsp + 0x158], 1
jg 0x1400889f2
lea r9, [rbx - 1]
cmp r9, rbp
jl 0x140088efd
mov rax, qword [rsp + 0xe0]
lea r10d, [r14 - 1]
mov r12d, 1
cmp r10d, ebp
lea rdx, [rax + rdi]
mov r8d, r10d
jl 0x1400889dd
mov al, byte [rdx]
mov cl, byte [rdi]
mov byte [rdi], al
mov byte [rdx], cl
sub rdx, r12
add rdi, r12
sub r8d, r12d
jns 0x1400889c2
mov rax, qword [rsp + 0xe0]
add rdi, r11
sub r9, r12
jns 0x1400889b6
mov r12, qword [rsp + 0x128]
jmp 0x14008891e
lea r10, [rbx - 1]
cmp r10, rbp
jl 0x140088946
mov rax, qword [rsp + 0xe0]
mov r15d, dword [rsp + 0xa0]
movsxd r12, dword [rsp + 0x134]
dec r14d
cmp r14d, ebp
lea rdx, [rax + rdi]
mov r9d, r14d
jl 0x140088a6a
lea ebx, [r15 - 1]
mov r15d, 1
cmp ebx, ebp
mov r8d, ebx
jl 0x140088a4a
mov al, byte [rdx]
mov cl, byte [rdi]
mov byte [rdi], al
mov byte [rdx], cl
add rdx, r15
add rdi, r15
sub r8d, r15d
jns 0x140088a37
sub rdx, r12
sub r9d, r15d
jns 0x140088a30
mov r11, qword [rsp + 0xf8]
mov rax, qword [rsp + 0xe0]
mov r15d, dword [rsp + 0xa0]
add rdi, r11
sub r10, 1
jns 0x140088a1a
mov r12, qword [rsp + 0x128]
mov r15, qword [rsp + 0xd0]
jmp 0x14008890e
mov rax, qword [rsp + 0xf0]
movzx ecx, byte [rsp + 0x1b8]
mov r10, rdi
mov r14d, eax
cdqe
mov bl, r12b
sub r10, rax
mov r11d, ebp
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xd8], rbp
mov dword [rsp + 0x130], ecx
add r10, r9
mov edx, 1
sub ecx, edx
je 0x140088dae
sub ecx, edx
je 0x140088ced
cmp ecx, edx
je 0x140088bae
and bl, 7
lea r9d, [rdx + 7]
sub r9b, bl
cmp rdi, r10
jae 0x140088e8b
movzx r8d, byte [rsp + 0x68]
cmp r8d, 5
jg 0x140088b62
je 0x140088b58
mov ecx, r8d
cmp r8d, ebp
je 0x140088b53
sub ecx, edx
je 0x140088b43
sub ecx, edx
je 0x140088b2b
sub ecx, edx
je 0x140088b26
cmp ecx, edx
jne 0x140088b9d
movsx rax, byte [rdi]
add rsi, rax
jmp 0x140088b9d
mov byte [rdi], r12b
jmp 0x140088b9d
mov dl, byte [rdi]
mov cl, r9b
mov al, dl
shl al, cl
mov cl, bl
shr dl, cl
or al, dl
mov edx, 1
mov byte [rdi], al
jmp 0x140088b9d
mov eax, 0x5e
cmp ax, r13w
jne 0x140088b9d
xor byte [rdi], r12b
jmp 0x140088b9d
add byte [rdi], r12b
jmp 0x140088b9d
movsx rax, byte [rdi]
imul rsi, rax
jmp 0x140088b9d
mov ecx, r8d
sub ecx, 6
je 0x140088b9a
sub ecx, edx
je 0x140088b95
sub ecx, edx
je 0x140088b80
cmp ecx, edx
jne 0x140088b9d
test byte [rdi], r12b
je 0x140088b9d
add rsi, rdx
jmp 0x140088b9d
test byte [rdi], r12b
je 0x140088b9d
mov rsi, rdi
sub rsi, qword [rsp + 0x100]
jmp 0x140088c8e
or byte [rdi], r12b
jmp 0x140088b9d
and byte [rdi], r12b
add rdi, rdx
cmp rdi, r10
jb 0x140088af9
jmp 0x140088e8b
and bl, 0x3f
mov r9d, 0x40
sub r9b, bl
cmp rdi, r10
jae 0x140088e8b
movzx r8d, byte [rsp + 0x68]
mov rax, qword [rsp + 0x58]
cmp r8d, 5
jg 0x140088c51
je 0x140088c48
mov ecx, r8d
cmp r8d, ebp
je 0x140088c40
sub ecx, edx
je 0x140088c29
sub ecx, edx
je 0x140088c07
sub ecx, edx
je 0x140088bff
mov rax, qword [rsp + 0x58]
cmp ecx, edx
jne 0x140088cdc
add rsi, qword [rdi]
jmp 0x140088cdc
mov qword [rdi], r12
jmp 0x140088cd7
mov rdx, qword [rdi]
mov cl, r9b
mov rax, rdx
shl rax, cl
mov cl, r12b
shr rdx, cl
or rax, rdx
mov edx, 1
mov qword [rdi], rax
jmp 0x140088cd7
mov eax, 0x5e
cmp ax, r13w
jne 0x140088cd7
xor qword [rdi], r12
jmp 0x140088cd7
add qword [rdi], r12
jmp 0x140088cd7
imul rsi, qword [rdi]
jmp 0x140088cdc
mov ecx, r8d
sub ecx, 6
je 0x140088cd4
sub ecx, edx
je 0x140088ccf
sub ecx, edx
je 0x140088c74
cmp ecx, edx
jne 0x140088cd7
mov rax, qword [rsp + 0x58]
test qword [rdi], r12
je 0x140088cdc
add rsi, rdx
jmp 0x140088cdc
test qword [rdi], r12
je 0x140088cd7
sub rdi, qword [rsp + 0x100]
mov rax, rdi
cqo
idiv qword [rsp + 0x58]
mov rsi, rax
add rsi, qword [rsp + 0x110]
mov rax, qword [rsp + 0x118]
cmp rax, rbp
je 0x140088cbd
mov rcx, qword [rsp + 0x1a0]
lea r9, str._I64d
mov r8, rax
mov rdx, rsi
call fcn.1400648b0
lea rcx, [0x140134120]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140088f37
or qword [rdi], r12
jmp 0x140088cd7
and qword [rdi], r12
mov rax, qword [rsp + 0x58]
add rdi, rax
cmp rdi, r10
jb 0x140088bce
jmp 0x140088e8b
and bl, 0x1f
mov r9d, 0x20
sub r9b, bl
cmp rdi, r10
jae 0x140088e8b
movzx r8d, byte [rsp + 0x68]
cmp r8d, 5
jg 0x140088d6a
je 0x140088d62
mov ecx, r8d
cmp r8d, ebp
je 0x140088d5d
sub ecx, edx
je 0x140088d4d
sub ecx, edx
je 0x140088d35
sub ecx, edx
je 0x140088d30
cmp ecx, edx
jne 0x140088d9b
movsxd rax, dword [rdi]
add rsi, rax
jmp 0x140088d9b
mov dword [rdi], r12d
jmp 0x140088d9b
mov edx, dword [rdi]
mov cl, r9b
mov eax, edx
shl eax, cl
mov cl, bl
shr edx, cl
or eax, edx
mov edx, 1
mov dword [rdi], eax
jmp 0x140088d9b
mov eax, 0x5e
cmp ax, r13w
jne 0x140088d9b
xor dword [rdi], r12d
jmp 0x140088d9b
add dword [rdi], r12d
jmp 0x140088d9b
mov eax, dword [rdi]
imul rsi, rax
jmp 0x140088d9b
mov ecx, r8d
sub ecx, 6
je 0x140088d98
sub ecx, edx
je 0x140088d93
sub ecx, edx
je 0x140088d88
cmp ecx, edx
jne 0x140088d9b
test dword [rdi], r12d
je 0x140088d9b
add rsi, rdx
jmp 0x140088d9b
test dword [rdi], r12d
jne 0x140088c79
jmp 0x140088d9b
or dword [rdi], r12d
jmp 0x140088d9b
and dword [rdi], r12d
add rdi, qword [rsp + 0x58]
cmp rdi, r10
jb 0x140088d08
jmp 0x140088e8b
and bl, 0xf
mov r9d, 0x10
sub r9b, bl
cmp rdi, r10
jae 0x140088e8b
movzx r8d, byte [rsp + 0x68]
cmp r8d, 5
jg 0x140088e3e
je 0x140088e34
mov ecx, r8d
cmp r8d, ebp
je 0x140088e2e
sub ecx, edx
je 0x140088e1d
sub ecx, edx
je 0x140088dff
sub ecx, edx
je 0x140088df9
cmp ecx, edx
jne 0x140088e7d
movsx rax, word [rdi]
add rsi, rax
jmp 0x140088e7d
mov word [rdi], r12w
jmp 0x140088e7d
movzx edx, word [rdi]
mov cl, r9b
movzx eax, dx
shl ax, cl
mov cl, bl
shr dx, cl
or ax, dx
mov edx, 1
mov word [rdi], ax
jmp 0x140088e7d
mov eax, 0x5e
cmp ax, r13w
jne 0x140088e7d
xor word [rdi], r12w
jmp 0x140088e7d
add word [rdi], r12w
jmp 0x140088e7d
movsx rax, word [rdi]
imul rsi, rax
jmp 0x140088e7d
mov ecx, r8d
sub ecx, 6
je 0x140088e79
sub ecx, edx
je 0x140088e73
sub ecx, edx
je 0x140088e62
cmp ecx, edx
jne 0x140088e7d
movzx ecx, word [rdi]
movsx eax, r12w
test eax, ecx
je 0x140088e7d
add rsi, rdx
jmp 0x140088e7d
movzx ecx, word [rdi]
movsx eax, r12w
test eax, ecx
jne 0x140088c79
jmp 0x140088e7d
or word [rdi], r12w
jmp 0x140088e7d
and word [rdi], r12w
add rdi, qword [rsp + 0x58]
cmp rdi, r10
jb 0x140088dc9
cmp r14d, ebp
jle 0x140088edc
cmp byte [rsp + 0x1a8], bpl
je 0x140088edc
lea rcx, [rsp + 0xd8]
movsxd r8, r14d
mov rdx, rdi
call fcn.14001d128
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x130]
mov qword [rsp + 0xd0], rdi
mov r11d, r14d
lea r10, [rsp + rax + 0xd8]
mov r14d, ebp
lea rdi, [rsp + 0xd8]
jmp 0x140088ac3
cmp r11d, ebp
je 0x140088906
mov rcx, qword [rsp + 0xd0]
movsxd r8, r11d
lea rdx, [rsp + 0xd8]
jmp 0x140088901
mov r9, qword [rsp + 0xe8]
jmp 0x140088946
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x90]
jmp 0x14008894c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbp, 0xffffffff80070057
lea rcx, [rsp + 0x78]
call fcn.1400590a4
lea rcx, [rsp + 0x120]
call fcn.1400590a4
lea rcx, [rsp + 0xa8]
call fcn.1400590a4
lea rcx, [rsp + 0x98]
call fcn.1400590a4
lea rcx, [rsp + 0x138]
call fcn.1400590a4
mov rax, rbp
jmp 0x140089f85
mov rax, qword [rsp + 0x48]
mov esi, 0x2c
lea rcx, [rax + 2]
mov qword [rsp + 0xf0], rcx
cmp si, word [rax]
jne 0x140089023
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x138]
mov r8d, esi
mov r9b, r12b
call fcn.14007c190
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, rax
call fcn.140065688
mov rax, qword [rsp + 0x48]
mov r9, qword [rsp + 0x98]
cmp si, word [rax]
jne 0x140089023
lea ebx, [rsi - 0x2a]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x138]
add rax, rbx
mov r8d, esi
mov r9b, r12b
mov qword [rsp + 0x48], rax
call fcn.14007c190
lea rdx, [rsp + 0x120]
mov rcx, rax
xor r8d, r8d
call fcn.14006555c
mov r9, qword [rsp + 0x98]
mov rax, qword [rsp + 0x48]
jmp 0x140089028
mov ebx, 2
cmp si, word [rax]
jne 0x140089065
add rax, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x138]
mov r8d, esi
mov r9b, r12b
mov qword [rsp + 0x48], rax
call fcn.14007c190
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov rcx, rax
call fcn.14006555c
mov r9, qword [rsp + 0x98]
cmp word [r9], bp
je 0x140089f44
mov rax, qword [rsp + 0xa8]
cmp word [rax], bp
je 0x140089f44
mov r10, qword [rsp + 0x120]
cmp word [r10], bp
je 0x140089f44
mov rax, qword [rsp + 0x78]
cmp word [rax], bp
je 0x140089f44
mov esi, 0x2a
mov r13d, ebp
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x84], ebp
mov r15d, ebp
mov r12d, ebp
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0x68], ebp
mov r11, rbp
mov byte [rsp + 0x50], bpl
cmp si, word [r9]
jne 0x140089129
cmp si, word [r9 + 2]
jne 0x140089111
mov r12b, byte [r9]
add r9, 4
mov byte [rsp + 0x1b8], bl
mov byte [rsp + 0x51], r12b
mov dil, r12b
mov r12d, ebp
cmp si, word [r9]
jne 0x140089129
add r9, rbx
mov byte [rsp + 0x1b8], 3
jmp 0x140089129
cmp si, word [r9]
jne 0x140089129
mov r12b, byte [r9]
add r9, 2
mov byte [rsp + 0x51], r12b
mov dil, r12b
mov r12d, ebp
mov eax, 0x2d
cmp ax, word [r9]
jne 0x14008913a
mov dil, byte [r9]
add r9, rbx
cmp dil, bpl
je 0x140088f30
lea rcx, [0x14011e5bc]
mov rdx, r9
call fcn.14005a758
mov edi, 0x4b1
cmp al, bpl
je 0x14008916b
mov edi, 1
mov byte [rsp + 0x50], dil
jmp 0x1400892bc
lea rcx, str.ANSI
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x14008918e
mov qword [rsp + 0x58], r13
mov edi, 1
jmp 0x1400892bc
lea rcx, [0x14011e5b8]
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x1400891aa
mov r13d, 0x3a8
jmp 0x14008917f
lea rcx, str.BIG5
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x1400891c6
mov r13d, 0x3b6
jmp 0x14008917f
lea rcx, str.UTF8
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x1400891f2
mov r9d, 0xfde9
mov edi, 1
mov r13d, r9d
mov qword [rsp + 0x58], r13
jmp 0x1400892c2
lea rcx, str.UTF7
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x140089211
mov r13d, 0xfde8
jmp 0x14008917f
lea rcx, str.UNICODE
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x140089235
mov edi, 1
mov r15d, 0x4b0
jmp 0x1400892bc
lea rcx, [0x140114b24]
mov rdx, r9
call fcn.14005a758
cmp al, bpl
jne 0x140089225
lea rcx, str.UNICODEB
mov rdx, r9
call fcn.14005a758
cmp al, bpl
je 0x140089265
mov r15d, edi
jmp 0x140089184
lea rcx, str.UNIB
mov rdx, r9
call fcn.14005a758
cmp al, bpl
jne 0x14008925d
movzx eax, word [r9]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x1400892a0
mov rcx, r9
call fcn.140062aa4
mov r13, rax
mov qword [rsp + 0x58], rax
jmp 0x140089184
cmp word [r9], bp
jne 0x140088f30
mov edi, 1
mov r15d, edi
mov r12d, edi
mov dword [rsp + 0x80], edi
mov r9d, 0xfde9
cmp si, word [r10]
jne 0x1400892fd
cmp si, word [r10 + 2]
jne 0x1400892dd
mov r12b, byte [r10]
add r10, 4
mov byte [rsp + 0x41], r12b
jmp 0x1400892ea
cmp si, word [r10]
jne 0x1400892fd
mov r12b, byte [r10]
add r10, 2
mov byte [rsp + 0x1a8], r12b
mov r14b, r12b
mov r12d, dword [rsp + 0x80]
mov eax, 0x2d
cmp ax, word [r10]
jne 0x14008930e
mov r14b, byte [r10]
add r10, rbx
cmp r14b, bpl
je 0x140088f30
lea rcx, str.ANSI
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x140089334
mov dword [rsp + 0x6c], ebp
jmp 0x140089478
lea rcx, [0x14011e5b8]
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x140089355
mov dword [rsp + 0x6c], 0x3a8
jmp 0x140089478
lea rcx, str.BIG5
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x140089376
mov dword [rsp + 0x6c], 0x3b6
jmp 0x140089478
lea rcx, str.UTF8
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x1400893a3
mov dword [rsp + 0x6c], r9d
lea r11, [0x14011aff0]
mov dword [rsp + 0x68], 3
jmp 0x140089478
lea rcx, str.UTF7
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x1400893c4
mov dword [rsp + 0x6c], 0xfde8
jmp 0x140089478
lea rcx, str.UNICODE
mov rdx, r10
call fcn.14005a758
cmp al, bpl
jne 0x1400893ec
lea rcx, [0x140114b24]
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x140089400
mov dword [rsp + 0x84], 0x4b0
lea r11, [0x14011afe8]
jmp 0x14008943a
lea rcx, str.UNICODEB
mov rdx, r10
call fcn.14005a758
cmp al, bpl
jne 0x140089428
lea rcx, str.UNIB
mov rdx, r10
call fcn.14005a758
cmp al, bpl
je 0x140089440
mov dword [rsp + 0x84], 0x4b1
lea r11, [0x14011afec]
mov dword [rsp + 0x68], ebx
jmp 0x140089478
movzx eax, word [r10]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x140089460
mov rcx, r10
call fcn.140062aa4
mov dword [rsp + 0x6c], eax
jmp 0x140089478
cmp word [r10], bp
jne 0x140088f30
mov dword [rsp + 0x84], edi
mov dword [rsp + 0xa0], edi
cmp byte [rsp + 0x40], bpl
lea rcx, [rsp + 0x60]
mov rbx, rbp
cmovne r11, rbp
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0x110], r11
call fcn.140061390
or r14, 0xffffffffffffffff
mov rsi, rbp
cmp byte [rsp + 0x51], bpl
jne 0x140089775
mov rax, qword [rsp + 0xf0]
lea r8d, [r14 + 0x2d]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x138]
mov r9b, dil
mov qword [rsp + 0x1b8], rbp
mov qword [rsp + 0x48], rax
call fcn.14007c190
lea rdx, [rsp + 0xa8]
mov rcx, rax
xor r8d, r8d
call fcn.14006555c
mov rcx, qword [rsp + 0xa8]
call fcn.14001b680
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 + 0x1b8]
mov r8d, 0x80000000
mov rdx, rax
mov qword [rsp + 0x20], rbp
call fcn.1400037a8
mov rdi, qword [rsp + 0x1b8]
cmp rdi, rbp
jne 0x140089553
lea rcx, [rsp + 0x60]
call fcn.1400590a4
mov ebp, 1
jmp 0x140088f37
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.14005a608
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.14005a608
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov r12, rax
call fcn.14005a608
lea r11d, [r12 + 0xa]
lea rcx, [rsp + 0x60]
movsxd rdx, r11d
call fcn.140061470
mov r11, qword [rsp + 0x60]
lea r9, [rsp + 0xb8]
mov byte [r11 + 2], bpl
mov rcx, qword [rsp + 0x60]
mov r8d, r12d
mov byte [rcx + 1], bpl
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rbp
mov byte [rcx], bpl
mov rdx, qword [rsp + 0x60]
or dword [rsp + 0xb8], 0xffffffff
mov rcx, rdi
mov qword [rsp + 0x1b8], rdx
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0xb8]
cmp rsi, rbp
jge 0x140089601
or r14, 0xffffffffffffffff
cmp rdi, r14
je 0x14008953f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008953f
mov rax, qword [rsp + 0x60]
mov r11b, byte [rsp + 0x50]
mov r9d, ebp
mov byte [rsi + rax + 2], bpl
mov rax, qword [rsp + 0x60]
mov byte [rsi + rax + 1], bpl
mov rax, qword [rsp + 0x60]
mov byte [rsi + rax], bpl
cmp r11b, bpl
jne 0x140089634
cmp r15d, 0x4b0
jne 0x140089669
mov r10, qword [rsp + 0x1b8]
lea rdx, [0x14011afe8]
mov r8d, 2
mov rcx, r10
call fcn.1400590d4
cmp eax, ebp
jne 0x140089662
mov eax, 2
mov r15d, 0x4b0
jmp 0x1400896de
cmp r11b, bpl
jne 0x14008967a
jmp 0x140089671
mov r10, qword [rsp + 0x1b8]
cmp r15d, 0x4b1
jne 0x1400896a5
lea rdx, [0x14011afec]
mov r8d, 2
mov rcx, r10
call fcn.1400590d4
cmp eax, ebp
jne 0x1400896a0
mov eax, 2
mov r15d, 0x4b1
jmp 0x1400896de
cmp r11b, bpl
jne 0x1400896b2
mov r11d, 0xfde9
cmp r13d, r11d
jne 0x140089707
jmp 0x1400896b8
mov r11d, 0xfde9
lea rdx, [0x14011aff0]
mov r8d, 3
mov rcx, r10
call fcn.1400590d4
cmp eax, ebp
jne 0x140089707
mov r13d, r11d
mov eax, 3
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x1b8], eax
cdqe
mov r8d, 3
sub r12, rax
lea rdx, [r10 + rax]
mov rcx, r10
add r8, r12
call fcn.14001d0e0
mov r9d, dword [rsp + 0x1b8]
movsxd rax, r9d
sub rsi, rax
cmovs rsi, rbp
cmp rdi, r14
je 0x14008971f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, bl
cmp rsi, rbp
mov r12, qword [rsp + 0x60]
jl 0x14008953f
mov r10d, 3
cmp byte [rsp + 0x50], bpl
je 0x140089950
cmp dil, bpl
je 0x140089950
mov r9d, 2
lea rdx, [0x14011afe8]
mov rcx, r12
mov r8, r9
call fcn.1400590d4
cmp eax, ebp
jne 0x140089910
mov r15d, 0x4b0
jmp 0x140089950
cmp byte [rsp + 0x1b8], bpl
je 0x1400898c5
mov r12, qword [rsp + 0x1a0]
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, r12
call fcn.140003964
mov rdi, qword [rsp + 0xa8]
mov ecx, 9
movzx eax, word [rdi]
sub ax, 0x30
cmp ax, cx
ja 0x14008980c
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x118]
mov qword [rsp + 0x118], rdi
call fcn.140065c7c
cmp eax, ebp
je 0x14008980c
mov rax, qword [rsp + 0x118]
cmp word [rax], bp
jne 0x14008980c
mov r12, qword [rsp + 0xf0]
mov r10d, 3
cmp byte [rsp + 0x1b8], r10b
je 0x14008983c
or r14, 0xffffffffffffffff
mov dil, bl
mov rsi, r14
jmp 0x140089736
mov r9d, r14d
xor r8d, r8d
mov rdx, rdi
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.1400184b8
mov rdi, rax
cmp rax, rbp
je 0x14008989a
mov r12, qword [rax + 8]
mov eax, 3
cmp byte [rsp + 0x1b8], al
jne 0x140089851
lea rcx, [rsp + 0x60]
mov rdx, r12
call fcn.1400731a8
mov dil, 2
movsxd rsi, eax
jmp 0x1400898ac
mov rsi, qword [rdi + 0x18]
movabs rcx, 0x3fffffffffffffff
and rsi, rcx
lea rcx, [rsp + 0x60]
lea rdx, [rsi + 8]
call fcn.140061470
mov r11, qword [rsp + 0x60]
xor edx, edx
lea rcx, [rsi + r11]
lea r8d, [rdx + 8]
call fcn.1400f97d0
mov rdx, qword [rdi + 8]
mov rcx, qword [rsp + 0x60]
mov r8, rsi
call fcn.14001d128
mov dil, 1
jmp 0x1400898ac
lea rcx, [rsp + 0x60]
mov edx, 8
call fcn.140061470
mov dil, bl
mov rax, qword [rsp + 0x60]
xor edx, edx
lea rcx, [rsi + rax]
lea r8d, [rdx + 8]
call fcn.1400f97d0
jmp 0x140089722
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x60]
cmp r12d, ebp
je 0x140089900
call fcn.14006d718
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x60]
movsxd rsi, eax
add rsi, rsi
lea rdx, [rsi + 8]
call fcn.140061470
jmp 0x140089908
call fcn.1400731a8
movsxd rsi, eax
mov dil, 2
jmp 0x140089722
lea rdx, [0x14011afec]
mov r8, r9
mov rcx, r12
call fcn.1400590d4
cmp eax, ebp
jne 0x14008992e
mov r15d, 0x4b1
jmp 0x140089950
lea rdx, [0x14011aff0]
mov r8, r10
mov rcx, r12
call fcn.1400590d4
cmp eax, ebp
mov eax, 0xfde9
cmove r13d, eax
mov qword [rsp + 0x58], r13
cmp rsi, r14
jne 0x140089974
mov rcx, r12
cmp r15d, ebp
je 0x14008996b
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
add rsi, rsi
jmp 0x140089974
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rsi, eax
lea rcx, [rsp + 0x1b8]
mov r13, r12
mov qword [rsp + 0xf0], r12
call fcn.14006166c
lea rcx, [rsp + 0x6c]
call fcn.14001bcc8
mov rdi, qword [rsp + 0x58]
cmp dword [rax], edi
jne 0x140089a78
lea rcx, [rsp + 0x84]
call fcn.14001bcc8
cmp dword [rax], r15d
jne 0x140089a78
cmp byte [rsp + 0x41], bpl
je 0x1400899e9
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
lea rax, [rsp + 0x78]
mov r9d, esi
mov r8, r12
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.140071ef8
jmp 0x140089a5c
cmp byte [rsp + 0x1a8], bpl
jne 0x140089a10
lea r9, [rsp + 0x1a0]
mov r8d, esi
mov rdx, r12
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140089a5c
cmp dword [rsp + 0xa0], ebp
jne 0x140089a36
lea rcx, [rsp + 0x1b8]
mov r8d, esi
mov rdx, r12
call fcn.140067254
mov r8, qword [rsp + 0x1b8]
jmp 0x140089a4a
mov r8, qword [rsp + 0xa8]
cmp dword [rsp + 0x80], ebp
jne 0x140089a4a
mov r8, r12
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
call fcn.140060a94
lea rcx, [rsp + 0x1b8]
call fcn.1400590a4
lea rcx, [rsp + 0x60]
call fcn.1400590a4
jmp 0x140088f37
cmp r15d, 0x4b1
jne 0x140089a95
mov edx, esi
mov rcx, r12
mov r15d, 0x4b0
call fcn.14005e964
and rsi, 0xfffffffffffffffe
cmp byte [rsp + 0x1a8], bpl
jne 0x140089afe
mov rcx, qword [rsp + 0x78]
call fcn.14001b680
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0xd0]
mov r9d, 7
mov r8d, 0x40000000
mov rdx, rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbp
call fcn.1400037a8
mov rbx, qword [rsp + 0xd0]
cmp rbx, rbp
jne 0x140089afe
lea rcx, [rsp + 0x1b8]
call fcn.1400590a4
jmp 0x14008953f
mov eax, 0x3a8
mov qword [rsp + 0x88], rbp
cmp dword [rsp + 0x6c], eax
jne 0x140089b19
cmp edi, 0x3b6
je 0x140089b2f
cmp edi, eax
jne 0x140089bec
cmp dword [rsp + 0x6c], 0x3b6
jne 0x140089bec
movzx eax, byte [rsp + 0x70]
lea rcx, [rsp + 0x90]
mov edi, eax
cmp al, bpl
mov eax, 3
cmovne edi, eax
call fcn.140061390
cmp dword [rsp + 0x6c], 0x3b6
mov r8d, ebp
lea rdx, [rsp + 0x90]
mov rcx, r12
sete r8b
call fcn.140067290
mov r11, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x90], r11
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r12, qword [rsp + 0x60]
movsxd rsi, eax
mov eax, 3
mov r13, r12
cmp dil, al
jne 0x140089bdf
cmp byte [rsp + 0x1a8], bpl
jne 0x140089bdf
cmp rsi, rbp
jle 0x140089bcd
lea r9, [rsp + 0x1a0]
mov r8d, esi
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x90]
call fcn.1400590a4
jmp 0x140089ebd
lea rcx, [rsp + 0x90]
call fcn.1400590a4
mov rax, rsi
cqo
sub rax, rdx
sar rax, 1
mov rdi, rax
cmp r15d, ebp
jne 0x140089c4f
lea edi, [rsi + 0xa]
lea rcx, [rsp + 0x1b8]
lea eax, [rdi + 0xa]
movsxd rdx, eax
call fcn.14006176c
mov r13, qword [rsp + 0x1b8]
mov ecx, dword [rsp + 0x58]
mov r9d, esi
mov r8, r12
xor edx, edx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
call qword [0x140132970]
cmp eax, ebp
mov r9, r13
cmovl eax, ebp
movsxd rdi, eax
lea rsi, [rdi + rdi]
mov word [r13 + rsi], bp
jmp 0x140089c57
mov r9, qword [rsp + 0xf0]
mov eax, dword [rsp + 0x84]
cmp eax, 0x4b1
jne 0x140089c76
mov edx, esi
mov rcx, r13
call fcn.14005e964
mov eax, dword [rsp + 0x84]
cmp eax, ebp
jle 0x140089da1
cmp byte [rsp + 0x41], bpl
je 0x140089cf0
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
lea rax, [rsp + 0x78]
mov r9d, esi
mov r8, r13
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.140071ef8
lea rcx, [rsp + 0x88]
call fcn.1400590a4
lea rcx, [rsp + 0x1b8]
call fcn.1400590a4
lea rcx, [rsp + 0x60]
call fcn.1400590a4
cmp rbx, rbp
je 0x140088f37
cmp rbx, r14
je 0x140088f37
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140088f37
cmp byte [rsp + 0x1a8], bpl
jne 0x140089d4c
cmp rsi, rbp
jle 0x140089ebd
mov rdx, qword [rsp + 0x110]
cmp rdx, rbp
je 0x140089d2b
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x1a0]
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, r13
lea r9, [rsp + 0x1a0]
mov r8d, esi
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140089ebd
cmp dword [rsp + 0xa0], ebp
jne 0x140089daa
lea rcx, [rsp + 0x1a8]
call fcn.14006166c
lea rcx, [rsp + 0x1a8]
mov r8d, edi
mov rdx, r13
call fcn.140067254
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
call fcn.140060a94
lea rcx, [rsp + 0x1a8]
call fcn.1400590a4
jmp 0x140089ebd
cmp dword [rsp + 0xa0], ebp
je 0x140089db2
mov r8, r9
jmp 0x140089eab
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 + 0x88]
call fcn.140061470
mov ecx, dword [rsp + 0x6c]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov rdi, qword [rsp + 0x88]
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 + 0x1a8], bpl
jne 0x140089e57
cmp esi, ebp
jle 0x140089ebd
mov rdx, qword [rsp + 0x110]
cmp rdx, rbp
je 0x140089e4f
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x1a0]
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
jmp 0x140089d2e
cmp byte [rsp + 0x41], bpl
je 0x140089e90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
movsxd r9, eax
lea rax, [rsp + 0x78]
mov r8, rdi
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.140071ef8
jmp 0x140089ebd
lea rcx, [rsp + 0x1b8]
mov r8d, esi
mov rdx, rdi
call fcn.1400671b8
mov r8, qword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
call fcn.140060a94
cmp rbx, rbp
je 0x140089ecb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [rsp + 0x88]
call fcn.1400590a4
lea rcx, [rsp + 0x1b8]
call fcn.1400590a4
lea rcx, [rsp + 0x60]
call fcn.1400590a4
cmp rbx, rbp
je 0x140089f02
cmp rbx, r14
je 0x140089f02
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x78]
call fcn.1400590a4
lea rcx, [rsp + 0x120]
call fcn.1400590a4
lea rcx, [rsp + 0xa8]
call fcn.1400590a4
lea rcx, [rsp + 0x98]
call fcn.1400590a4
lea rcx, [rsp + 0x138]
call fcn.1400590a4
xor eax, eax
jmp 0x140089f85
lea rcx, [rsp + 0x78]
call fcn.1400590a4
lea rcx, [rsp + 0x120]
call fcn.1400590a4
lea rcx, [rsp + 0xa8]
call fcn.1400590a4
lea rcx, [rsp + 0x98]
call fcn.1400590a4
lea rcx, [rsp + 0x138]
call fcn.1400590a4
mov rax, r12
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret