Function at 0x1400a6914
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.14005c96c
lea rcx, [rsp + 0x1a8]
xor ebp, ebp
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], rbp
call fcn.140054c14
lea rcx, [rsp + 0x98]
call fcn.14005c96c
lea rcx, [rsp + 0xa8]
call fcn.14005c96c
lea rcx, [rsp + 0x118]
call fcn.14005c96c
lea rcx, [rsp + 0x78]
call fcn.14005c96c
mov r11, qword [rsp + 0x1a8]
lea r12d, [rbp + 1]
lea r8d, [rbp + 0x2c]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x138]
mov r9b, r12b
mov qword [rsp + 0x50], r11
call fcn.1400747d0
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.1400604ac
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 0x1400a6a46
cmp dx, ax
ja 0x1400a6a0f
cmp ax, 0xd
jbe 0x1400a6a15
cmp r8w, ax
jne 0x1400a6a18
mov rbx, rcx
add rcx, rdi
mov ax, word [rcx]
cmp ax, bp
jne 0x1400a6a04
mov qword [rsp + 0x1b8], rbx
cmp rbx, rbp
je 0x1400a6a46
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 0x1400a6b5f
cmp r13w, word [r9]
jne 0x1400a6b5f
lea ebx, [r14 + 3]
lea r15d, [r14 + 0x2a]
cmp r15w, word [r9 + 2]
je 0x1400a6b47
lea rdx, [rsp + 0x1a8]
lea rcx, str.nobom
mov r8d, ebx
call fcn.14005f144
cmp al, bpl
je 0x1400a6aa4
mov byte [rsp + 0x40], r12b
jmp 0x1400a6b35
lea rdx, [rsp + 0x1a8]
lea rcx, str.transonly
mov r8d, 0xa
call fcn.14005f144
cmp al, bpl
je 0x1400a6aca
mov byte [rsp + 0x70], r12b
jmp 0x1400a6b35
lea rdx, [rsp + 0x1a8]
lea rcx, [0x140109f88]
mov r8d, r14d
call fcn.14005f144
cmp al, bpl
je 0x1400a6aeb
mov sil, r12b
jmp 0x1400a6b35
mov rcx, qword [rsp + 0x1a8]
movzx eax, word [rcx]
cmp ax, bp
je 0x1400a6b28
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x1400a6b0f
cmp ax, 0xd
jbe 0x1400a6b20
cmp r8w, ax
je 0x1400a6b20
add rcx, rdi
mov ax, word [rcx]
cmp ax, bp
jne 0x1400a6b04
mov qword [rsp + 0x1a8], rcx
lea rcx, [rsp + 0x1a8]
call fcn.140054c14
mov r9, qword [rsp + 0x1a8]
cmp r13w, word [r9]
je 0x1400a6a73
mov r9, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x1b8]
mov r15, qword [rsp + 0x1a0]
mov byte [rsp + 0x59], bpl
mov dil, bpl
mov byte [rsp + 0x5a], bpl
mov byte [rsp + 0x1a8], bpl
mov r14b, bpl
mov byte [rsp + 0x1b8], bpl
cmp rbx, rbp
je 0x1400a6bc9
lea rcx, [rsp + 0x90]
mov rdx, rbx
call fcn.1400671f0
mov r11, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r11
call fcn.140054c44
mov r9, qword [rsp + 0x98]
cmp sil, bpl
je 0x1400a7935
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, r15
call fcn.14000396c
mov rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x78]
xor r9d, r9d
mov rcx, r15
mov byte [rsp + 0x20], r12b
call fcn.140071328
mov r11, qword [rsp + 0x78]
mov r8d, 0x2c
mov qword [rsp + 0x50], r11
mov rsi, rbp
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x100], rbp
cmp r8w, word [r11]
jne 0x1400a6c31
add r11, 2
mov qword [rsp + 0x50], r11
lea rcx, [rsp + 0x50]
call fcn.140054c14
mov rcx, qword [rsp + 0x50]
mov r13w, word [rcx]
cmp r13w, bp
je 0x1400a78e8
mov r11d, 0x2b
mov edi, 0x3a3
or r14, 0xffffffffffffffff
lea eax, [r11 + 0x14]
lea ebx, [rdi - 3]
cmp r11w, r13w
jne 0x1400a6c7a
cmp r11w, word [rcx + 2]
jne 0x1400a6ca6
add rcx, 2
mov r13d, edi
jmp 0x1400a6ca6
mov edx, 0x2a
cmp dx, r13w
jne 0x1400a6c93
cmp dx, word [rcx + 2]
jne 0x1400a6ca6
add rcx, 2
mov r13w, bx
cmp bx, r13w
jne 0x1400a6c9e
mov rsi, r12
jmp 0x1400a6ca6
cmp ax, r13w
cmove rsi, r14
mov r10d, 2
add rcx, r10
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.140054c14
mov eax, 0x3a9
lea ecx, [r10 + 0x3d]
cmp ax, r13w
mov rax, qword [rsp + 0x50]
movzx r9d, r13w
cmove r9w, cx
mov word [rsp + 0x1a8], r9w
cmp di, r13w
je 0x1400a6cf8
cmp bx, r13w
je 0x1400a6cf8
cmp cx, r9w
jne 0x1400a6d87
cmp r8w, word [rax]
je 0x1400a6d8d
lea rcx, [rsp + 0x50]
mov edx, r8d
mov rdi, rax
mov qword [rsp + 0xd0], rax
call fcn.1400da4f4
mov rcx, qword [rsp + 0x50]
cmp word [rcx], bp
je 0x1400a6d2c
mov word [rcx], bp
add qword [rsp + 0x50], r10
mov eax, 0x3f
cmp ax, r9w
jne 0x1400a6d95
cmp word [rdi], bp
mov rbx, rdi
lea edi, [rax - 0x12]
je 0x1400a6d9a
cmp r11w, word [rbx]
je 0x1400a6d61
cmp di, word [rbx]
je 0x1400a6d57
add rbx, r10
cmp word [rbx], bp
jne 0x1400a6d42
jmp 0x1400a6d9a
mov qword [rsp + 0x1b8], rbx
jmp 0x1400a6d6d
lea rax, [rbx + 2]
mov qword [rsp + 0x1b8], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x1b8]
call fcn.140060b48
mov word [rbx], bp
jmp 0x1400a6d9a
cmp r8w, word [rax]
jne 0x1400a6d95
add rax, r10
mov qword [rsp + 0x50], rax
mov edi, 0x2d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x90], r14
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xe8], 0xfffffffffffe0000
mov dword [rsp + 0x1b8], r12d
call fcn.1400071a4
cmp eax, ebp
jle 0x1400a78e8
mov r12, qword [rsp + 0x88]
mov ecx, 0x3e
cmp di, r13w
jne 0x1400a6e09
lea r13d, [rcx - 0x13]
jmp 0x1400a6e18
mov eax, 0x3c
cmp ax, r13w
jne 0x1400a6e1b
mov r13w, cx
neg r12
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x128], r12
call fcn.140007180
cmp eax, ebp
jle 0x1400a78e8
cmp dword [rsp + 0x1b8], ebp
jle 0x1400a78e8
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.1400071a4
mov rbx, qword [rsp + 0x110]
cmp rbx, rbp
jl 0x1400a78e8
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1400071a4
lea rdi, [0x14011cf88]
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.1400174d4
cmp rax, rbp
je 0x1400a78df
mov r14, qword [rax + 0x18]
movabs rcx, 0x3fffffffffffffff
and r14, rcx
cmp rbx, r14
jge 0x1400a78df
cmp r14, rbp
jle 0x1400a78df
mov rcx, qword [rax + 8]
mov r15, qword [rsp + 0x90]
mov rax, r14
cmp r15, rbp
mov qword [rsp + 0x110], 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 + 0xf8], rax
jle 0x1400a78df
movzx eax, r13w
lea rdi, [rcx + rbx]
mov ecx, 0x68
or ax, 0x20
lea r10d, [rcx + 7]
cmp cx, ax
je 0x1400a6f3f
lea ecx, [r10 - 1]
cmp cx, ax
je 0x1400a6f3f
cmp r10w, ax
jne 0x1400a6f43
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 0x1400a7002
lea eax, [rdx - 0x14]
cmp ax, r13w
je 0x1400a7002
cmp cx, r13w
je 0x1400a7002
cmp r10w, r13w
je 0x1400a7008
lea rcx, [0x14011cf88]
jmp 0x1400a78e2
cmp r10w, r13w
jne 0x1400a700f
cmp rbx, r12
cmovg rbx, r12
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.1400071a4
mov rax, qword [rsp + 0xe0]
lea rdx, [rsp + 0xe8]
cmp rax, rbp
lea rcx, [rsp + 0x50]
cmove rax, r15
mov qword [rsp + 0xb0], rax
call fcn.1400071a4
mov r15, qword [rsp + 0xe8]
cmp r15, rbp
jg 0x1400a708f
cmp r15, 0xfffffffffffe0000
je 0x1400a7083
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 + 0xf0]
lea rcx, [rsp + 0x50]
call fcn.1400071a4
movzx r8d, byte [rsp + 0x1b8]
mov rax, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xf8]
cmp rax, rbp
mov qword [rsp + 0xc0], rdi
cmove rax, qword [rsp + 0xb0]
mov ecx, r9d
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x108], rax
mov eax, r9d
and eax, 7
sub ecx, eax
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x110]
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 + 0xa4], ecx
lea eax, [rcx + rcx]
mov qword [rsp + 0x158], r11
mov dword [rsp + 0x80], eax
mov rax, r9
cqo
idiv r8
mov rbx, rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x120], 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 + 0x88], rax
imul rcx, r11
mov qword [rsp + 0xf0], 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 + 0xe0], 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 0x1400a71fa
lea eax, [rcx + 0x2b]
cmp ax, r13w
je 0x1400a71fa
lea eax, [rcx + 0x23]
cmp ax, r13w
je 0x1400a71fa
lea eax, [rcx + 0x79]
cmp ax, r13w
je 0x1400a71fa
lea eax, [rcx + 0x3c]
cmp ax, word [rsp + 0x1a8]
je 0x1400a71fa
lea eax, [rcx - 2]
mov byte [rsp + 0x1a8], al
jmp 0x1400a7207
mov byte [rsp + 0x1a8], bpl
mov eax, 1
sub r15, rax
mov qword [rsp + 0xd8], r15
js 0x1400a764e
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 0x1400a7334
movsxd rdx, dword [rsp + 0xb8]
mov r14, rcx
add rdx, rcx
cmp rcx, rdx
jae 0x1400a7277
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 0x1400a7256
mov rcx, qword [rsp + 0xc8]
movsxd rax, dword [rsp + 0xa0]
cmp eax, ebp
jle 0x1400a78c2
lea rcx, [rsp + 0x150]
mov r8, rax
mov rdx, rdi
mov rbx, rax
call fcn.14001bd80
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14001bd80
mov r8, rbx
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.14001bd80
mov r11, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
mov r9, qword [rsp + 0xf8]
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 + 0xd8], r15
mov qword [rsp + 0xc0], rdx
mov rdi, rdx
mov qword [rsp + 0xc8], rcx
js 0x1400a764e
jmp 0x1400a7239
mov r10d, 0x6f
cmp r10w, r13w
jne 0x1400a7440
cmp qword [rsp + 0x158], 1
jg 0x1400a73aa
lea r9, [rbx - 1]
cmp r9, rbp
jl 0x1400a78b5
mov rax, qword [rsp + 0xf0]
lea r10d, [r14 - 1]
mov r12d, 1
cmp r10d, ebp
lea rdx, [rax + rdi]
mov r8d, r10d
jl 0x1400a7395
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 0x1400a737a
mov rax, qword [rsp + 0xf0]
add rdi, r11
sub r9, r12
jns 0x1400a736e
mov r12, qword [rsp + 0x128]
jmp 0x1400a72d6
lea r10, [rbx - 1]
cmp r10, rbp
jl 0x1400a72fe
mov rax, qword [rsp + 0xf0]
mov r15d, dword [rsp + 0xa4]
movsxd r12, dword [rsp + 0x80]
dec r14d
cmp r14d, ebp
lea rdx, [rax + rdi]
mov r9d, r14d
jl 0x1400a7422
lea ebx, [r15 - 1]
mov r15d, 1
cmp ebx, ebp
mov r8d, ebx
jl 0x1400a7402
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 0x1400a73ef
sub rdx, r12
sub r9d, r15d
jns 0x1400a73e8
mov r11, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xf0]
mov r15d, dword [rsp + 0xa4]
add rdi, r11
sub r10, 1
jns 0x1400a73d2
mov r12, qword [rsp + 0x128]
mov r15, qword [rsp + 0xd8]
jmp 0x1400a72c6
mov rax, qword [rsp + 0x120]
movzx ecx, byte [rsp + 0x1b8]
mov r10, rdi
mov r14d, eax
cdqe
mov bl, r12b
sub r10, rax
mov r11d, ebp
mov qword [rsp + 0xd8], rbp
mov qword [rsp + 0xe8], rbp
mov dword [rsp + 0x130], ecx
add r10, r9
mov edx, 1
sub ecx, edx
je 0x1400a7766
sub ecx, edx
je 0x1400a76a5
cmp ecx, edx
je 0x1400a7566
and bl, 7
lea r9d, [rdx + 7]
sub r9b, bl
cmp rdi, r10
jae 0x1400a7843
movzx r8d, byte [rsp + 0x68]
cmp r8d, 5
jg 0x1400a751a
je 0x1400a7510
mov ecx, r8d
cmp r8d, ebp
je 0x1400a750b
sub ecx, edx
je 0x1400a74fb
sub ecx, edx
je 0x1400a74e3
sub ecx, edx
je 0x1400a74de
cmp ecx, edx
jne 0x1400a7555
movsx rax, byte [rdi]
add rsi, rax
jmp 0x1400a7555
mov byte [rdi], r12b
jmp 0x1400a7555
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 0x1400a7555
mov eax, 0x5e
cmp ax, r13w
jne 0x1400a7555
xor byte [rdi], r12b
jmp 0x1400a7555
add byte [rdi], r12b
jmp 0x1400a7555
movsx rax, byte [rdi]
imul rsi, rax
jmp 0x1400a7555
mov ecx, r8d
sub ecx, 6
je 0x1400a7552
sub ecx, edx
je 0x1400a754d
sub ecx, edx
je 0x1400a7538
cmp ecx, edx
jne 0x1400a7555
test byte [rdi], r12b
je 0x1400a7555
add rsi, rdx
jmp 0x1400a7555
test byte [rdi], r12b
je 0x1400a7555
mov rsi, rdi
sub rsi, qword [rsp + 0x110]
jmp 0x1400a7646
or byte [rdi], r12b
jmp 0x1400a7555
and byte [rdi], r12b
add rdi, rdx
cmp rdi, r10
jb 0x1400a74b1
jmp 0x1400a7843
and bl, 0x3f
mov r9d, 0x40
sub r9b, bl
cmp rdi, r10
jae 0x1400a7843
movzx r8d, byte [rsp + 0x68]
mov rax, qword [rsp + 0x60]
cmp r8d, 5
jg 0x1400a7609
je 0x1400a7600
mov ecx, r8d
cmp r8d, ebp
je 0x1400a75f8
sub ecx, edx
je 0x1400a75e1
sub ecx, edx
je 0x1400a75bf
sub ecx, edx
je 0x1400a75b7
mov rax, qword [rsp + 0x60]
cmp ecx, edx
jne 0x1400a7694
add rsi, qword [rdi]
jmp 0x1400a7694
mov qword [rdi], r12
jmp 0x1400a768f
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 0x1400a768f
mov eax, 0x5e
cmp ax, r13w
jne 0x1400a768f
xor qword [rdi], r12
jmp 0x1400a768f
add qword [rdi], r12
jmp 0x1400a768f
imul rsi, qword [rdi]
jmp 0x1400a7694
mov ecx, r8d
sub ecx, 6
je 0x1400a768c
sub ecx, edx
je 0x1400a7687
sub ecx, edx
je 0x1400a762c
cmp ecx, edx
jne 0x1400a768f
mov rax, qword [rsp + 0x60]
test qword [rdi], r12
je 0x1400a7694
add rsi, rdx
jmp 0x1400a7694
test qword [rdi], r12
je 0x1400a768f
sub rdi, qword [rsp + 0x110]
mov rax, rdi
cqo
idiv qword [rsp + 0x60]
mov rsi, rax
add rsi, qword [rsp + 0x100]
mov rax, qword [rsp + 0xd0]
cmp rax, rbp
je 0x1400a7675
mov rcx, qword [rsp + 0x1a0]
lea r9, str._I64d
mov r8, rax
mov rdx, rsi
call fcn.14005f91c
lea rcx, [0x14011cf88]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400a78ef
or qword [rdi], r12
jmp 0x1400a768f
and qword [rdi], r12
mov rax, qword [rsp + 0x60]
add rdi, rax
cmp rdi, r10
jb 0x1400a7586
jmp 0x1400a7843
and bl, 0x1f
mov r9d, 0x20
sub r9b, bl
cmp rdi, r10
jae 0x1400a7843
movzx r8d, byte [rsp + 0x68]
cmp r8d, 5
jg 0x1400a7722
je 0x1400a771a
mov ecx, r8d
cmp r8d, ebp
je 0x1400a7715
sub ecx, edx
je 0x1400a7705
sub ecx, edx
je 0x1400a76ed
sub ecx, edx
je 0x1400a76e8
cmp ecx, edx
jne 0x1400a7753
movsxd rax, dword [rdi]
add rsi, rax
jmp 0x1400a7753
mov dword [rdi], r12d
jmp 0x1400a7753
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 0x1400a7753
mov eax, 0x5e
cmp ax, r13w
jne 0x1400a7753
xor dword [rdi], r12d
jmp 0x1400a7753
add dword [rdi], r12d
jmp 0x1400a7753
mov eax, dword [rdi]
imul rsi, rax
jmp 0x1400a7753
mov ecx, r8d
sub ecx, 6
je 0x1400a7750
sub ecx, edx
je 0x1400a774b
sub ecx, edx
je 0x1400a7740
cmp ecx, edx
jne 0x1400a7753
test dword [rdi], r12d
je 0x1400a7753
add rsi, rdx
jmp 0x1400a7753
test dword [rdi], r12d
jne 0x1400a7631
jmp 0x1400a7753
or dword [rdi], r12d
jmp 0x1400a7753
and dword [rdi], r12d
add rdi, qword [rsp + 0x60]
cmp rdi, r10
jb 0x1400a76c0
jmp 0x1400a7843
and bl, 0xf
mov r9d, 0x10
sub r9b, bl
cmp rdi, r10
jae 0x1400a7843
movzx r8d, byte [rsp + 0x68]
cmp r8d, 5
jg 0x1400a77f6
je 0x1400a77ec
mov ecx, r8d
cmp r8d, ebp
je 0x1400a77e6
sub ecx, edx
je 0x1400a77d5
sub ecx, edx
je 0x1400a77b7
sub ecx, edx
je 0x1400a77b1
cmp ecx, edx
jne 0x1400a7835
movsx rax, word [rdi]
add rsi, rax
jmp 0x1400a7835
mov word [rdi], r12w
jmp 0x1400a7835
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 0x1400a7835
mov eax, 0x5e
cmp ax, r13w
jne 0x1400a7835
xor word [rdi], r12w
jmp 0x1400a7835
add word [rdi], r12w
jmp 0x1400a7835
movsx rax, word [rdi]
imul rsi, rax
jmp 0x1400a7835
mov ecx, r8d
sub ecx, 6
je 0x1400a7831
sub ecx, edx
je 0x1400a782b
sub ecx, edx
je 0x1400a781a
cmp ecx, edx
jne 0x1400a7835
movzx ecx, word [rdi]
movsx eax, r12w
test eax, ecx
je 0x1400a7835
add rsi, rdx
jmp 0x1400a7835
movzx ecx, word [rdi]
movsx eax, r12w
test eax, ecx
jne 0x1400a7631
jmp 0x1400a7835
or word [rdi], r12w
jmp 0x1400a7835
and word [rdi], r12w
add rdi, qword [rsp + 0x60]
cmp rdi, r10
jb 0x1400a7781
cmp r14d, ebp
jle 0x1400a7894
cmp byte [rsp + 0x1a8], bpl
je 0x1400a7894
lea rcx, [rsp + 0xe8]
movsxd r8, r14d
mov rdx, rdi
call fcn.14001bd80
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x130]
mov qword [rsp + 0xd8], rdi
mov r11d, r14d
lea r10, [rsp + rax + 0xe8]
mov r14d, ebp
lea rdi, [rsp + 0xe8]
jmp 0x1400a747b
cmp r11d, ebp
je 0x1400a72be
mov rcx, qword [rsp + 0xd8]
movsxd r8, r11d
lea rdx, [rsp + 0xe8]
jmp 0x1400a72b9
mov r9, qword [rsp + 0xf8]
jmp 0x1400a72fe
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x88]
jmp 0x1400a7304
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbp, 0xffffffff80070057
lea rcx, [rsp + 0x78]
call fcn.140054c44
lea rcx, [rsp + 0x118]
call fcn.140054c44
lea rcx, [rsp + 0xa8]
call fcn.140054c44
lea rcx, [rsp + 0x98]
call fcn.140054c44
lea rcx, [rsp + 0x138]
call fcn.140054c44
mov rax, rbp
jmp 0x1400a8878
mov rax, qword [rsp + 0x50]
mov esi, 0x2c
lea rcx, [rax + 2]
mov qword [rsp + 0x120], rcx
cmp si, word [rax]
jne 0x1400a79db
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x138]
mov r8d, esi
mov r9b, r12b
call fcn.1400747d0
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, rax
call fcn.1400605d8
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x98]
cmp si, word [rax]
jne 0x1400a79db
lea ebx, [rsi - 0x2a]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x138]
add rax, rbx
mov r8d, esi
mov r9b, r12b
mov qword [rsp + 0x50], rax
call fcn.1400747d0
lea rdx, [rsp + 0x118]
mov rcx, rax
xor r8d, r8d
call fcn.1400604ac
mov r9, qword [rsp + 0x98]
mov rax, qword [rsp + 0x50]
jmp 0x1400a79e0
mov ebx, 2
cmp si, word [rax]
jne 0x1400a7a1d
add rax, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x138]
mov r8d, esi
mov r9b, r12b
mov qword [rsp + 0x50], rax
call fcn.1400747d0
lea rdx, [rsp + 0x78]
xor r8d, r8d
mov rcx, rax
call fcn.1400604ac
mov r9, qword [rsp + 0x98]
cmp word [r9], bp
je 0x1400a8837
mov rax, qword [rsp + 0xa8]
cmp word [rax], bp
je 0x1400a8837
mov r10, qword [rsp + 0x118]
cmp word [r10], bp
je 0x1400a8837
mov rax, qword [rsp + 0x78]
cmp word [rax], bp
je 0x1400a8837
mov esi, 0x2a
mov dword [rsp + 0x6c], ebp
mov dword [rsp + 0x84], ebp
mov r15d, ebp
mov r13d, ebp
mov r12d, ebp
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0xa0], ebp
mov dword [rsp + 0x68], ebp
mov r11, rbp
mov byte [rsp + 0x58], bpl
cmp si, word [r9]
jne 0x1400a7ad6
cmp si, word [r9 + 2]
jne 0x1400a7abe
mov r12b, byte [r9]
add r9, 4
mov byte [rsp + 0x5a], bl
mov byte [rsp + 0x59], r12b
mov dil, r12b
mov r12d, ebp
cmp si, word [r9]
jne 0x1400a7ad6
add r9, rbx
mov byte [rsp + 0x5a], 3
jmp 0x1400a7ad6
cmp si, word [r9]
jne 0x1400a7ad6
mov r12b, byte [r9]
add r9, 2
mov byte [rsp + 0x59], r12b
mov dil, r12b
mov r12d, ebp
mov eax, 0x2d
cmp ax, word [r9]
jne 0x1400a7ae7
mov dil, byte [r9]
add r9, rbx
cmp dil, bpl
je 0x1400a78e8
lea rcx, [0x140109f84]
mov rdx, r9
call fcn.140056198
mov edi, 0x4b1
cmp al, bpl
je 0x1400a7b18
mov edi, 1
mov byte [rsp + 0x58], dil
jmp 0x1400a7c62
lea rcx, str.ANSI
mov rdx, r9
call fcn.140056198
cmp al, bpl
jne 0x1400a7c3f
lea rcx, [0x140109f80]
mov rdx, r9
call fcn.140056198
cmp al, bpl
je 0x1400a7b54
mov edi, 1
mov r15d, 0x3a8
jmp 0x1400a7c62
lea rcx, str.BIG5
mov rdx, r9
call fcn.140056198
cmp al, bpl
je 0x1400a7b78
mov edi, 1
mov r15d, 0x3b6
jmp 0x1400a7c62
lea rcx, str.UTF8
mov rdx, r9
call fcn.140056198
cmp al, bpl
je 0x1400a7b9c
mov edi, 1
mov r15d, 0xfde9
jmp 0x1400a7c62
lea rcx, str.UTF7
mov rdx, r9
call fcn.140056198
cmp al, bpl
je 0x1400a7bc0
mov edi, 1
mov r15d, 0xfde8
jmp 0x1400a7c62
lea rcx, [0x140109f68]
mov rdx, r9
call fcn.140056198
cmp al, bpl
jne 0x1400a7be8
lea rcx, [0x1400fe914]
mov rdx, r9
call fcn.140056198
cmp al, bpl
je 0x1400a7bf5
mov edi, 1
mov r13d, 0x4b0
jmp 0x1400a7c62
lea rcx, str.UNICODEB
mov rdx, r9
call fcn.140056198
cmp al, bpl
jne 0x1400a7c1d
lea rcx, str.UNIB
mov rdx, r9
call fcn.140056198
cmp al, bpl
je 0x1400a7c22
mov r13d, edi
jmp 0x1400a7c3f
movzx eax, word [r9]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x1400a7c46
mov rcx, r9
call fcn.14005dbd4
mov r15, rax
mov edi, 1
jmp 0x1400a7c62
cmp word [r9], bp
jne 0x1400a78e8
mov edi, 1
mov r13d, edi
mov r12d, edi
mov dword [rsp + 0x80], edi
cmp si, word [r10]
jne 0x1400a7ca0
cmp si, word [r10 + 2]
jne 0x1400a7c80
mov r12b, byte [r10]
add r10, 4
mov byte [rsp + 0x1b8], r12b
jmp 0x1400a7c8d
cmp si, word [r10]
jne 0x1400a7ca0
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 0x1400a7cb1
mov r14b, byte [r10]
add r10, rbx
cmp r14b, bpl
je 0x1400a78e8
lea rcx, str.ANSI
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7cd7
mov dword [rsp + 0x6c], ebp
jmp 0x1400a7e1e
lea rcx, [0x140109f80]
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7cf8
mov dword [rsp + 0x6c], 0x3a8
jmp 0x1400a7e1e
lea rcx, str.BIG5
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7d19
mov dword [rsp + 0x6c], 0x3b6
jmp 0x1400a7e1e
lea rcx, str.UTF8
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7d49
mov dword [rsp + 0x6c], 0xfde9
lea r11, [0x140104b80]
mov dword [rsp + 0x68], 3
jmp 0x1400a7e1e
lea rcx, str.UTF7
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7d6a
mov dword [rsp + 0x6c], 0xfde8
jmp 0x1400a7e1e
lea rcx, [0x140109f68]
mov rdx, r10
call fcn.140056198
cmp al, bpl
jne 0x1400a7d92
lea rcx, [0x1400fe914]
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7da6
mov dword [rsp + 0x84], 0x4b0
lea r11, [0x140104b78]
jmp 0x1400a7de0
lea rcx, str.UNICODEB
mov rdx, r10
call fcn.140056198
cmp al, bpl
jne 0x1400a7dce
lea rcx, str.UNIB
mov rdx, r10
call fcn.140056198
cmp al, bpl
je 0x1400a7de6
mov dword [rsp + 0x84], 0x4b1
lea r11, [0x140104b7c]
mov dword [rsp + 0x68], ebx
jmp 0x1400a7e1e
movzx eax, word [r10]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x1400a7e06
mov rcx, r10
call fcn.14005dbd4
mov dword [rsp + 0x6c], eax
jmp 0x1400a7e1e
cmp word [r10], bp
jne 0x1400a78e8
mov dword [rsp + 0x84], edi
mov dword [rsp + 0xa0], edi
cmp byte [rsp + 0x40], bpl
lea rcx, [rsp + 0x48]
mov rbx, rbp
cmovne r11, rbp
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x100], r11
call fcn.14005c690
or r14, 0xffffffffffffffff
mov esi, ebp
cmp byte [rsp + 0x59], bpl
jne 0x1400a8104
mov rax, qword [rsp + 0x120]
lea r8d, [r14 + 0x2d]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x138]
mov r9b, dil
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x50], rax
call fcn.1400747d0
lea rdx, [rsp + 0xa8]
mov rcx, rax
xor r8d, r8d
call fcn.1400604ac
mov rcx, qword [rsp + 0xa8]
call fcn.14001a310
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 + 0xd0]
mov r8d, 0x80000000
mov rdx, rax
mov qword [rsp + 0x20], rbp
call fcn.1400037d4
mov rdi, qword [rsp + 0xd0]
cmp rdi, rbp
jne 0x1400a7ef8
lea rcx, [rsp + 0x48]
call fcn.140054c44
mov ebp, 1
jmp 0x1400a78ef
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140056048
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 1]
call fcn.140056048
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov r12, rax
call fcn.140056048
lea r11d, [r12 + 0xa]
lea rcx, [rsp + 0x48]
movsxd rdx, r11d
call fcn.14005c770
mov r11, qword [rsp + 0x48]
lea r9, [rsp + 0xb8]
mov byte [r11 + 2], bpl
mov rcx, qword [rsp + 0x48]
mov r8d, r12d
mov byte [rcx + 1], bpl
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbp
mov byte [rcx], bpl
mov rdx, qword [rsp + 0x48]
or dword [rsp + 0xb8], 0xffffffff
mov rcx, rdi
mov qword [rsp + 0xd0], rdx
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0xb8]
cmp esi, ebp
jge 0x1400a7fa5
or r14, 0xffffffffffffffff
cmp rdi, r14
je 0x1400a7ee4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a7ee4
mov rax, qword [rsp + 0x48]
mov r11b, byte [rsp + 0x58]
mov r9d, ebp
mov byte [rax + rsi + 2], bpl
mov rax, qword [rsp + 0x48]
mov byte [rax + rsi + 1], bpl
mov rax, qword [rsp + 0x48]
mov byte [rax + rsi], bpl
cmp r11b, bpl
jne 0x1400a7fd8
cmp r13d, 0x4b0
jne 0x1400a800d
mov r10, qword [rsp + 0xd0]
lea rdx, [0x140104b78]
mov r8d, 2
mov rcx, r10
call fcn.140054c74
cmp eax, ebp
jne 0x1400a8006
mov eax, 2
mov r13d, 0x4b0
jmp 0x1400a8076
cmp r11b, bpl
jne 0x1400a801e
jmp 0x1400a8015
mov r10, qword [rsp + 0xd0]
cmp r13d, 0x4b1
jne 0x1400a8049
lea rdx, [0x140104b7c]
mov r8d, 2
mov rcx, r10
call fcn.140054c74
cmp eax, ebp
jne 0x1400a8044
mov eax, 2
mov r13d, 0x4b1
jmp 0x1400a8076
cmp r11b, bpl
jne 0x1400a8052
cmp r15d, 0xfde9
jne 0x1400a809f
lea rdx, [0x140104b80]
mov r8d, 3
mov rcx, r10
call fcn.140054c74
cmp eax, ebp
jne 0x1400a809f
mov eax, 3
mov r15d, 0xfde9
mov dword [rsp + 0xa4], eax
cdqe
mov r8d, 3
sub r12, rax
lea rdx, [r10 + rax]
mov rcx, r10
add r8, r12
call fcn.14001bd38
mov r9d, dword [rsp + 0xa4]
sub esi, r9d
cmovs esi, ebp
cmp rdi, r14
je 0x1400a80b3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, bl
mov r9d, 2
cmp esi, ebp
jl 0x1400a7ee4
cmp byte [rsp + 0x58], bpl
je 0x1400a828d
cmp dil, bpl
je 0x1400a828d
mov r12, qword [rsp + 0x48]
lea rdx, [0x140104b78]
mov r8, r9
mov rcx, r12
mov edi, ebp
call fcn.140054c74
cmp eax, ebp
jne 0x1400a8225
mov r13d, 0x4b0
jmp 0x1400a8265
mov dil, byte [rsp + 0x5a]
cmp dil, bpl
je 0x1400a81d5
mov r12, qword [rsp + 0x1a0]
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, r12
call fcn.14000396c
mov rdx, qword [rsp + 0xa8]
mov r9d, r14d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.1400174d4
lea rcx, [rsp + 0x48]
mov r12, rax
mov eax, 8
cmp r12, rbp
je 0x1400a81b2
mov eax, 3
cmp dil, al
jne 0x1400a8175
mov rdx, qword [r12 + 8]
call fcn.14006c534
mov dil, 2
mov esi, eax
jmp 0x1400a81bd
movsxd rsi, dword [r12 + 0x18]
lea eax, [rsi + 8]
movsxd rdx, eax
call fcn.14005c770
mov rcx, qword [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 8]
add rcx, rsi
mov rdi, rsi
call fcn.1400e16a0
mov rdx, qword [r12 + 8]
mov rcx, qword [rsp + 0x48]
mov r8, rsi
call fcn.14001bd80
mov dil, 1
jmp 0x1400a81bd
mov rdx, rax
call fcn.14005c770
mov dil, bl
xor edx, edx
movsxd rcx, esi
add rcx, qword [rsp + 0x48]
lea r8d, [rdx + 8]
call fcn.1400e16a0
jmp 0x1400a80b6
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x48]
cmp r12d, ebp
je 0x1400a8210
call fcn.140067308
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x48]
mov esi, eax
add esi, esi
lea eax, [rsi + 8]
movsxd rdx, eax
call fcn.14005c770
jmp 0x1400a8217
call fcn.14006c534
mov esi, eax
mov r9d, 2
mov dil, r9b
jmp 0x1400a80bc
lea rdx, [0x140104b7c]
mov r8, r9
mov rcx, r12
call fcn.140054c74
cmp eax, ebp
jne 0x1400a8243
mov r13d, 0x4b1
jmp 0x1400a8265
mov r9d, 3
lea rdx, [0x140104b80]
mov rcx, r12
mov r8, r9
call fcn.140054c74
cmp eax, ebp
jne 0x1400a8286
mov r15d, 0xfde9
mov eax, esi
movsxd rdx, r9d
mov rcx, r12
sub eax, r9d
add rdx, r12
mov edi, r9d
add eax, 4
movsxd r8, eax
call fcn.14001bd38
mov r12, qword [rsp + 0x48]
sub esi, edi
cmovs esi, ebp
jmp 0x1400a8292
mov r12, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x120], r12
call fcn.14005c96c
lea rcx, [rsp + 0x6c]
call fcn.14005c480
cmp dword [rax], r15d
jne 0x1400a838c
lea rcx, [rsp + 0x84]
call fcn.14005c480
cmp dword [rax], r13d
jne 0x1400a838c
cmp byte [rsp + 0x1b8], bpl
je 0x1400a8302
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
lea rax, [rsp + 0x78]
mov r9d, esi
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rax
call fcn.14006ba00
jmp 0x1400a8373
cmp byte [rsp + 0x1a8], bpl
jne 0x1400a832b
mov rdx, qword [rsp + 0x48]
lea r9, [rsp + 0x1a0]
mov r8d, esi
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400a8373
cmp dword [rsp + 0xa0], ebp
jne 0x1400a834d
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov r8d, esi
call fcn.140062084
mov r8, qword [rsp + 0x60]
jmp 0x1400a8361
mov r8, qword [rsp + 0xa8]
cmp dword [rsp + 0x80], ebp
jne 0x1400a8361
mov r8, r12
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
call fcn.14005be18
lea rcx, [rsp + 0x60]
call fcn.140054c44
lea rcx, [rsp + 0x48]
call fcn.140054c44
jmp 0x1400a78ef
cmp r13d, 0x4b1
jne 0x1400a83aa
mov rcx, qword [rsp + 0x48]
mov edx, esi
mov r13d, 0x4b0
call fcn.140059f7c
and esi, 0xfffffffe
cmp byte [rsp + 0x1a8], bpl
jne 0x1400a8410
mov rcx, qword [rsp + 0x78]
call fcn.14001a310
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0xd8]
mov r9d, 7
mov r8d, 0x40000000
mov rdx, rax
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rbp
call fcn.1400037d4
mov rbx, qword [rsp + 0xd8]
cmp rbx, rbp
jne 0x1400a8410
lea rcx, [rsp + 0x60]
call fcn.140054c44
jmp 0x1400a7ee4
mov eax, 0x3a8
mov qword [rsp + 0x90], rbp
cmp dword [rsp + 0x6c], eax
jne 0x1400a842c
cmp r15d, 0x3b6
je 0x1400a8443
cmp r15d, eax
jne 0x1400a84fd
cmp dword [rsp + 0x6c], 0x3b6
jne 0x1400a84fd
movzx eax, byte [rsp + 0x70]
lea rcx, [rsp + 0x88]
mov edi, eax
cmp al, bpl
mov eax, 3
cmovne edi, eax
call fcn.14005c690
cmp dword [rsp + 0x6c], 0x3b6
mov rcx, qword [rsp + 0x48]
mov r8d, ebp
lea rdx, [rsp + 0x88]
sete r8b
call fcn.14006215c
mov r11, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x88], r11
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r12, qword [rsp + 0x48]
mov esi, eax
mov eax, 3
cmp dil, al
jne 0x1400a84f0
cmp byte [rsp + 0x1a8], bpl
jne 0x1400a84f0
cmp esi, ebp
jle 0x1400a84de
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 + 0x88]
call fcn.140054c44
jmp 0x1400a87b3
lea rcx, [rsp + 0x88]
call fcn.140054c44
movsxd rdi, esi
shr rdi, 1
cmp r13d, ebp
jne 0x1400a8551
lea edi, [rsi + 0xa]
lea rcx, [rsp + 0x60]
lea eax, [rdi + 0xa]
movsxd rdx, eax
call fcn.14005ca6c
mov r12, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
mov r9d, esi
xor edx, edx
mov ecx, r15d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
call qword [0x14011b908]
cmp eax, ebp
mov r9, r12
cmovl eax, ebp
movsxd rdi, eax
lea esi, [rdi + rdi]
mov word [r12 + rdi*2], bp
jmp 0x1400a8559
mov r9, qword [rsp + 0x120]
mov eax, dword [rsp + 0x84]
cmp eax, 0x4b1
jne 0x1400a8578
mov edx, esi
mov rcx, r12
call fcn.140059f7c
mov eax, dword [rsp + 0x84]
cmp eax, ebp
jle 0x1400a86a2
cmp byte [rsp + 0x1b8], bpl
je 0x1400a85f2
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.14006ba00
lea rcx, [rsp + 0x90]
call fcn.140054c44
lea rcx, [rsp + 0x60]
call fcn.140054c44
lea rcx, [rsp + 0x48]
call fcn.140054c44
cmp rbx, rbp
je 0x1400a78ef
cmp rbx, r14
je 0x1400a78ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a78ef
cmp byte [rsp + 0x1a8], bpl
jne 0x1400a864d
cmp esi, ebp
jle 0x1400a87b3
mov rdx, qword [rsp + 0x100]
cmp rdx, rbp
je 0x1400a862c
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, r12
lea r9, [rsp + 0x1a0]
mov r8d, esi
mov rcx, rbx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400a87b3
cmp dword [rsp + 0xa0], ebp
jne 0x1400a86ab
lea rcx, [rsp + 0x1a8]
call fcn.14005c96c
lea rcx, [rsp + 0x1a8]
mov r8d, edi
mov rdx, r12
call fcn.140062120
mov r8, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
call fcn.14005be18
lea rcx, [rsp + 0x1a8]
call fcn.140054c44
jmp 0x1400a87b3
cmp dword [rsp + 0xa0], ebp
je 0x1400a86b3
mov r8, r9
jmp 0x1400a87a1
movsxd rsi, esi
lea rcx, [rsp + 0x90]
shr rsi, 1
lea eax, [rsi + rsi*2]
lea edi, [rax + rax + 0xa]
lea eax, [rdi + 1]
movsxd rdx, eax
call fcn.14005c770
mov ecx, dword [rsp + 0x6c]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov rdi, qword [rsp + 0x90]
mov r9d, esi
mov r8, r12
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 0x1400a8750
cmp esi, ebp
jle 0x1400a87b3
mov rdx, qword [rsp + 0x100]
cmp rdx, rbp
je 0x1400a8748
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 0x1400a862f
cmp byte [rsp + 0x1b8], bpl
je 0x1400a878c
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.14006ba00
jmp 0x1400a87b3
lea rcx, [rsp + 0x60]
mov r8d, esi
mov rdx, rdi
call fcn.140062084
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a0]
call fcn.14005be18
cmp rbx, rbp
je 0x1400a87c1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [rsp + 0x90]
call fcn.140054c44
lea rcx, [rsp + 0x60]
call fcn.140054c44
lea rcx, [rsp + 0x48]
call fcn.140054c44
cmp rbx, rbp
je 0x1400a87f5
cmp rbx, r14
je 0x1400a87f5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x78]
call fcn.140054c44
lea rcx, [rsp + 0x118]
call fcn.140054c44
lea rcx, [rsp + 0xa8]
call fcn.140054c44
lea rcx, [rsp + 0x98]
call fcn.140054c44
lea rcx, [rsp + 0x138]
call fcn.140054c44
xor eax, eax
jmp 0x1400a8878
lea rcx, [rsp + 0x78]
call fcn.140054c44
lea rcx, [rsp + 0x118]
call fcn.140054c44
lea rcx, [rsp + 0xa8]
call fcn.140054c44
lea rcx, [rsp + 0x98]
call fcn.140054c44
lea rcx, [rsp + 0x138]
call fcn.140054c44
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