Function at 0x140130470
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]
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.0x140005adb.0]
test eax, eax
jns 0x140130534
lea r12, [0x140170048]
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1401311c1
test byte [rcx + 0x1c], 1
je 0x1401311c1
cmp byte [rcx + 0x19], 2
jb 0x1401311c1
lea edx, [rdi + 0x4f]
mov r9d, eax
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
jmp 0x1401311c1
movups xmm0, xmmword [rbx]
movdqu xmmword [rsi + 0x10], xmm0
lea rdx, [rsi + 0x28]
xor r8d, r8d
mov rcx, qword [rbx + 0x68]
call fcn.14008468c
test eax, eax
jns 0x140130557
mov edi, eax
jmp 0x1401311c1
mov rcx, qword [rbx + 0x60]
add rcx, 0x22
call qword [sym.imp.msvcrt.dll__wtol]
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.140136c1c
mov r14d, eax
test eax, eax
jns 0x1401305c6
lea r12, [0x140170048]
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1401305be
test byte [rcx + 0x1c], 1
je 0x1401305be
cmp byte [rcx + 0x19], 2
jb 0x1401305be
mov edx, 0x50
mov r9d, eax
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
mov edi, r14d
jmp 0x1401311c1
lea r12, [0x140170048]
cmp byte [rbp + 0x7f], dil
je 0x1401305f5
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 0x140130f2b
cmp dword [rbx + 0x44], 1
jne 0x140130602
mov eax, dword [rbx + 0x48]
mov dword [rsi], eax
jmp 0x14013060a
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.0x140005adb.0]
mov r14d, eax
test eax, eax
jns 0x1401306aa
cmp eax, 0x80042444
je 0x14013064d
lea r8, str.hr__VDS_E_PACK_OFFLINE
mov edx, 0x65a
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.14008388c
lea r12, [0x140170048]
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130684
test byte [rcx + 0x1c], 1
je 0x140130684
cmp byte [rcx + 0x19], 3
jb 0x140130684
mov edx, 0x51
mov r9d, r14d
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
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 0x140131182
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140131182
mov r9d, edi
movsxd r10, dword [rbp - 0x79]
test r10, r10
jle 0x140130767
mov r8, rdi
mov rax, qword [rbp - 0x61]
lea rdx, [rax + 0x10]
mov r11d, 0x66
mov ecx, dword [rdx]
cmp ecx, 6
ja 0x1401306d8
bt r11d, ecx
jb 0x1401306e0
cmp ecx, 0x7fff
jne 0x1401306f1
inc r9d
inc r8
add rdx, 0x50
cmp r8, r10
jl 0x1401306cb
jmp 0x140130767
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130763
test byte [rcx + 0x1c], 1
je 0x140130739
cmp byte [rcx + 0x19], 4
jb 0x140130739
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, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.14000fe18
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130763
test byte [rcx + 0x1c], 1
je 0x140130763
cmp byte [rcx + 0x19], 4
jb 0x140130763
mov edx, 0x52
mov r9d, dword [rsi + 0x20]
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
or dword [r15], 8
mov rax, qword [rbp + 0x5f]
cmp byte [rax + 0x50], dil
je 0x140130775
or dword [r15], 0x10
mov qword [rsi + 0x38], rdi
movsxd rcx, dword [rbp - 0x79]
shl rcx, 4
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x48], rax
test rax, rax
je 0x1401311ab
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]
mov qword [rsi + 0x50], rax
test rax, rax
je 0x1401311ab
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]
mov qword [rsi + 0x58], rax
test rax, rax
je 0x1401311ab
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]
mov qword [rsi + 0x60], rax
test rax, rax
je 0x1401311ab
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 0x140130ed9
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 0x14013086a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
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 0x14013088b
call qword [sym.imp.ole32.dll_CoTaskMemFree]
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 [0x14014fd28]
movdqu xmmword [rax + rdx*8], xmm0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x1401308c1
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov qword [rbp - 0x49], rax
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x1401308dc
mov rcx, r9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
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 0x140130e63
cmp edx, 0x7fff
je 0x140130e63
cmp edx, 2
jne 0x140130cbf
movsxd rax, r13d
lea r8, [rax + rax*4]
add r8, r8
mov rax, qword [rcx + r8*8 + 0x28]
cmp rax, qword [0x14014fd28]
jne 0x140130934
mov rax, qword [rcx + r8*8 + 0x30]
cmp rax, qword [0x14014fd30]
je 0x140130cbf
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.0x140005adb.0]
test eax, eax
jns 0x1401309e6
mov r10, qword [0x140170048]
cmp r10, r12
je 0x1401309a7
test byte [r10 + 0x1c], 1
je 0x1401309a7
cmp byte [r10 + 0x19], 3
jb 0x1401309a7
mov edx, 0x53
mov r9d, eax
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140004c78
mov r10, qword [0x140170048]
mov r14d, edi
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x1401309c7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
mov r10, qword [0x140170048]
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x140130e73
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
jmp 0x140130e6c
mov rax, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rax, rcx
je 0x140130a42
mov rbx, rax
mov rax, rdi
mov qword [rbp - 0x71], rax
test rcx, rcx
je 0x140130a21
mov rax, qword [rcx]
lea r8, [rbp - 0x71]
lea rdx, [0x14015ad78]
mov rax, qword [rax]
call qword [case.0x140005adb.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
test rbx, rbx
je 0x140130a3e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x51]
test rax, rax
je 0x140130e9b
test rcx, rcx
je 0x140130a65
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.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.1401311f0
test eax, eax
jns 0x140130aaf
mov r10, qword [0x140170048]
cmp r10, r12
je 0x1401309a7
test byte [r10 + 0x1c], 1
je 0x1401309a7
cmp byte [r10 + 0x19], 3
jb 0x1401309a7
mov edx, 0x54
jmp 0x14013098d
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.1400873b0
test eax, eax
jns 0x140130b04
mov r10, qword [0x140170048]
cmp r10, r12
je 0x1401309a7
test byte [r10 + 0x1c], 1
je 0x1401309a7
cmp byte [r10 + 0x19], 3
jb 0x1401309a7
mov edx, 0x55
jmp 0x14013098d
mov ebx, 1
lea rdx, [rbp - 0x49]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.14012bbdc
mov r14d, eax
test eax, eax
jns 0x140130b53
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130b4e
test byte [rcx + 0x1c], bl
je 0x140130b4e
cmp byte [rcx + 0x19], 3
jb 0x140130b4e
lea edx, [rbx + 0x55]
mov r9d, eax
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x140130c6e
mov dword [rbp - 0x41], edi
lea r8, [rbp - 0x41]
mov dl, 1
mov r15, qword [rsp + 0x30]
mov rcx, r15
call fcn.14012c8b0
mov r14d, eax
test eax, eax
jns 0x140130bba
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130bb5
test byte [rcx + 0x1c], 1
je 0x140130bb5
cmp byte [rcx + 0x19], 3
jb 0x140130bb5
mov edx, 0x57
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140005c44
mov rcx, qword [0x140170048]
mov r14d, edi
jmp 0x140130bc1
mov rcx, qword [0x140170048]
mov eax, dword [rbp - 0x41]
shr eax, 0xb
and al, 1
jne 0x140130c3a
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]
test eax, eax
jne 0x140130bf4
mov rcx, r15
call fcn.14012db30
mov r14d, eax
jmp 0x140130bfb
mov rbx, qword [rbp - 0x39]
mov r14d, edi
test r14d, r14d
jns 0x140130c63
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130c35
test byte [rcx + 0x1c], 1
je 0x140130c35
cmp byte [rcx + 0x19], 3
jb 0x140130c35
mov edx, 0x58
mov dword [rsp + 0x20], r14d
mov r9, r15
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140005c44
mov r14d, edi
jmp 0x140130c63
cmp rcx, r12
je 0x140130c60
test byte [rcx + 0x1c], 1
je 0x140130c60
cmp byte [rcx + 0x19], 4
jb 0x140130c60
mov edx, 0x59
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c54
mov rbx, rdi
add qword [rsi + 0x38], rbx
mov r13, qword [rsp + 0x30]
jmp 0x140130c7f
test ebx, ebx
je 0x140130c7f
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 0x140130c99
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x140130caf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
mov r10, qword [0x140170048]
mov rbx, qword [rbp - 0x51]
jmp 0x140130e78
cmp edx, 4
jne 0x140130e4f
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]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.14008b924
test eax, eax
jns 0x140130d4a
mov r10, qword [0x140170048]
cmp r10, r12
je 0x140130d36
test byte [r10 + 0x1c], bl
je 0x140130d36
mov r13, qword [rsp + 0x30]
cmp byte [r10 + 0x19], 3
jb 0x140130d3b
lea edx, [rbx + 0x5a]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140005c44
mov r10, qword [0x140170048]
jmp 0x140130d3b
mov r13, qword [rsp + 0x30]
mov r14d, edi
mov rbx, qword [rbp - 0x51]
mov al, r14b
jmp 0x140130e7b
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.14008468c
mov r14d, eax
test eax, eax
js 0x140130ebb
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.14012bbdc
mov r14d, eax
test eax, eax
jns 0x140130dbb
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130db6
test byte [rcx + 0x1c], bl
je 0x140130db6
cmp byte [rcx + 0x19], 3
jb 0x140130db6
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140005c44
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x140130e36
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]
test eax, eax
jne 0x140130dea
mov rcx, r13
call fcn.14012db30
mov r14d, eax
jmp 0x140130df1
mov rbx, qword [rbp - 0x31]
mov r14d, edi
test r14d, r14d
jns 0x140130e30
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140130e2b
test byte [rcx + 0x1c], 1
je 0x140130e2b
cmp byte [rcx + 0x19], 3
jb 0x140130e2b
mov edx, 0x5d
mov dword [rsp + 0x20], r14d
mov r9, r13
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140005c44
mov r14d, edi
jmp 0x140130e47
add qword [rsi + 0x38], rbx
jmp 0x140130e47
test ebx, ebx
je 0x140130e47
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + r15*8 + 0x20]
add qword [rsi + 0x38], rcx
inc dword [rsi + 0x44]
jmp 0x140130caf
mov al, dil
mov byte [rbp + 0x77], al
mov r10, qword [0x140170048]
mov r13, qword [rsp + 0x30]
jmp 0x140130e7b
mov rax, qword [rcx + r15*8 + 0x20]
add qword [rsi + 0x38], rax
mov r10, qword [0x140170048]
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 0x140130ed3
mov r13d, r8d
jmp 0x140130846
mov ebx, 0x80004002
test rcx, rcx
je 0x1401311b0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005adb.0]
jmp 0x1401311b0
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140131187
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140131187
test al, al
je 0x140130f1c
jmp 0x140130ee5
mov r10, qword [0x140170048]
mov r13, qword [rsp + 0x30]
cmp r10, r12
je 0x140130f0d
test byte [r10 + 0x1c], 1
je 0x140130f0d
cmp byte [r10 + 0x19], 4
jb 0x140130f0d
mov edx, 0x5e
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140004c54
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x38], rax
mov r10, qword [0x140170048]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140130f32
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x140170048]
cmp r10, r12
je 0x140130f6e
test byte [r10 + 0x1c], 1
je 0x140130f6e
cmp byte [r10 + 0x19], 4
jb 0x140130f6e
mov edx, 0x5f
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x20]
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.14000ff2c
mov r10, qword [0x140170048]
mov eax, dword [rsi + 0x44]
test eax, eax
jne 0x140130fb1
mov eax, edi
cmp r10, r12
je 0x140130fa6
test byte [r10 + 0x1c], 1
je 0x140130fa6
cmp byte [r10 + 0x19], 4
jb 0x140130fa6
mov edx, 0x60
mov r9d, dword [rsi + 0x20]
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140004c78
mov eax, dword [rsi + 0x44]
mov byte [rsi + 0x40], 1
mov r10, qword [0x140170048]
mov r15d, edi
test eax, eax
je 0x140131187
cmp r10, r12
je 0x140130ff6
test byte [r10 + 0x1c], 1
je 0x140130ff6
cmp byte [r10 + 0x19], 4
jb 0x140130ff6
mov eax, r15d
mov r9, qword [rsi + 0x58]
mov edx, 0x61
mov r9, qword [r9 + rax*8]
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140005bdc
mov r10, qword [0x140170048]
mov ebx, r15d
mov rax, qword [rsi + 0x50]
test byte [rax + rbx*4], 1
je 0x14013103c
cmp r10, r12
je 0x140131143
test byte [r10 + 0x1c], 1
je 0x140131143
cmp byte [r10 + 0x19], 4
jb 0x140131143
mov edx, 0x62
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140004c54
jmp 0x14013113c
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
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.1400873b0
mov r14d, eax
test eax, eax
js 0x140131152
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1401310ab
test byte [rcx + 0x1c], 1
je 0x1401310ab
mov r13, qword [rsp + 0x30]
cmp byte [rcx + 0x19], 4
jb 0x1401310b0
mov edx, 0x64
mov r9, r13
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140005bdc
jmp 0x1401310b0
mov r13, qword [rsp + 0x30]
mov rax, qword [rsi + 0x60]
lea rdx, [rax + rbx*8]
mov rcx, r13
call fcn.14012c668
mov r14d, eax
test eax, eax
jns 0x140131105
mov r10, qword [0x140170048]
cmp r10, r12
je 0x140131100
test byte [r10 + 0x1c], 1
je 0x140131100
cmp byte [r10 + 0x19], 3
jb 0x140131100
mov edx, 0x65
mov r9d, eax
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140004c78
mov r10, qword [0x140170048]
mov r14d, edi
jmp 0x140131143
mov r10, qword [0x140170048]
cmp r10, r12
je 0x140131143
test byte [r10 + 0x1c], 1
je 0x140131143
cmp byte [r10 + 0x19], 4
jb 0x140131143
mov r9, qword [rsi + 0x60]
mov edx, 0x66
mov r9, qword [r9 + rbx*8]
lea r8, [0x14015ad38]
mov rcx, qword [r10 + 0x10]
call fcn.140005bdc
mov r10, qword [0x140170048]
inc r15d
cmp r15d, dword [rsi + 0x44]
jb 0x140130fbc
jmp 0x140131187
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x140131182
test byte [rcx + 0x1c], 1
je 0x140131182
cmp byte [rcx + 0x19], 2
jb 0x140131182
mov edx, 0x63
mov r9d, eax
lea r8, [0x14015ad38]
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
mov r13, qword [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x1401305be
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1401305be
mov ebx, 0x8007000e
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401311bf
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, ebx
lea rcx, [rbp - 0x29]
call fcn.140132a9c
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