Function at 0x14000dd60
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1404b0028]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r15, rcx
mov qword [rbp - 0x48], rcx
mov edx, 1
lea ecx, [rdx + 8]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x30], rax
mov edx, 1
lea ecx, [rdx + 8]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x20], rax
mov edx, 1
lea ecx, [rdx + 8]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x18], rax
xor edi, edi
mov esi, edi
lea r13, [0x140653520]
lea rbx, [r13 - 1]
mov r14, rbx
nop word [rax + rax]
movsxd rdx, esi
add rdx, r13
inc esi
lea r14, [r14 + 1]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [r14], dil
jne 0x14000ddf0
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rdx + r13], dil
jne 0x14000de26
lea rcx, [rbp - 0x30]
call fcn.14001ef30
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx - 8]
inc eax
movsxd r8, eax
mov rdx, r13
call fcn.1402d15b0
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [r15 + 0x58]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [r15 + 0x58]
cmp dword [r15 + 0x68], 1
jne 0x14000dea0
mov dword [rsp + 0x48], ecx
movzx eax, byte [rsp + 0x4b]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x4a]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], cl
mov ecx, dword [rsp + 0x40]
mov dword [rbp - 0x28], ecx
mov esi, edi
mov r14, rbx
nop dword [rax + rax]
movsxd rdx, esi
add rdx, r13
inc esi
lea r14, [r14 + 1]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [r14], dil
jne 0x14000deb0
mov r14, 0xffffffffffffffff
mov rdx, r14
nop dword [rax]
inc rdx
cmp byte [rdx + r13], dil
jne 0x14000def0
lea rcx, [rbp - 0x20]
call fcn.14001ef30
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx - 8]
inc eax
movsxd r8, eax
mov rdx, r13
call fcn.1402d15b0
mov esi, edi
nop dword [rax + rax]
movsxd rdx, esi
add rdx, r13
inc esi
lea rbx, [rbx + 1]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 1
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [rbx], dil
jne 0x14000df20
mov rdx, r14
inc rdx
cmp byte [rdx + r13], dil
jne 0x14000df52
lea rcx, [rbp - 0x18]
call fcn.14001ef30
mov rcx, qword [rbp - 0x18]
lea rax, [rcx - 8]
mov qword [rbp + 0x20], rax
mov eax, dword [rax]
inc eax
movsxd r8, eax
mov rdx, r13
call fcn.1402d15b0
lea rdx, str.UnityWeb
mov r14, qword [rbp - 0x30]
mov rcx, r14
call fcn.1402ec350
mov r13d, dword [rbp - 0x28]
test eax, eax
je 0x14000dfad
lea rdx, str.UnityRaw
mov rcx, r14
call fcn.1402ec350
test eax, eax
jne 0x14000e019
cmp r13d, 6
je 0x14000e019
cmp r13d, 4
jb 0x14000dffd
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 0x10
lea rdx, [rbp + 0x28]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [r15 + 0x58]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x14000edd2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 0x20], rdi
jmp 0x14000edd2
mov rcx, rdi
lea rdx, str.UnityFS
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000e046
cmp rcx, 8
jne 0x14000e030
jmp 0x14000e07a
lea rdx, str.UnityWeb
mov rcx, r14
call fcn.1402ec350
test eax, eax
je 0x14000e070
lea rdx, str.UnityRaw
mov rcx, r14
call fcn.1402ec350
test eax, eax
jne 0x14000edd2
cmp r13d, 6
jne 0x14000edd2
mov rcx, r15
call fcn.140008150
mov qword [rbp - 0x10], rax
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [r15 + 0x58]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [r15 + 0x58]
cmp dword [r15 + 0x68], 1
jne 0x14000e0da
mov dword [rsp + 0x48], ebx
movzx eax, byte [rsp + 0x4b]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x4a]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], bl
mov ebx, dword [rsp + 0x40]
mov dword [rbp - 8], ebx
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [r15 + 0x58]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [r15 + 0x58]
cmp dword [r15 + 0x68], 1
jne 0x14000e132
mov dword [rsp + 0x48], esi
movzx eax, byte [rsp + 0x4b]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x4a]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], sil
mov esi, dword [rsp + 0x40]
mov dword [rbp - 4], esi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [r15 + 0x58]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r12d, dword [r15 + 0x58]
mov dword [rsp + 0x50], r12d
cmp dword [r15 + 0x68], 1
jne 0x14000e196
mov dword [rsp + 0x48], r12d
movzx eax, byte [rsp + 0x4b]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x4a]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], r12b
mov r12d, dword [rsp + 0x40]
mov dword [rsp + 0x50], r12d
mov dword [rbp], r12d
mov rcx, rdi
lea rdx, str.UnityFS
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r14 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000e1c6
cmp rcx, 8
jne 0x14000e1b0
jmp 0x14000e1e9
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, ebx
mov edx, 1
call fcn.1402deebc
mov r14, rax
mov r8d, 0x10
cmp r13d, 7
jb 0x14000e252
mov qword [rsp + 0x70], rdi
lea r9d, [r8 - 0xf]
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rsp + 0x70]
mov edx, eax
and edx, 0xf
mov r13d, 0x10
je 0x14000e255
mov ecx, r13d
sub ecx, edx
mov edx, ecx
add rdx, rax
mov qword [rbp - 0x80], rdx
xor r9d, r9d
lea r8, [rbp - 0x80]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
jmp 0x14000e255
mov r13d, r8d
test r12b, r12b
jns 0x14000e2ef
mov qword [rsp + 0x70], rdi
mov r9d, 1
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea rdx, [rsp + 0x48]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [rsp + 0x48]
shl rdx, 0x20
mov eax, eax
add rdx, rax
mov eax, ebx
sub rdx, rax
mov qword [rbp - 0x80], rdx
xor r9d, r9d
lea r8, [rbp - 0x80]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [rsp + 0x48], edi
test ebx, ebx
je 0x14000e2d3
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, r14
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdx
xor r9d, r9d
lea r8, [rbp - 0x80]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
jmp 0x14000e311
mov dword [rsp + 0x48], edi
test ebx, ebx
je 0x14000e311
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, r14
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, r12d
and eax, 0x3f
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
mov r9d, ebx
lea r8, [rsp + 0x70]
mov rdx, r14
call fcn.14000da30
mov rcx, r14
call fcn.1402d83b4
mov r14, qword [rsp + 0x70]
mov ecx, dword [r14 + 0x10]
mov dword [rsp + 0x48], ecx
movzx eax, byte [rsp + 0x4b]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x4a]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x49]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x43], cl
mov esi, 0x14
mov ebx, dword [rsp + 0x40]
mov qword [rbp - 0x80], rbx
mov eax, ntohs
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140048ef0
mov qword [rsp + 0x68], rax
test ebx, ebx
je 0x14000e42b
lea r8, [rax + 8]
mov r9d, ebx
nop
mov ecx, esi
mov edx, dword [rcx + r14]
mov ecx, edx
shr ecx, 0x18
mov byte [rsp + 0x58], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsp + 0x59], cl
mov eax, edx
shr eax, 8
mov byte [rsp + 0x5a], al
mov byte [rsp + 0x5b], dl
mov eax, dword [rsp + 0x58]
mov dword [r8 - 4], eax
add esi, 4
mov ecx, dword [rsi + r14]
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x49], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], cl
mov eax, dword [rsp + 0x48]
mov dword [r8 - 8], eax
add esi, 4
movzx ecx, word [rsi + r14]
movzx eax, cx
shr ax, 8
mov byte [rsp + 0x60], al
mov byte [rsp + 0x61], cl
movzx eax, word [rsp + 0x60]
mov dword [r8], eax
add esi, 2
lea r8, [r8 + 0xc]
sub r9, 1
jne 0x14000e3a0
mov eax, esi
mov ecx, dword [rax + r14]
mov dword [rsp + 0x58], ecx
movzx eax, byte [rsp + 0x5b]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x5a]
mov byte [rsp + 0x49], al
movzx eax, byte [rsp + 0x59]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], cl
add esi, 4
mov ebx, dword [rsp + 0x48]
mov r12d, ebx
mov qword [rbp + 0x28], rbx
mov eax, 0x20
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.140048ef0
mov qword [rbp - 0x38], rax
mov qword [rax], rbx
lea r14, [rax + 8]
mov qword [rbp - 0x60], r14
lea rax, [0x14000eeb0]
mov qword [rsp + 0x20], rax
lea r9, [0x14000ee80]
mov r8d, ebx
mov edx, 0x20
mov rcx, r14
call fcn.140048f00
nop
test ebx, ebx
je 0x14000e611
add r14, 0x18
mov rdi, qword [rsp + 0x70]
mov r15, 0xffffffffffffffff
mov rcx, qword [rsi + rdi]
mov rax, rcx
shr rax, 0x38
mov byte [rsp + 0x58], al
mov rax, rcx
shr rax, 0x30
mov byte [rsp + 0x59], al
mov rax, rcx
shr rax, 0x28
mov byte [rsp + 0x5a], al
mov rax, rcx
shr rax, 0x20
mov byte [rsp + 0x5b], al
mov rax, rcx
shr rax, 0x18
mov byte [rsp + 0x5c], al
mov rax, rcx
shr rax, 0x10
mov byte [rsp + 0x5d], al
mov rax, rcx
shr rax, 8
mov byte [rsp + 0x5e], al
mov byte [rsp + 0x5f], cl
mov rax, qword [rsp + 0x58]
mov qword [r14 - 0x18], rax
add esi, 8
mov rcx, qword [rsi + rdi]
mov rax, rcx
shr rax, 0x38
mov byte [rsp + 0x60], al
mov rax, rcx
shr rax, 0x30
mov byte [rsp + 0x61], al
mov rax, rcx
shr rax, 0x28
mov byte [rsp + 0x62], al
mov rax, rcx
shr rax, 0x20
mov byte [rsp + 0x63], al
mov rax, rcx
shr rax, 0x18
mov byte [rsp + 0x64], al
mov rax, rcx
shr rax, 0x10
mov byte [rsp + 0x65], al
mov rax, rcx
shr rax, 8
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], cl
mov rax, qword [rsp + 0x60]
mov qword [r14 - 0x10], rax
add esi, 8
mov ecx, dword [rsi + rdi]
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x49], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], cl
mov eax, dword [rsp + 0x48]
mov dword [r14 - 8], eax
add esi, 4
mov ebx, esi
add rbx, rdi
mov rdx, r15
inc rdx
cmp byte [rbx + rdx], 0
jne 0x14000e5c7
mov rcx, r14
call fcn.14001ef30
mov rcx, qword [r14]
mov eax, dword [rcx - 8]
inc eax
movsxd r8, eax
mov rdx, rbx
call fcn.1402d15b0
mov rax, r15
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x14000e5f0
inc esi
add esi, eax
add r14, 0x20
sub r12, 1
jne 0x14000e4d0
xor edi, edi
mov r15, qword [rbp - 0x48]
test dword [rsp + 0x50], 0x200
je 0x14000e661
mov qword [rbp - 0x58], rdi
mov r9d, 1
lea r8, [rbp - 0x58]
mov rdx, rdi
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rax, qword [rbp - 0x58]
mov ecx, eax
and ecx, 0xf
je 0x14000e661
sub r13d, ecx
mov edx, r13d
add rdx, rax
mov qword [rsp + 0x78], rdx
xor r9d, r9d
lea r8, [rsp + 0x78]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x40], rax
mov rax, qword [r15 + 0x30]
mov edx, dword [rax - 8]
add edx, 5
lea rcx, [rbp - 0x40]
call fcn.14001e440
mov rdx, qword [r15 + 0x30]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov rsi, qword [rbp - 0x40]
mov rcx, rsi
call fcn.1402d15b0
mov rax, qword [r15 + 0x30]
movsxd rcx, dword [rax - 8]
movsd xmm0, qword [str._OUT_]
movsd qword [rsi + rcx*2], xmm0
movzx eax, word [0x140470990]
mov word [rsi + rcx*2 + 8], ax
mov rcx, rsi
call fcn.14001de70
mov qword [rbp - 0x58], rdi
lea rax, vtable.SFile.0
mov qword [rbp - 0x78], rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
lea r13, [rax + 8]
mov qword [rbp - 0x68], r13
mov r14, rdi
mov qword [rbp - 0x70], rdi
mov dword [rsp + 0x48], edi
cmp dword [rsp + 0x40], 0
jbe 0x14000ed86
mov r12, qword [rsp + 0x68]
add r12, 4
nop dword [rax]
mov ebx, dword [r12 + 4]
and ebx, 0x3f
mov ecx, dword [r12 - 4]
mov edx, 1
call fcn.1402deebc
mov r14, rax
mov qword [rbp + 0x28], rax
mov r8d, dword [r12 - 4]
mov dword [rsp + 0x50], edi
test r8d, r8d
je 0x14000e753
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov rdx, rax
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x28], ebx
mov eax, dword [r12]
mov dword [rsp + 0x20], eax
mov r9d, dword [r12 - 4]
lea r8, [rbp - 0x50]
mov rdx, r14
call fcn.14000da30
mov r13, qword [rbp - 0x60]
mov rcx, qword [r13 + 0x18]
call fcn.14001f970
mov r15, rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x50], rax
mov r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp word [r15 + r14*2], 0
jne 0x14000e7a0
mov edx, dword [rsi - 8]
add edx, r14d
lea rcx, [rsp + 0x50]
call fcn.14001e440
mov eax, dword [rsi - 8]
add eax, eax
movsxd r8, eax
mov rdx, rsi
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1402d15b0
lea eax, [r14 + r14]
movsxd r8, eax
movsxd rax, dword [rsi - 8]
lea rcx, [rbx + rax*2]
mov rdx, r15
call fcn.1402d15b0
cmp dword [rsp + 0x48], 0
jne 0x14000e8e2
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x48], rax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x14000e812
lea rcx, [rsp + 0x48]
call fcn.14001e440
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rbx
call fcn.1402d15b0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 8]
call fcn.14001da90
mov r14, rax
mov rcx, qword [rax]
mov edx, dword [rcx - 8]
lea rcx, [rbp - 0x68]
call fcn.14001e440
mov rdx, qword [r14]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov r14, qword [rbp - 0x68]
mov rcx, r14
call fcn.1402d15b0
mov rax, qword [rbp + 8]
test rax, rax
je 0x14000e889
lea rcx, [rax - 8]
call fcn.1402d83b4
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14000e8c8
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000e8da
test rax, rax
je 0x14000e8da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x70], rdi
mov dword [rsp + 0x48], 1
mov rdx, qword [r13 + 8]
mov r15, qword [r13]
mov ecx, dword [r12]
mov r8, qword [rbp - 0x58]
add rcx, r8
lea rax, [r15 + rdx]
cmp rcx, rax
mov ecx, 0xa
jb 0x14000ec1d
sub r15d, r8d
add r15d, edx
lea edx, [rcx - 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x68], rax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x14000e925
lea rcx, [rsp + 0x68]
call fcn.14001e440
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rbx
call fcn.1402d15b0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.14001da90
mov r14, rax
mov rcx, qword [rax]
mov edx, dword [rcx - 8]
lea rcx, [rbp - 0x68]
call fcn.14001e440
mov rdx, qword [r14]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov r13, qword [rbp - 0x68]
mov rcx, r13
call fcn.1402d15b0
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x14000e99c
lea rcx, [rax - 8]
call fcn.1402d83b4
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14000e9df
mov r14, rdi
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x78], rdi
mov r9d, 2
lea r8, [rsp + 0x78]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test r15d, r15d
je 0x14000ea1a
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
mov r8d, r15d
mov rdx, qword [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14, r14
je 0x14000ea2f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, rdi
mov qword [rbp - 0x70], rdi
mov rax, qword [rbp - 0x60]
add rax, 0x20
mov qword [rsp + 0x78], rax
cmp r15d, dword [r12]
jae 0x14000ec10
mov rcx, qword [rax + 0x18]
call fcn.14001f970
mov r13, rax
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rbp - 0x60], rax
mov r14, 0xffffffffffffffff
nop
inc r14
cmp word [r13 + r14*2], 0
jne 0x14000ea70
mov edx, dword [rsi - 8]
add edx, r14d
lea rcx, [rbp - 0x60]
call fcn.14001e440
mov eax, dword [rsi - 8]
add eax, eax
movsxd r8, eax
mov rdx, rsi
mov rbx, qword [rbp - 0x60]
mov rcx, rbx
call fcn.1402d15b0
lea eax, [r14 + r14]
movsxd r8, eax
movsxd rax, dword [rsi - 8]
lea rcx, [rbx + rax*2]
mov rdx, r13
call fcn.1402d15b0
lea r14, [rbx - 8]
mov edx, dword [r14]
lea rcx, [rsp + 0x50]
call fcn.14001e440
mov eax, dword [r14]
add eax, eax
movsxd r8, eax
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1402d15b0
mov rcx, r14
call fcn.1402d83b4
mov edx, 1
lea ecx, [rdx + 9]
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x68], rax
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x14000eb10
lea rcx, [rsp + 0x68]
call fcn.14001e440
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rbx
call fcn.1402d15b0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x18]
call fcn.14001da90
mov r14, rax
mov rcx, qword [rax]
mov edx, dword [rcx - 8]
lea rcx, [rbp - 0x68]
call fcn.14001e440
mov rdx, qword [r14]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov r13, qword [rbp - 0x68]
mov rcx, r13
call fcn.1402d15b0
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x14000eb87
lea rcx, [rax - 8]
call fcn.1402d83b4
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ebca
mov r14, rdi
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [r12]
mov edx, r15d
add rdx, qword [rbp - 0x50]
sub r8d, r15d
je 0x14000ebed
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14, r14
je 0x14000ec02
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, rdi
mov qword [rbp - 0x70], rdi
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x60], rax
jmp 0x14000ed4b
mov dword [rsp + 0x48], edi
mov qword [rbp - 0x60], rax
jmp 0x14000ed4b
mov edx, 1
call fcn.1402deebc
add rax, 8
mov qword [rsp + 0x68], rax
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rbx + rdx*2], 0
jne 0x14000ec40
lea rcx, [rsp + 0x68]
call fcn.14001e440
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx - 8]
lea eax, [rax*2 + 2]
movsxd r8, eax
mov rdx, rbx
call fcn.1402d15b0
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.14001da90
mov r14, rax
mov rcx, qword [rax]
mov edx, dword [rcx - 8]
lea rcx, [rbp - 0x68]
call fcn.14001e440
mov rdx, qword [r14]
mov eax, dword [rdx - 8]
add eax, eax
movsxd r8, eax
mov r13, qword [rbp - 0x68]
mov rcx, r13
call fcn.1402d15b0
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14000ecb7
lea rcx, [rax - 8]
call fcn.1402d83b4
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ecfa
mov r14, rdi
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x78], rdi
mov r9d, 2
lea r8, [rsp + 0x78]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov r8d, dword [r12]
test r8d, r8d
je 0x14000ed36
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, qword [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14, r14
je 0x14000ed4b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, rdi
mov qword [rbp - 0x70], rdi
mov rcx, qword [rbp - 0x50]
call fcn.1402d83b4
mov rcx, qword [rbp + 0x28]
call fcn.1402d83b4
mov eax, dword [r12]
add qword [rbp - 0x58], rax
test rbx, rbx
je 0x14000ed73
lea rcx, [rbx - 8]
call fcn.1402d83b4
add r12, 0xc
sub qword [rbp - 0x80], 1
mov r15, qword [rbp - 0x48]
jne 0x14000e710
mov rcx, qword [rsp + 0x70]
call fcn.1402d83b4
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x14000eda3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r15 + 0x20], rdi
test r14, r14
je 0x14000edb1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13, r13
je 0x14000edc0
lea rcx, [r13 - 8]
call fcn.1402d83b4
nop
test rsi, rsi
je 0x14000edce
lea rcx, [rsi - 8]
call fcn.1402d83b4
mov r14, qword [rbp - 0x30]
mov rcx, qword [rbp + 0x20]
call fcn.1402d83b4
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000eded
add rcx, 0xfffffffffffffff8
call fcn.1402d83b4
test r14, r14
je 0x14000edfb
lea rcx, [r14 - 8]
call fcn.1402d83b4
mov eax, 1
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140048b40
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret