Function at 0x140139d34
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.0x140005b13.0]
test eax, eax
jns 0x140139dfe
lea r12, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013aafe
test byte [rcx + 0x1c], 1
je 0x14013aafe
cmp byte [rcx + 0x19], 2
jb 0x14013aafe
lea edx, [rdi + 0x4f]
mov r9d, eax
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
jmp 0x14013aafe
movups xmm0, xmmword [rbx]
movdqu xmmword [rsi + 0x10], xmm0
lea rdx, [rsi + 0x28]
xor r8d, r8d
mov rcx, qword [rbx + 0x68]
call fcn.14008859c
test eax, eax
jns 0x140139e21
mov edi, eax
jmp 0x14013aafe
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.1401406f4
mov r14d, eax
test eax, eax
jns 0x140139e96
lea r12, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x140139e8e
test byte [rcx + 0x1c], 1
je 0x140139e8e
cmp byte [rcx + 0x19], 2
jb 0x140139e8e
mov edx, 0x50
mov r9d, eax
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
mov edi, r14d
jmp 0x14013aafe
lea r12, [0x14017a048]
cmp byte [rbp + 0x7f], dil
je 0x140139ec5
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 0x14013a850
cmp dword [rbx + 0x44], 1
jne 0x140139ed2
mov eax, dword [rbx + 0x48]
mov dword [rsi], eax
jmp 0x140139eda
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.0x140005b13.0]
mov r14d, eax
test eax, eax
jns 0x140139f84
cmp eax, 0x80042444
je 0x140139f21
lea r8, str.hr__VDS_E_PACK_OFFLINE
mov edx, 0x65a
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.1400876c8
lea r12, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x140139f58
test byte [rcx + 0x1c], 1
je 0x140139f58
cmp byte [rcx + 0x19], 3
jb 0x140139f58
mov edx, 0x51
mov r9d, r14d
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
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 0x14013aaad
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013aaad
mov r9d, edi
movsxd r10, dword [rbp - 0x79]
test r10, r10
jle 0x14013a041
mov r8, rdi
mov rax, qword [rbp - 0x61]
lea rdx, [rax + 0x10]
mov r11d, 0x66
mov ecx, dword [rdx]
cmp ecx, 6
ja 0x140139fb2
bt r11d, ecx
jb 0x140139fba
cmp ecx, 0x7fff
jne 0x140139fcb
inc r9d
inc r8
add rdx, 0x50
cmp r8, r10
jl 0x140139fa5
jmp 0x14013a041
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a03d
test byte [rcx + 0x1c], 1
je 0x14013a013
cmp byte [rcx + 0x19], 4
jb 0x14013a013
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, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.1400101b0
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a03d
test byte [rcx + 0x1c], 1
je 0x14013a03d
cmp byte [rcx + 0x19], 4
jb 0x14013a03d
mov edx, 0x52
mov r9d, dword [rsi + 0x20]
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
or dword [r15], 8
mov rax, qword [rbp + 0x5f]
cmp byte [rax + 0x50], dil
je 0x14013a04f
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 0x14013aae2
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 0x14013aae2
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 0x14013aae2
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 0x14013aae2
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 0x14013a7f8
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 0x14013a162
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 0x14013a189
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 [0x140159df8]
movdqu xmmword [rax + rdx*8], xmm0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14013a1c2
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 0x14013a1e3
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 0x14013a77c
cmp edx, 0x7fff
je 0x14013a77c
cmp edx, 2
jne 0x14013a5cc
movsxd rax, r13d
lea r8, [rax + rax*4]
add r8, r8
mov rax, qword [rcx + r8*8 + 0x28]
cmp rax, qword [0x140159df8]
jne 0x14013a23b
mov rax, qword [rcx + r8*8 + 0x30]
cmp rax, qword [0x140159e00]
je 0x14013a5cc
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.0x140005b13.0]
test eax, eax
jns 0x14013a2ed
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013a2ae
test byte [r10 + 0x1c], 1
je 0x14013a2ae
cmp byte [r10 + 0x19], 3
jb 0x14013a2ae
mov edx, 0x53
mov r9d, eax
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140004b9c
mov r10, qword [0x14017a048]
mov r14d, edi
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14013a2ce
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
mov r10, qword [0x14017a048]
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14013a78c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
jmp 0x14013a785
mov rax, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rax, rcx
je 0x14013a349
mov rbx, rax
mov rax, rdi
mov qword [rbp - 0x71], rax
test rcx, rcx
je 0x14013a328
mov rax, qword [rcx]
lea r8, [rbp - 0x71]
lea rdx, [0x140164e58]
mov rax, qword [rax]
call qword [case.0x140005b13.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
test rbx, rbx
je 0x14013a345
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x51]
test rax, rax
je 0x14013a7b4
test rcx, rcx
je 0x14013a36c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.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.14013ab2c
test eax, eax
jns 0x14013a3b6
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013a2ae
test byte [r10 + 0x1c], 1
je 0x14013a2ae
cmp byte [r10 + 0x19], 3
jb 0x14013a2ae
mov edx, 0x54
jmp 0x14013a294
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.14008b4a4
test eax, eax
jns 0x14013a40b
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013a2ae
test byte [r10 + 0x1c], 1
je 0x14013a2ae
cmp byte [r10 + 0x19], 3
jb 0x14013a2ae
mov edx, 0x55
jmp 0x14013a294
mov ebx, 1
lea rdx, [rbp - 0x49]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.1401352f8
mov r14d, eax
test eax, eax
jns 0x14013a45a
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a455
test byte [rcx + 0x1c], bl
je 0x14013a455
cmp byte [rcx + 0x19], 3
jb 0x14013a455
lea edx, [rbx + 0x55]
mov r9d, eax
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x14013a57b
mov dword [rbp - 0x41], edi
lea r8, [rbp - 0x41]
mov dl, 1
mov r15, qword [rsp + 0x30]
mov rcx, r15
call fcn.14013603c
mov r14d, eax
test eax, eax
jns 0x14013a4c1
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a4bc
test byte [rcx + 0x1c], 1
je 0x14013a4bc
cmp byte [rcx + 0x19], 3
jb 0x14013a4bc
mov edx, 0x57
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov rcx, qword [0x14017a048]
mov r14d, edi
jmp 0x14013a4c8
mov rcx, qword [0x14017a048]
mov eax, dword [rbp - 0x41]
shr eax, 0xb
and al, 1
jne 0x14013a547
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 0x14013a501
mov rcx, r15
call fcn.1401373d4
mov r14d, eax
jmp 0x14013a508
mov rbx, qword [rbp - 0x39]
mov r14d, edi
test r14d, r14d
jns 0x14013a570
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a542
test byte [rcx + 0x1c], 1
je 0x14013a542
cmp byte [rcx + 0x19], 3
jb 0x14013a542
mov edx, 0x58
mov dword [rsp + 0x20], r14d
mov r9, r15
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov r14d, edi
jmp 0x14013a570
cmp rcx, r12
je 0x14013a56d
test byte [rcx + 0x1c], 1
je 0x14013a56d
cmp byte [rcx + 0x19], 4
jb 0x14013a56d
mov edx, 0x59
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b70
mov rbx, rdi
add qword [rsi + 0x38], rbx
mov r13, qword [rsp + 0x30]
jmp 0x14013a58c
test ebx, ebx
je 0x14013a58c
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 0x14013a5a6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14013a5bc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
mov r10, qword [0x14017a048]
mov rbx, qword [rbp - 0x51]
jmp 0x14013a791
cmp edx, 4
jne 0x14013a768
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.14008fe94
test eax, eax
jns 0x14013a65d
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013a649
test byte [r10 + 0x1c], bl
je 0x14013a649
mov r13, qword [rsp + 0x30]
cmp byte [r10 + 0x19], 3
jb 0x14013a64e
lea edx, [rbx + 0x5a]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140005ca0
mov r10, qword [0x14017a048]
jmp 0x14013a64e
mov r13, qword [rsp + 0x30]
mov r14d, edi
mov rbx, qword [rbp - 0x51]
mov al, r14b
jmp 0x14013a794
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.14008859c
mov r14d, eax
test eax, eax
js 0x14013a7d4
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.1401352f8
mov r14d, eax
test eax, eax
jns 0x14013a6ce
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a6c9
test byte [rcx + 0x1c], bl
je 0x14013a6c9
cmp byte [rcx + 0x19], 3
jb 0x14013a6c9
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x14013a74f
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 0x14013a703
mov rcx, r13
call fcn.1401373d4
mov r14d, eax
jmp 0x14013a70a
mov rbx, qword [rbp - 0x31]
mov r14d, edi
test r14d, r14d
jns 0x14013a749
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a744
test byte [rcx + 0x1c], 1
je 0x14013a744
cmp byte [rcx + 0x19], 3
jb 0x14013a744
mov edx, 0x5d
mov dword [rsp + 0x20], r14d
mov r9, r13
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov r14d, edi
jmp 0x14013a760
add qword [rsi + 0x38], rbx
jmp 0x14013a760
test ebx, ebx
je 0x14013a760
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + r15*8 + 0x20]
add qword [rsi + 0x38], rcx
inc dword [rsi + 0x44]
jmp 0x14013a5bc
mov al, dil
mov byte [rbp + 0x77], al
mov r10, qword [0x14017a048]
mov r13, qword [rsp + 0x30]
jmp 0x14013a794
mov rax, qword [rcx + r15*8 + 0x20]
add qword [rsi + 0x38], rax
mov r10, qword [0x14017a048]
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 0x14013a7f2
mov r13d, r8d
jmp 0x14013a138
mov ebx, 0x80004002
test rcx, rcx
je 0x14013aae7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005b13.0]
jmp 0x14013aae7
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013aab2
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013aab2
test al, al
je 0x14013a83b
jmp 0x14013a804
mov r10, qword [0x14017a048]
mov r13, qword [rsp + 0x30]
cmp r10, r12
je 0x14013a82c
test byte [r10 + 0x1c], 1
je 0x14013a82c
cmp byte [r10 + 0x19], 4
jb 0x14013a82c
mov edx, 0x5e
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140004b70
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x38], rax
mov r10, qword [0x14017a048]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013a857
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013a893
test byte [r10 + 0x1c], 1
je 0x14013a893
cmp byte [r10 + 0x19], 4
jb 0x14013a893
mov edx, 0x5f
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x20]
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.1400102d0
mov r10, qword [0x14017a048]
mov eax, dword [rsi + 0x44]
test eax, eax
jne 0x14013a8d6
mov eax, edi
cmp r10, r12
je 0x14013a8cb
test byte [r10 + 0x1c], 1
je 0x14013a8cb
cmp byte [r10 + 0x19], 4
jb 0x14013a8cb
mov edx, 0x60
mov r9d, dword [rsi + 0x20]
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140004b9c
mov eax, dword [rsi + 0x44]
mov byte [rsi + 0x40], 1
mov r10, qword [0x14017a048]
mov r15d, edi
test eax, eax
je 0x14013aab2
cmp r10, r12
je 0x14013a91b
test byte [r10 + 0x1c], 1
je 0x14013a91b
cmp byte [r10 + 0x19], 4
jb 0x14013a91b
mov eax, r15d
mov r9, qword [rsi + 0x58]
mov edx, 0x61
mov r9, qword [r9 + rax*8]
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140005c30
mov r10, qword [0x14017a048]
mov ebx, r15d
mov rax, qword [rsi + 0x50]
test byte [rax + rbx*4], 1
je 0x14013a961
cmp r10, r12
je 0x14013aa6e
test byte [r10 + 0x1c], 1
je 0x14013aa6e
cmp byte [r10 + 0x19], 4
jb 0x14013aa6e
mov edx, 0x62
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140004b70
jmp 0x14013aa67
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.14008b4a4
mov r14d, eax
test eax, eax
js 0x14013aa7d
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013a9d6
test byte [rcx + 0x1c], 1
je 0x14013a9d6
mov r13, qword [rsp + 0x30]
cmp byte [rcx + 0x19], 4
jb 0x14013a9db
mov edx, 0x64
mov r9, r13
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140005c30
jmp 0x14013a9db
mov r13, qword [rsp + 0x30]
mov rax, qword [rsi + 0x60]
lea rdx, [rax + rbx*8]
mov rcx, r13
call fcn.140135ddc
mov r14d, eax
test eax, eax
jns 0x14013aa30
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013aa2b
test byte [r10 + 0x1c], 1
je 0x14013aa2b
cmp byte [r10 + 0x19], 3
jb 0x14013aa2b
mov edx, 0x65
mov r9d, eax
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140004b9c
mov r10, qword [0x14017a048]
mov r14d, edi
jmp 0x14013aa6e
mov r10, qword [0x14017a048]
cmp r10, r12
je 0x14013aa6e
test byte [r10 + 0x1c], 1
je 0x14013aa6e
cmp byte [r10 + 0x19], 4
jb 0x14013aa6e
mov r9, qword [rsi + 0x60]
mov edx, 0x66
mov r9, qword [r9 + rbx*8]
lea r8, [0x140164df8]
mov rcx, qword [r10 + 0x10]
call fcn.140005c30
mov r10, qword [0x14017a048]
inc r15d
cmp r15d, dword [rsi + 0x44]
jb 0x14013a8e1
jmp 0x14013aab2
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14013aaad
test byte [rcx + 0x1c], 1
je 0x14013aaad
cmp byte [rcx + 0x19], 2
jb 0x14013aaad
mov edx, 0x63
mov r9d, eax
lea r8, [0x140164df8]
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
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 0x140139e8e
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x140139e8e
mov ebx, 0x8007000e
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14013aafc
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov edi, ebx
lea rcx, [rbp - 0x29]
call fcn.14013c43c
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