Function at 0x14009339c
Capabilities:
Read file on windows
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, 0xf0
mov r13, rcx
lea rcx, [rax - 0x68]
call fcn.140055fcc
lea rcx, [rsp + 0x138]
xor r12d, r12d
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], r12
call fcn.14004ea3c
lea rcx, [rsp + 0x88]
call fcn.140055fcc
lea rcx, [rsp + 0x98]
call fcn.140055fcc
lea rcx, [rsp + 0xb0]
call fcn.140055fcc
lea rcx, [rsp + 0xa8]
call fcn.140055fcc
mov r11, qword [rsp + 0x138]
lea edi, [r12 + 1]
lea r8d, [r12 + 0x2c]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
mov r9b, dil
mov qword [rsp + 0x50], r11
call fcn.14006cfc8
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov rcx, rax
call fcn.140059810
mov r9, qword [rsp + 0x88]
mov byte [rsp + 0x68], r12b
movzx eax, word [r9]
mov byte [rsp + 0x40], r12b
mov sil, r12b
mov rcx, r9
mov rbx, r12
lea r15d, [r12 + 9]
lea r14d, [r12 + 0x20]
cmp ax, r12w
je 0x1400934c2
cmp r15w, ax
ja 0x140093497
cmp ax, 0xd
jbe 0x14009349d
cmp r14w, ax
jne 0x1400934a0
mov rbx, rcx
add rcx, 2
mov ax, word [rcx]
cmp ax, r12w
jne 0x14009348b
cmp rbx, r12
je 0x1400934c2
mov word [rbx], r12w
mov r9, qword [rsp + 0x88]
add rbx, 2
mov qword [rsp + 0x138], r9
mov ebp, 0x2a
cmp rbx, r12
je 0x1400935cb
cmp bp, word [r9]
jne 0x1400935cb
lea r13d, [rbp + 3]
cmp r13w, word [r9 + 2]
je 0x1400935bb
lea rdx, [rsp + 0x138]
lea rcx, str.nobom
mov r8d, 6
call fcn.140058710
cmp al, r12b
je 0x14009351a
mov byte [rsp + 0x40], dil
jmp 0x1400935a9
lea rdx, [rsp + 0x138]
lea rcx, str.transonly
mov r8d, 0xa
call fcn.140058710
cmp al, r12b
je 0x140093540
mov byte [rsp + 0x68], dil
jmp 0x1400935a9
lea rdx, [rsp + 0x138]
lea rcx, [0x1400f4c68]
mov r8d, 3
call fcn.140058710
cmp al, r12b
je 0x140093564
mov sil, dil
jmp 0x1400935a9
mov rcx, qword [rsp + 0x138]
movzx eax, word [rcx]
cmp ax, r12w
je 0x14009359c
cmp r15w, ax
ja 0x140093581
cmp ax, 0xd
jbe 0x140093594
cmp r14w, ax
je 0x140093594
add rcx, 2
mov ax, word [rcx]
cmp ax, r12w
jne 0x140093575
mov qword [rsp + 0x138], rcx
lea rcx, [rsp + 0x138]
call fcn.14004ea3c
mov r9, qword [rsp + 0x138]
cmp bp, word [r9]
je 0x1400934e6
mov r9, qword [rsp + 0x88]
mov r13, qword [rsp + 0x130]
mov r14b, r12b
mov dil, r12b
mov r15b, r12b
mov byte [rsp + 0x138], r12b
mov bpl, r12b
mov byte [rsp + 0x148], r12b
cmp rbx, r12
je 0x140093625
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.14006016c
mov r11, qword [rsp + 0x60]
mov rax, qword [rsp + 0x88]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x88], r11
call fcn.14004ea6c
mov r9, qword [rsp + 0x88]
cmp sil, r12b
je 0x140093b8f
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov rcx, r13
call fcn.140003728
mov rax, qword [rsp + 0x50]
mov r8d, 0x2c
cmp r8w, word [rax]
jne 0x14009365b
add rax, 2
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.14004ea3c
mov rcx, qword [rsp + 0x50]
mov di, word [rcx]
cmp di, r12w
je 0x140093761
add rcx, 2
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x50]
call fcn.14004ea3c
mov rax, qword [rsp + 0x50]
cmp r8w, word [rax]
jne 0x14009369e
add rax, 2
mov qword [rsp + 0x50], rax
or qword [rsp + 0x148], 0xffffffffffffffff
mov eax, 1
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x138], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x130], eax
call fcn.14008a3ec
cmp eax, r12d
jle 0x140093761
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.1400068e8
cmp eax, r12d
jle 0x140093761
movsxd r15, dword [rsp + 0x130]
lea eax, [r15 - 1]
cmp eax, 7
ja 0x140093761
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14008a3ec
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x50]
call fcn.14008a3ec
lea rbp, [0x140107de8]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0x88]
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], r12
call fcn.140015a64
mov r11, rax
cmp rax, r12
jne 0x1400937b1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r12, 0xffffffff80070057
lea rcx, [rsp + 0xa8]
call fcn.14004ea6c
lea rcx, [rsp + 0xb0]
call fcn.14004ea6c
lea rcx, [rsp + 0x98]
call fcn.14004ea6c
lea rcx, [rsp + 0x88]
call fcn.14004ea6c
lea rcx, [rsp + 0xc0]
call fcn.14004ea6c
mov rax, r12
jmp 0x140094a92
mov rdx, qword [rsp + 0x148]
mov rax, qword [rax + 0x18]
mov r8, qword [rsp + 0x60]
movabs rcx, 0x3fffffffffffffff
and rax, rcx
cmp rdx, r12
cmovle rdx, rax
cmp r8, rax
jg 0x140093758
mov r9, qword [r11 + 8]
mov rcx, rax
sub rcx, r8
cmp rcx, rdx
cmovg rcx, rdx
cmp rcx, r12
jle 0x140093758
mov rsi, qword [rsp + 0x138]
mov edx, 0x2d
lea rbx, [r9 + r8]
lea r13d, [rdx + 0x11]
lea r10d, [rdx + 0x31]
cmp dx, di
jne 0x140093822
neg rsi
lea edi, [rdx - 2]
jmp 0x1400938f8
mov edx, 0x3c
cmp dx, di
jne 0x140093833
neg rsi
mov di, r13w
mov edx, 0x2b
lea r10d, [rdx - 8]
cmp dx, di
je 0x14009385a
lea edx, [r10 + 0x3b]
cmp dx, di
je 0x14009385a
cmp r10w, di
je 0x140093864
cmp r13w, di
jne 0x140093758
cmp r10w, di
jne 0x1400938f2
sub eax, r8d
lea rdi, [r9 + rsi]
cdqe
cmp rcx, rax
cmovg rcx, rax
cmp rcx, r12
jle 0x140093758
mov r9d, ecx
mov rdx, rdi
and r9d, 7
movsxd rsi, r9d
sub rdx, rsi
add rdx, rcx
jmp 0x1400938a6
mov rax, qword [rbx]
mov rcx, qword [rdi]
mov qword [rdi], rax
add rdi, 8
mov qword [rbx], rcx
add rbx, 8
cmp rdi, rdx
jb 0x140093892
cmp r9d, r12d
jle 0x1400938e4
lea rcx, [rsp + 0x130]
mov r8, rsi
mov rdx, rbx
call fcn.14001a4c0
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14001a4c0
lea rdx, [rsp + 0x130]
mov r8, rsi
mov rcx, rdi
call fcn.14001a4c0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140093768
mov r10d, 0x5e
mov rax, rcx
mov r8, rbx
mov bpl, sil
cqo
mov r14, r15
mov qword [rsp + 0xa0], r12
idiv r15
mov r11, rdx
mov qword [rsp + 0x148], rdx
mov edx, r12d
movsxd rax, r11d
mov dword [rsp + 0x138], edx
sub r8, rax
mov rax, r12
add r8, rcx
mov qword [rsp + 0x60], rax
cmp r13w, di
jne 0x140093942
mov r13b, 2
jmp 0x140093953
movzx r13d, r12b
cmp r10w, di
mov ecx, 1
cmove r13d, ecx
cmp r15d, 8
jl 0x1400939c4
and bpl, 0x3f
mov r9d, 0x40
sub r9b, bpl
cmp rbx, r8
jae 0x140093b13
mov r11d, 1
movzx r10d, r13b
lea r15d, [r11 + 0x5d]
mov ecx, r10d
cmp r10d, r12d
je 0x1400939b4
sub ecx, r11d
je 0x1400939a9
cmp ecx, r11d
jne 0x1400939b7
mov rdx, qword [rbx]
mov cl, r9b
mov rax, rdx
shl rax, cl
mov cl, sil
shr rdx, cl
or rax, rdx
mov qword [rbx], rax
jmp 0x1400939b7
cmp r15w, di
jne 0x1400939b7
xor qword [rbx], rsi
jmp 0x1400939b7
add qword [rbx], rsi
add rbx, r14
cmp rbx, r8
jb 0x14009397d
jmp 0x140093af7
cmp r15d, 4
jl 0x140093a2d
and bpl, 0x1f
mov r9d, 0x20
sub r9b, bpl
cmp rbx, r8
jae 0x140093b13
mov r11d, 1
movzx r10d, r13b
lea r15d, [r11 + 0x5d]
mov ecx, r10d
cmp r10d, r12d
je 0x140093a1e
sub ecx, r11d
je 0x140093a14
cmp ecx, r11d
jne 0x140093a20
mov edx, dword [rbx]
mov cl, r9b
mov eax, edx
shl eax, cl
mov cl, bpl
shr edx, cl
or eax, edx
mov dword [rbx], eax
jmp 0x140093a20
cmp r15w, di
jne 0x140093a20
xor dword [rbx], esi
jmp 0x140093a20
add dword [rbx], esi
add rbx, r14
cmp rbx, r8
jb 0x1400939ee
jmp 0x140093af7
cmp r15d, 2
jl 0x140093a9b
and bpl, 0xf
mov r9d, 0x10
sub r9b, bpl
cmp rbx, r8
jae 0x140093b13
mov r11d, 1
movzx r10d, r13b
lea r15d, [r11 + 0x5d]
mov ecx, r10d
cmp r10d, r12d
je 0x140093a8e
sub ecx, r11d
je 0x140093a83
cmp ecx, r11d
jne 0x140093a91
movzx edx, word [rbx]
mov cl, r9b
movzx eax, dx
shl ax, cl
mov cl, bpl
shr dx, cl
or ax, dx
mov word [rbx], ax
jmp 0x140093a91
cmp r15w, di
jne 0x140093a91
xor word [rbx], si
jmp 0x140093a91
add word [rbx], si
add rbx, r14
cmp rbx, r8
jb 0x140093a57
jmp 0x140093af7
and bpl, 7
mov r9d, 8
sub r9b, bpl
cmp rbx, r8
jae 0x140093b13
mov r11d, 1
movzx r10d, r13b
lea r15d, [r11 + 0x5d]
mov ecx, r10d
cmp r10d, r12d
je 0x140093aec
sub ecx, r11d
je 0x140093ae1
cmp ecx, r11d
jne 0x140093aef
mov dl, byte [rbx]
mov cl, r9b
mov al, dl
shl al, cl
mov cl, bpl
shr dl, cl
or al, dl
mov byte [rbx], al
jmp 0x140093aef
cmp r15w, di
jne 0x140093aef
xor byte [rbx], sil
jmp 0x140093aef
add byte [rbx], sil
add rbx, r14
cmp rbx, r8
jb 0x140093abb
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x138]
mov r11, qword [rsp + 0x148]
mov r15d, dword [rsp + 0x130]
cmp r11d, r12d
jle 0x140093b6b
mov ecx, 0x3e
cmp cx, di
je 0x140093b6b
lea rcx, [rsp + 0xa0]
movsxd r8, r11d
mov rdx, rbx
call fcn.14001a4c0
mov edx, dword [rsp + 0x148]
mov r11d, r12d
mov rax, rbx
mov qword [rsp + 0x60], rbx
lea r8, [rsp + r14 + 0xa0]
mov dword [rsp + 0x138], edx
mov qword [rsp + 0x148], r11
lea rbx, [rsp + 0xa0]
jmp 0x140093953
cmp edx, r12d
je 0x140093b83
movsxd r8, edx
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.14001a4c0
lea rcx, [0x140107de8]
jmp 0x1400938e7
mov rax, qword [rsp + 0x50]
mov esi, 0x2c
lea rcx, [rax + 2]
lea ebx, [rsi - 0x2b]
mov qword [rsp + 0xb8], rcx
cmp si, word [rax]
jne 0x140093c79
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
mov r8d, esi
mov r9b, bl
call fcn.14006cfc8
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.14005993c
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x88]
cmp si, word [rax]
jne 0x140093c79
add rax, 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
mov r8d, esi
mov r9b, bl
mov qword [rsp + 0x50], rax
call fcn.14006cfc8
lea rdx, [rsp + 0xb0]
xor r8d, r8d
mov rcx, rax
call fcn.140059810
mov rax, qword [rsp + 0x50]
mov r9, qword [rsp + 0x88]
cmp si, word [rax]
jne 0x140093c79
add rax, 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
mov r8d, esi
mov r9b, bl
mov qword [rsp + 0x50], rax
call fcn.14006cfc8
lea rdx, [rsp + 0xa8]
xor r8d, r8d
mov rcx, rax
call fcn.140059810
mov r9, qword [rsp + 0x88]
cmp word [r9], r12w
je 0x140094a4e
mov rax, qword [rsp + 0x98]
cmp word [rax], r12w
je 0x140094a4e
mov r10, qword [rsp + 0xb0]
cmp word [r10], r12w
je 0x140094a4e
mov rsi, qword [rsp + 0xa8]
cmp word [rsi], r12w
je 0x140094a4e
mov eax, 0x2a
mov dword [rsp + 0x6c], r12d
mov dword [rsp + 0x80], r12d
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0xa0], r12d
mov dword [rsp + 0x90], r12d
mov r11, r12
mov byte [rsp + 0x58], r12b
cmp ax, word [r9]
jne 0x140093d27
cmp ax, word [r9 + 2]
jne 0x140093d17
mov r14b, byte [r9]
add r9, 4
mov r15b, 2
mov dil, r14b
cmp ax, word [r9]
jne 0x140093d27
mov r15b, 3
jmp 0x140093d23
cmp ax, word [r9]
jne 0x140093d27
mov r14b, byte [r9]
mov dil, r14b
add r9, 2
mov edx, 0x2d
cmp dx, word [r9]
jne 0x140093d39
mov dil, byte [r9]
add r9, 2
cmp dil, r12b
je 0x140093761
lea rcx, [0x1400f4c64]
mov rdx, r9
call fcn.14004fe38
mov edi, 0x4b1
cmp al, r12b
je 0x140093d64
mov byte [rsp + 0x58], bl
jmp 0x140093e82
lea rcx, str.ANSI
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093d82
mov dword [rsp + 0x60], r12d
jmp 0x140093e82
lea rcx, [0x1400f4c60]
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093da3
mov dword [rsp + 0x60], 0x3a8
jmp 0x140093e82
lea rcx, str.BIG5
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093dc4
mov dword [rsp + 0x60], 0x3b6
jmp 0x140093e82
lea rcx, str.UTF8
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093de5
mov dword [rsp + 0x60], 0xfde9
jmp 0x140093e82
lea rcx, str.UTF7
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093e03
mov dword [rsp + 0x60], 0xfde8
jmp 0x140093e82
lea rcx, str.UNICODE
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
jne 0x140093e2b
lea rcx, [0x1400ea5a4]
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093e35
mov dword [rsp + 0x70], 0x4b0
jmp 0x140093e82
lea rcx, str.UNICODEB
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
jne 0x140093e5d
lea rcx, str.UNIB
mov rdx, r9
call fcn.14004fe38
cmp al, r12b
je 0x140093e63
mov dword [rsp + 0x70], edi
jmp 0x140093e82
movzx eax, word [r9]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x140093e87
mov rcx, r9
call fcn.1400571fc
mov qword [rsp + 0x60], rax
mov edi, r11d
jmp 0x140093e9b
cmp word [r9], r12w
jne 0x140093761
mov dword [rsp + 0x70], ebx
mov edi, ebx
mov dword [rsp + 0x78], ebx
mov eax, 0x2a
cmp ax, word [r10]
jne 0x140093ed4
cmp ax, word [r10 + 2]
jne 0x140093ebd
mov al, byte [r10]
add r10, 4
mov byte [rsp + 0x148], al
jmp 0x140093eca
cmp ax, word [r10]
jne 0x140093ed4
mov al, byte [r10]
add r10, 2
mov bpl, al
mov byte [rsp + 0x138], al
mov eax, 0x2d
cmp ax, word [r10]
jne 0x140093ee6
mov bpl, byte [r10]
add r10, 2
cmp bpl, r12b
je 0x140093761
lea rcx, str.ANSI
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140093f0d
mov dword [rsp + 0x6c], r12d
jmp 0x14009405e
lea rcx, [0x1400f4c60]
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140093f2e
mov dword [rsp + 0x6c], 0x3a8
jmp 0x14009405e
lea rcx, str.BIG5
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140093f4f
mov dword [rsp + 0x6c], 0x3b6
jmp 0x14009405e
lea rcx, str.UTF8
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140093f82
mov dword [rsp + 0x6c], 0xfde9
lea r11, [0x1400f0780]
mov dword [rsp + 0x90], 3
jmp 0x14009405e
lea rcx, str.UTF7
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140093fa3
mov dword [rsp + 0x6c], 0xfde8
jmp 0x14009405e
lea rcx, str.UNICODE
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
jne 0x140093fcb
lea rcx, [0x1400ea5a4]
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140093fdf
mov dword [rsp + 0x80], 0x4b0
lea r11, [0x1400f0778]
jmp 0x140094019
lea rcx, str.UNICODEB
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
jne 0x140094007
lea rcx, str.UNIB
mov rdx, r10
call fcn.14004fe38
cmp al, r12b
je 0x140094026
mov dword [rsp + 0x80], 0x4b1
lea r11, [0x1400f077c]
mov dword [rsp + 0x90], 2
jmp 0x14009405e
movzx eax, word [r10]
mov ecx, 9
sub ax, 0x30
cmp ax, cx
ja 0x140094046
mov rcx, r10
call fcn.1400571fc
mov dword [rsp + 0x6c], eax
jmp 0x14009405e
cmp word [r10], r12w
jne 0x140093761
mov dword [rsp + 0x80], ebx
mov dword [rsp + 0xa0], ebx
cmp byte [rsp + 0x40], r12b
lea rcx, [rsp + 0x48]
mov rbx, r12
cmovne r11, r12
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe0], r11
call fcn.140055d78
mov ebp, r12d
cmp r14b, r12b
jne 0x1400942f9
mov rax, qword [rsp + 0xb8]
mov r8d, 0x2c
lea rdx, [rsp + 0x50]
lea r13d, [r8 - 0x2b]
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xe8], r12
mov r9b, r13b
mov qword [rsp + 0x50], rax
call fcn.14006cfc8
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.140059810
mov rcx, qword [rsp + 0x98]
call fcn.1400188a8
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x80
lea r9d, [r13 + 6]
lea rcx, [rsp + 0xe8]
mov r8d, 0x80000000
mov rdx, rax
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
call fcn.140003590
mov rdi, qword [rsp + 0xe8]
cmp rdi, r12
jne 0x140094137
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
mov r12, r13
jmp 0x140093768
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.14004fd5c
mov r8d, r13d
xor edx, edx
mov rcx, rdi
call fcn.14004fd5c
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov r15, rax
call fcn.14004fd5c
lea r11d, [r15 + 0xa]
lea rcx, [rsp + 0x48]
movsxd rdx, r11d
call fcn.140055e58
mov r11, qword [rsp + 0x48]
lea r9, [rsp + 0xb8]
mov byte [r11 + 2], r12b
mov rax, qword [rsp + 0x48]
mov r8d, r15d
mov byte [rax + 1], r12b
mov rax, qword [rsp + 0x48]
mov rcx, rdi
mov byte [rax], r12b
mov r14, qword [rsp + 0x48]
or dword [rsp + 0xb8], 0xffffffff
mov rdx, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rbp, dword [rsp + 0xb8]
cmp ebp, r12d
jge 0x1400941db
cmp rdi, 0xffffffffffffffff
je 0x140094125
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140094125
mov rax, qword [rsp + 0x48]
mov r10b, byte [rsp + 0x58]
mov r9d, dword [rsp + 0x70]
mov byte [rbp + rax + 2], r12b
mov rax, qword [rsp + 0x48]
mov r13d, r12d
mov byte [rbp + rax + 1], r12b
mov rax, qword [rsp + 0x48]
mov byte [rbp + rax], r12b
cmp r10b, r12b
jne 0x140094214
cmp r9d, 0x4b0
jne 0x140094245
mov r11d, 2
lea rdx, [0x1400f0778]
mov rcx, r14
mov r8, r11
call fcn.14004ea9c
cmp eax, r12d
jne 0x14009423e
mov dword [rsp + 0x70], 0x4b0
mov r13d, r11d
jmp 0x1400942ac
cmp r10b, r12b
jne 0x140094254
jmp 0x14009424b
mov r11d, 2
cmp r9d, 0x4b1
jne 0x14009427a
lea rdx, [0x1400f077c]
mov r8, r11
mov rcx, r14
call fcn.14004ea9c
cmp eax, r12d
jne 0x140094275
mov dword [rsp + 0x70], 0x4b1
jmp 0x140094239
cmp r10b, r12b
jne 0x140094284
cmp dword [rsp + 0x60], 0xfde9
jne 0x1400942c2
lea rdx, [0x1400f0780]
mov r8d, 3
mov rcx, r14
call fcn.14004ea9c
cmp eax, r12d
jne 0x1400942c2
mov dword [rsp + 0x60], 0xfde9
mov r13d, 3
movsxd rax, r13d
mov rcx, r14
sub r15, rax
lea rdx, [rax + r14]
lea r8, [r15 + 3]
call fcn.14001a478
sub ebp, r13d
cmovs ebp, r12d
cmp rdi, 0xffffffffffffffff
je 0x1400942d8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, bl
cmp ebp, r12d
jge 0x140094400
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
mov r12d, 1
jmp 0x140093768
cmp r15b, r12b
je 0x1400943b6
lea rdx, [rsp + 0x98]
xor r8d, r8d
mov rcx, r13
call fcn.140003728
mov rdx, qword [rsp + 0x98]
or r9d, 0xffffffff
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], r12
call fcn.140015a64
lea rcx, [rsp + 0x48]
mov r13, rax
cmp rax, r12
je 0x140094391
cmp r15b, 3
jne 0x140094354
mov rdx, qword [rax + 8]
call fcn.14005afb0
mov dil, 2
mov ebp, eax
jmp 0x14009439e
movsxd rbp, dword [rax + 0x18]
lea eax, [rbp + 8]
movsxd rdx, eax
call fcn.140055e58
mov rax, qword [rsp + 0x48]
xor edx, edx
lea rcx, [rbp + rax]
lea r8d, [rdx + 8]
mov rdi, rbp
call fcn.1400cc8d0
mov rdx, qword [r13 + 8]
mov rcx, qword [rsp + 0x48]
mov r8, rbp
call fcn.14001a4c0
mov dil, 1
jmp 0x14009439e
mov edx, 8
call fcn.140055e58
mov dil, bl
xor edx, edx
movsxd rcx, ebp
add rcx, qword [rsp + 0x48]
lea r8d, [rdx + 8]
call fcn.1400cc8d0
jmp 0x1400942db
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x48]
cmp edi, r12d
je 0x1400943f1
call fcn.140060284
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x48]
mov ebp, eax
add ebp, ebp
lea eax, [rbp + 8]
movsxd rdx, eax
call fcn.140055e58
jmp 0x1400943f8
call fcn.14005afb0
mov ebp, eax
mov dil, 2
jmp 0x1400942db
cmp byte [rsp + 0x58], r12b
je 0x1400944b6
cmp dil, r12b
je 0x1400944b6
mov r13, qword [rsp + 0x48]
lea rdx, [0x1400f0778]
mov r8d, 2
mov rcx, r13
mov edi, r12d
call fcn.14004ea9c
cmp eax, r12d
jne 0x140094445
mov dword [rsp + 0x70], 0x4b0
mov edi, 2
jmp 0x140094491
lea rdx, [0x1400f077c]
mov r8d, 2
mov rcx, r13
call fcn.14004ea9c
cmp eax, r12d
jne 0x140094469
mov dword [rsp + 0x70], 0x4b1
jmp 0x14009443e
mov r9d, 3
lea rdx, [0x1400f0780]
mov rcx, r13
mov r8, r9
call fcn.14004ea9c
cmp eax, r12d
jne 0x1400944ae
mov dword [rsp + 0x60], 0xfde9
mov edi, r9d
mov eax, ebp
movsxd rdx, edi
mov rcx, r13
sub eax, edi
add rdx, r13
add eax, 4
movsxd r8, eax
call fcn.14001a478
mov r13, qword [rsp + 0x48]
sub ebp, edi
cmovs ebp, r12d
jmp 0x1400944bb
mov r13, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov r14, r13
call fcn.140055fcc
lea rcx, [rsp + 0x6c]
call fcn.140055b90
mov rdi, qword [rsp + 0x60]
cmp dword [rax], edi
jne 0x1400945b7
lea rcx, [rsp + 0x80]
call fcn.140055b90
mov r15d, dword [rsp + 0x70]
cmp dword [rax], r15d
jne 0x1400945bc
cmp byte [rsp + 0x148], r12b
je 0x140094530
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
lea rax, [rsp + 0xa8]
mov r9d, ebp
mov rdx, rsi
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], rax
call fcn.14006465c
jmp 0x14009459e
cmp byte [rsp + 0x138], r12b
jne 0x140094559
mov rdx, qword [rsp + 0x48]
lea r9, [rsp + 0x130]
mov r8d, ebp
xor ecx, ecx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14009459e
cmp dword [rsp + 0xa0], r12d
jne 0x14009457c
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov r8d, ebp
call fcn.14005aed8
mov r8, qword [rsp + 0x50]
jmp 0x14009458e
mov r8, qword [rsp + 0x98]
cmp dword [rsp + 0x78], r12d
jne 0x14009458e
mov r8, r13
mov rcx, qword [rsp + 0x130]
mov rdx, rsi
call fcn.140055710
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
jmp 0x140093768
mov r15d, dword [rsp + 0x70]
cmp r15d, 0x4b1
jne 0x1400945da
mov rcx, qword [rsp + 0x48]
mov edx, ebp
mov r15d, 0x4b0
call fcn.1400539e8
and ebp, 0xfffffffe
cmp byte [rsp + 0x138], r12b
jne 0x14009463e
mov rcx, rsi
call fcn.1400188a8
mov qword [rsp + 0x38], r12
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], r12
call fcn.140003590
mov rbx, qword [rsp + 0xd8]
cmp rbx, r12
jne 0x14009463e
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
jmp 0x1400942e4
mov eax, 0x3a8
mov qword [rsp + 0x78], r12
cmp dword [rsp + 0x6c], eax
jne 0x140094656
cmp edi, 0x3b6
je 0x14009466c
cmp edi, eax
jne 0x140094715
cmp dword [rsp + 0x6c], 0x3b6
jne 0x140094715
movzx eax, byte [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov edi, eax
cmp al, r12b
mov eax, 3
cmovne edi, eax
call fcn.140055d78
cmp dword [rsp + 0x6c], 0x3b6
mov rcx, qword [rsp + 0x48]
mov r8d, r12d
lea rdx, [rsp + 0x70]
sete r8b
call fcn.14005b05c
mov r11, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x70], r11
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r13, qword [rsp + 0x48]
mov ebp, eax
mov eax, 3
cmp dil, al
jne 0x14009470b
cmp byte [rsp + 0x138], r12b
jne 0x14009470b
cmp ebp, r12d
jle 0x1400946fc
lea r9, [rsp + 0x130]
mov r8d, ebp
mov rdx, r13
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x70]
call fcn.14004ea6c
jmp 0x1400949c9
lea rcx, [rsp + 0x70]
call fcn.14004ea6c
movsxd rdi, ebp
shr rdi, 1
cmp r15d, r12d
jne 0x14009476b
lea edi, [rbp + 0xa]
lea rcx, [rsp + 0x50]
lea eax, [rdi + 0xa]
movsxd rdx, eax
call fcn.1400560cc
mov r13, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x60]
mov r9d, ebp
xor edx, edx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
call qword [0x140106900]
cmp eax, r12d
mov r14, r13
cmovl eax, r12d
movsxd rdi, eax
lea ebp, [rdi + rdi]
mov word [r13 + rdi*2], r12w
mov eax, dword [rsp + 0x80]
cmp eax, 0x4b1
jne 0x14009478a
mov edx, ebp
mov rcx, r13
call fcn.1400539e8
mov eax, dword [rsp + 0x80]
cmp eax, r12d
jle 0x1400948b7
cmp byte [rsp + 0x148], r12b
je 0x140094804
mov rcx, qword [rsp + 0x130]
lea rax, [rsp + 0xa8]
mov r9d, ebp
mov r8, r13
mov rdx, rsi
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], rax
call fcn.14006465c
lea rcx, [rsp + 0x78]
call fcn.14004ea6c
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
cmp rbx, r12
je 0x140093768
cmp rbx, 0xffffffffffffffff
je 0x140093768
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140093768
cmp byte [rsp + 0x138], r12b
jne 0x140094863
cmp ebp, r12d
jle 0x1400949c9
mov rdx, qword [rsp + 0xe0]
cmp rdx, r12
je 0x140094842
mov r8d, dword [rsp + 0x90]
lea r9, [rsp + 0x130]
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, r13
lea r9, [rsp + 0x130]
mov r8d, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400949c9
cmp dword [rsp + 0xa0], r12d
jne 0x1400948c1
lea rcx, [rsp + 0x138]
call fcn.140055fcc
lea rcx, [rsp + 0x138]
mov r8d, edi
mov rdx, r13
call fcn.14005af74
mov r8, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
mov rdx, rsi
call fcn.140055710
lea rcx, [rsp + 0x138]
call fcn.14004ea6c
jmp 0x1400949c9
cmp dword [rsp + 0xa0], r12d
je 0x1400948c9
mov r8, r14
jmp 0x1400949b9
movsxd rbp, ebp
lea rcx, [rsp + 0x78]
shr rbp, 1
lea eax, [rbp + rbp*2]
lea edi, [rax + rax + 0xa]
lea eax, [rdi + 1]
movsxd rdx, eax
call fcn.140055e58
mov ecx, dword [rsp + 0x6c]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov rdi, qword [rsp + 0x78]
mov r9d, ebp
mov r8, r13
xor edx, edx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, r12d
mov ebp, eax
cmovl ebp, r12d
movsxd rax, ebp
mov byte [rax + rdi], r12b
cmp byte [rsp + 0x138], r12b
jne 0x140094967
cmp ebp, r12d
jle 0x1400949c9
mov rdx, qword [rsp + 0xe0]
cmp rdx, r12
je 0x14009495f
mov r8d, dword [rsp + 0x90]
lea r9, [rsp + 0x130]
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rdi
jmp 0x140094845
cmp byte [rsp + 0x148], r12b
je 0x1400949a4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x130]
mov r8, rdi
movsxd r9, eax
lea rax, [rsp + 0xa8]
mov rdx, rsi
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], rax
call fcn.14006465c
jmp 0x1400949c9
lea rcx, [rsp + 0x50]
mov r8d, ebp
mov rdx, rdi
call fcn.14005aed8
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x130]
mov rdx, rsi
call fcn.140055710
cmp rbx, r12
je 0x1400949d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [rsp + 0x78]
call fcn.14004ea6c
lea rcx, [rsp + 0x50]
call fcn.14004ea6c
lea rcx, [rsp + 0x48]
call fcn.14004ea6c
cmp rbx, r12
je 0x140094a09
cmp rbx, 0xffffffffffffffff
je 0x140094a09
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0xa8]
call fcn.14004ea6c
lea rcx, [rsp + 0xb0]
call fcn.14004ea6c
lea rcx, [rsp + 0x98]
call fcn.14004ea6c
lea rcx, [rsp + 0x88]
call fcn.14004ea6c
lea rcx, [rsp + 0xc0]
call fcn.14004ea6c
xor eax, eax
jmp 0x140094a92
lea rcx, [rsp + 0xa8]
call fcn.14004ea6c
lea rcx, [rsp + 0xb0]
call fcn.14004ea6c
lea rcx, [rsp + 0x98]
call fcn.14004ea6c
lea rcx, [rsp + 0x88]
call fcn.14004ea6c
lea rcx, [rsp + 0xc0]
call fcn.14004ea6c
mov rax, rbx
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret