Function at 0x14013a194
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xd0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, r9
mov rsi, rdx
xor edi, edi
mov qword [rsp + 0x30], rdi
mov byte [rbp + 0x77], 1
mov qword [rbp - 0x49], rdi
mov r14d, 0x80
mov ecx, r14d
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp - 0x29], rax
mov r8d, r14d
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
nop
mov rax, qword [r13]
mov rdx, rbx
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [case.0x140005bb3.0]
test eax, eax
jns 0x14013a25e
lea r12, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013af5e
test byte [rcx + 0x1c], 1
je 0x14013af5e
cmp byte [rcx + 0x19], 2
jb 0x14013af5e
lea edx, [rdi + 0x4f]
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
jmp 0x14013af5e
movups xmm0, xmmword [rbx]
movdqu xmmword [rsi + 0x10], xmm0
lea rdx, [rsi + 0x28]
xor r8d, r8d
mov rcx, qword [rbx + 0x68]
call fcn.1400889dc
test eax, eax
jns 0x14013a281
mov edi, eax
jmp 0x14013af5e
mov rcx, qword [rbx + 0x60]
add rcx, 0x22
call qword [sym.imp.msvcrt.dll__wtol]
nop dword [rax + rax]
mov dword [rsi + 0x20], eax
mov rax, qword [rbx + 0x28]
mov qword [rsi + 0x30], rax
lea r15, [rsi + 0x68]
mov rdx, r15
mov rcx, qword [rbx + 0x78]
call fcn.140140b54
mov r14d, eax
test eax, eax
jns 0x14013a2f6
lea r12, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a2ee
test byte [rcx + 0x1c], 1
je 0x14013a2ee
cmp byte [rcx + 0x19], 2
jb 0x14013a2ee
mov edx, 0x50
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov edi, r14d
jmp 0x14013af5e
lea r12, [0x14017b048]
cmp byte [rbp + 0x7f], dil
je 0x14013a325
mov eax, dword [rsi + 0x30]
mov dword [rsi], eax
movzx eax, word [rsi + 0x20]
mov word [rsi + 4], ax
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x38], rax
mov dword [rsi + 0x44], edi
mov r13, qword [rsp + 0x30]
jmp 0x14013acb0
cmp dword [rbx + 0x44], 1
jne 0x14013a332
mov eax, dword [rbx + 0x48]
mov dword [rsi], eax
jmp 0x14013a33a
movups xmm0, xmmword [rbx + 0x48]
movdqu xmmword [rsi], xmm0
mov qword [rbp - 0x61], rdi
mov rax, qword [r13]
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x61]
mov rcx, r13
mov rax, qword [rax + 0x30]
call qword [case.0x140005bb3.0]
mov r14d, eax
test eax, eax
jns 0x14013a3e4
cmp eax, 0x80042444
je 0x14013a381
lea r8, str.hr__VDS_E_PACK_OFFLINE
mov edx, 0x65a
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.140087b08
lea r12, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a3b8
test byte [rcx + 0x1c], 1
je 0x14013a3b8
cmp byte [rcx + 0x19], 3
jb 0x14013a3b8
mov edx, 0x51
mov r9d, r14d
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov qword [rsi + 0x38], rdi
mov dword [rsi + 0x44], edi
mov byte [rsi + 0x40], 1
mov r14d, edi
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013af0d
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013af0d
mov r9d, edi
movsxd r10, dword [rbp - 0x79]
test r10, r10
jle 0x14013a4a1
mov r8, rdi
mov rax, qword [rbp - 0x61]
lea rdx, [rax + 0x10]
mov r11d, 0x66
mov ecx, dword [rdx]
cmp ecx, 6
ja 0x14013a412
bt r11d, ecx
jb 0x14013a41a
cmp ecx, 0x7fff
jne 0x14013a42b
inc r9d
inc r8
add rdx, 0x50
cmp r8, r10
jl 0x14013a405
jmp 0x14013a4a1
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a49d
test byte [rcx + 0x1c], 1
je 0x14013a473
cmp byte [rcx + 0x19], 4
jb 0x14013a473
movsxd rdx, r9d
lea r8, [rdx + rdx*4]
add r8, r8
mov edx, 0x4e
mov r8d, dword [rax + r8*8 + 0x10]
mov dword [rsp + 0x20], r8d
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140010290
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a49d
test byte [rcx + 0x1c], 1
je 0x14013a49d
cmp byte [rcx + 0x19], 4
jb 0x14013a49d
mov edx, 0x52
mov r9d, dword [rsi + 0x20]
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
or dword [r15], 8
mov rax, qword [rbp + 0x5f]
cmp byte [rax + 0x50], dil
je 0x14013a4af
or dword [r15], 0x10
mov qword [rsi + 0x38], rdi
movsxd rcx, dword [rbp - 0x79]
shl rcx, 4
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x48], rax
test rax, rax
je 0x14013af42
movsxd r8, dword [rbp - 0x79]
shl r8, 4
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movsxd rcx, dword [rbp - 0x79]
shl rcx, 2
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x50], rax
test rax, rax
je 0x14013af42
movsxd r8, dword [rbp - 0x79]
shl r8, 2
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movsxd rcx, dword [rbp - 0x79]
shl rcx, 3
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x58], rax
test rax, rax
je 0x14013af42
movsxd r8, dword [rbp - 0x79]
shl r8, 3
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movsxd rcx, dword [rbp - 0x79]
shl rcx, 3
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x60], rax
test rax, rax
je 0x14013af42
movsxd r8, dword [rbp - 0x79]
shl r8, 3
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rsi + 0x44], edi
mov r13d, edi
mov dword [rbp - 0x55], edi
cmp dword [rbp - 0x79], edi
jle 0x14013ac58
mov rbx, rdi
mov qword [rbp - 0x51], rbx
mov edx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x58]
mov rcx, qword [rax + rdx*8]
test rcx, rcx
je 0x14013a5c2
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ecx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x58]
mov qword [rax + rcx*8], rdi
mov edx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x60]
mov rcx, qword [rax + rdx*8]
test rcx, rcx
je 0x14013a5e9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ecx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x60]
mov qword [rax + rcx*8], rdi
mov edx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x50]
mov dword [rax + rdx*4], edi
mov edx, dword [rsi + 0x44]
add rdx, rdx
mov rax, qword [rsi + 0x48]
movups xmm0, xmmword [0x14015af68]
movdqu xmmword [rax + rdx*8], xmm0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14013a622
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x49], rdi
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x14013a643
mov rcx, r9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r9, rdi
mov qword [rsp + 0x30], rdi
lea r15, [rbx + rbx*4]
add r15, r15
mov rcx, qword [rbp - 0x61]
mov edx, dword [rcx + r15*8 + 0x10]
cmp edx, 1
je 0x14013abdc
cmp edx, 0x7fff
je 0x14013abdc
cmp edx, 2
jne 0x14013aa2c
movsxd rax, r13d
lea r8, [rax + rax*4]
add r8, r8
mov rax, qword [rcx + r8*8 + 0x28]
cmp rax, qword [0x14015af68]
jne 0x14013a69b
mov rax, qword [rcx + r8*8 + 0x30]
cmp rax, qword [0x14015af70]
je 0x14013aa2c
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x71], rdi
mov byte [rbp + 0x77], dil
movups xmm0, xmmword [rcx + r15*8 + 0x28]
movdqu xmmword [rbp + 0xf], xmm0
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
lea r9, [rbp - 0x69]
mov r8d, 0xb
lea rdx, [rbp + 0xf]
mov rax, qword [rax + 0x48]
call qword [case.0x140005bb3.0]
test eax, eax
jns 0x14013a74d
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013a70e
test byte [r10 + 0x1c], 1
je 0x14013a70e
cmp byte [r10 + 0x19], 3
jb 0x14013a70e
mov edx, 0x53
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140004c3c
mov r10, qword [0x14017b048]
mov r14d, edi
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14013a72e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov r10, qword [0x14017b048]
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14013abec
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
jmp 0x14013abe5
mov rax, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rax, rcx
je 0x14013a7a9
mov rbx, rax
mov rax, rdi
mov qword [rbp - 0x71], rax
test rcx, rcx
je 0x14013a788
mov rax, qword [rcx]
lea r8, [rbp - 0x71]
lea rdx, [0x140165fc8]
mov rax, qword [rax]
call qword [case.0x140005bb3.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
test rbx, rbx
je 0x14013a7a5
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x51]
test rax, rax
je 0x14013ac14
test rcx, rcx
je 0x14013a7cc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov qword [rbp - 0x69], rdi
mov rax, qword [rbp - 0x71]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x44]
mov r8, qword [rsi + 0x58]
mov rdx, qword [rsi + 0x48]
call fcn.14013af8c
test eax, eax
jns 0x14013a816
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013a70e
test byte [r10 + 0x1c], 1
je 0x14013a70e
cmp byte [r10 + 0x19], 3
jb 0x14013a70e
mov edx, 0x54
jmp 0x14013a6f4
mov edx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x50]
mov ecx, edx
shl rcx, 4
add rcx, qword [rsi + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rax + rdx*4]
call fcn.14008b8e4
test eax, eax
jns 0x14013a86b
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013a70e
test byte [r10 + 0x1c], 1
je 0x14013a70e
cmp byte [r10 + 0x19], 3
jb 0x14013a70e
mov edx, 0x55
jmp 0x14013a6f4
mov ebx, 1
lea rdx, [rbp - 0x49]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.140135758
mov r14d, eax
test eax, eax
jns 0x14013a8ba
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a8b5
test byte [rcx + 0x1c], bl
je 0x14013a8b5
cmp byte [rcx + 0x19], 3
jb 0x14013a8b5
lea edx, [rbx + 0x55]
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x14013a9db
mov dword [rbp - 0x41], edi
lea r8, [rbp - 0x41]
mov dl, 1
mov r15, qword [rsp + 0x30]
mov rcx, r15
call fcn.14013649c
mov r14d, eax
test eax, eax
jns 0x14013a921
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a91c
test byte [rcx + 0x1c], 1
je 0x14013a91c
cmp byte [rcx + 0x19], 3
jb 0x14013a91c
mov edx, 0x57
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
mov rcx, qword [0x14017b048]
mov r14d, edi
jmp 0x14013a928
mov rcx, qword [0x14017b048]
mov eax, dword [rbp - 0x41]
shr eax, 0xb
and al, 1
jne 0x14013a9a7
mov rbx, rdi
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x39]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14013a961
mov rcx, r15
call fcn.140137834
mov r14d, eax
jmp 0x14013a968
mov rbx, qword [rbp - 0x39]
mov r14d, edi
test r14d, r14d
jns 0x14013a9d0
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013a9a2
test byte [rcx + 0x1c], 1
je 0x14013a9a2
cmp byte [rcx + 0x19], 3
jb 0x14013a9a2
mov edx, 0x58
mov dword [rsp + 0x20], r14d
mov r9, r15
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
mov r14d, edi
jmp 0x14013a9d0
cmp rcx, r12
je 0x14013a9cd
test byte [rcx + 0x1c], 1
je 0x14013a9cd
cmp byte [rcx + 0x19], 4
jb 0x14013a9cd
mov edx, 0x59
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c10
mov rbx, rdi
add qword [rsi + 0x38], rbx
mov r13, qword [rsp + 0x30]
jmp 0x14013a9ec
test ebx, ebx
je 0x14013a9ec
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + r15*8 + 0x20]
add qword [rsi + 0x38], rcx
inc dword [rsi + 0x44]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14013aa06
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14013aa1c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
mov r10, qword [0x14017b048]
mov rbx, qword [rbp - 0x51]
jmp 0x14013abf1
cmp edx, 4
jne 0x14013abc8
mov byte [rbp + 0x77], dil
lea ebx, [rdx - 3]
mov ecx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x50]
or dword [rax + rcx*4], ebx
mov rcx, r9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.1400902d4
test eax, eax
jns 0x14013aabd
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013aaa9
test byte [r10 + 0x1c], bl
je 0x14013aaa9
mov r13, qword [rsp + 0x30]
cmp byte [r10 + 0x19], 3
jb 0x14013aaae
lea edx, [rbx + 0x5a]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140005d40
mov r10, qword [0x14017b048]
jmp 0x14013aaae
mov r13, qword [rsp + 0x30]
mov r14d, edi
mov rbx, qword [rbp - 0x51]
mov al, r14b
jmp 0x14013abf4
mov ecx, dword [rsi + 0x44]
mov rax, qword [rsi + 0x58]
lea rdx, [rax + rcx*8]
xor r8d, r8d
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.1400889dc
mov r14d, eax
test eax, eax
js 0x14013ac34
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.140135758
mov r14d, eax
test eax, eax
jns 0x14013ab2e
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013ab29
test byte [rcx + 0x1c], bl
je 0x14013ab29
cmp byte [rcx + 0x19], 3
jb 0x14013ab29
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x14013abaf
mov rbx, rdi
lea r9, [rbp - 9]
lea r8, [rbp - 1]
lea rdx, [rbp - 0x31]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14013ab63
mov rcx, r13
call fcn.140137834
mov r14d, eax
jmp 0x14013ab6a
mov rbx, qword [rbp - 0x31]
mov r14d, edi
test r14d, r14d
jns 0x14013aba9
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013aba4
test byte [rcx + 0x1c], 1
je 0x14013aba4
cmp byte [rcx + 0x19], 3
jb 0x14013aba4
mov edx, 0x5d
mov dword [rsp + 0x20], r14d
mov r9, r13
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
mov r14d, edi
jmp 0x14013abc0
add qword [rsi + 0x38], rbx
jmp 0x14013abc0
test ebx, ebx
je 0x14013abc0
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + r15*8 + 0x20]
add qword [rsi + 0x38], rcx
inc dword [rsi + 0x44]
jmp 0x14013aa1c
mov al, dil
mov byte [rbp + 0x77], al
mov r10, qword [0x14017b048]
mov r13, qword [rsp + 0x30]
jmp 0x14013abf4
mov rax, qword [rcx + r15*8 + 0x20]
add qword [rsi + 0x38], rax
mov r10, qword [0x14017b048]
mov r13, qword [rsp + 0x30]
mov al, byte [rbp + 0x77]
mov r8d, dword [rbp - 0x55]
inc r8d
mov dword [rbp - 0x55], r8d
inc rbx
mov qword [rbp - 0x51], rbx
cmp r8d, dword [rbp - 0x79]
jge 0x14013ac52
mov r13d, r8d
jmp 0x14013a598
mov ebx, 0x80004002
test rcx, rcx
je 0x14013af47
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
jmp 0x14013af47
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013af12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013af12
test al, al
je 0x14013ac9b
jmp 0x14013ac64
mov r10, qword [0x14017b048]
mov r13, qword [rsp + 0x30]
cmp r10, r12
je 0x14013ac8c
test byte [r10 + 0x1c], 1
je 0x14013ac8c
cmp byte [r10 + 0x19], 4
jb 0x14013ac8c
mov edx, 0x5e
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140004c10
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x38], rax
mov r10, qword [0x14017b048]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013acb7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013acf3
test byte [r10 + 0x1c], 1
je 0x14013acf3
cmp byte [r10 + 0x19], 4
jb 0x14013acf3
mov edx, 0x5f
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x20]
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.1400103b0
mov r10, qword [0x14017b048]
mov eax, dword [rsi + 0x44]
test eax, eax
jne 0x14013ad36
mov eax, edi
cmp r10, r12
je 0x14013ad2b
test byte [r10 + 0x1c], 1
je 0x14013ad2b
cmp byte [r10 + 0x19], 4
jb 0x14013ad2b
mov edx, 0x60
mov r9d, dword [rsi + 0x20]
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140004c3c
mov eax, dword [rsi + 0x44]
mov byte [rsi + 0x40], 1
mov r10, qword [0x14017b048]
mov r15d, edi
test eax, eax
je 0x14013af12
cmp r10, r12
je 0x14013ad7b
test byte [r10 + 0x1c], 1
je 0x14013ad7b
cmp byte [r10 + 0x19], 4
jb 0x14013ad7b
mov eax, r15d
mov r9, qword [rsi + 0x58]
mov edx, 0x61
mov r9, qword [r9 + rax*8]
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140005cd0
mov r10, qword [0x14017b048]
mov ebx, r15d
mov rax, qword [rsi + 0x50]
test byte [rax + rbx*4], 1
je 0x14013adc1
cmp r10, r12
je 0x14013aece
test byte [r10 + 0x1c], 1
je 0x14013aece
cmp byte [r10 + 0x19], 4
jb 0x14013aece
mov edx, 0x62
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140004c10
jmp 0x14013aec7
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x30], rdi
mov rax, qword [rsi + 0x50]
mov rcx, rbx
shl rcx, 4
add rcx, qword [rsi + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rax + rbx*4]
call fcn.14008b8e4
mov r14d, eax
test eax, eax
js 0x14013aedd
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013ae36
test byte [rcx + 0x1c], 1
je 0x14013ae36
mov r13, qword [rsp + 0x30]
cmp byte [rcx + 0x19], 4
jb 0x14013ae3b
mov edx, 0x64
mov r9, r13
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140005cd0
jmp 0x14013ae3b
mov r13, qword [rsp + 0x30]
mov rax, qword [rsi + 0x60]
lea rdx, [rax + rbx*8]
mov rcx, r13
call fcn.14013623c
mov r14d, eax
test eax, eax
jns 0x14013ae90
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013ae8b
test byte [r10 + 0x1c], 1
je 0x14013ae8b
cmp byte [r10 + 0x19], 3
jb 0x14013ae8b
mov edx, 0x65
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140004c3c
mov r10, qword [0x14017b048]
mov r14d, edi
jmp 0x14013aece
mov r10, qword [0x14017b048]
cmp r10, r12
je 0x14013aece
test byte [r10 + 0x1c], 1
je 0x14013aece
cmp byte [r10 + 0x19], 4
jb 0x14013aece
mov r9, qword [rsi + 0x60]
mov edx, 0x66
mov r9, qword [r9 + rbx*8]
lea r8, [0x140165f68]
mov rcx, qword [r10 + 0x10]
call fcn.140005cd0
mov r10, qword [0x14017b048]
inc r15d
cmp r15d, dword [rsi + 0x44]
jb 0x14013ad41
jmp 0x14013af12
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x14013af0d
test byte [rcx + 0x1c], 1
je 0x14013af0d
cmp byte [rcx + 0x19], 2
jb 0x14013af0d
mov edx, 0x63
mov r9d, eax
lea r8, [0x140165f68]
mov rcx, qword [rcx + 0x10]
call fcn.140004c3c
mov r13, qword [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14013a2ee
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013a2ee
mov ebx, 0x8007000e
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013af5c
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov edi, ebx
lea rcx, [rbp - 0x29]
call fcn.14013c89c
mov eax, edi
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret