Function at 0x14012d788
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.0x1400057f3.0]
test eax, eax
jns 0x14012d84c
lea r12, [0x14016f048]
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e4d9
test byte [rcx + 0x1c], 1
je 0x14012e4d9
cmp byte [rcx + 0x19], 2
jb 0x14012e4d9
lea edx, [rdi + 0x4f]
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
jmp 0x14012e4d9
movups xmm0, xmmword [rbx]
movdqu xmmword [rsi + 0x10], xmm0
lea rdx, [rsi + 0x28]
xor r8d, r8d
mov rcx, qword [rbx + 0x68]
call fcn.140082e28
test eax, eax
jns 0x14012d86f
mov edi, eax
jmp 0x14012e4d9
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.140133e84
mov r14d, eax
test eax, eax
jns 0x14012d8de
lea r12, [0x14016f048]
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012d8d6
test byte [rcx + 0x1c], 1
je 0x14012d8d6
cmp byte [rcx + 0x19], 2
jb 0x14012d8d6
mov edx, 0x50
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov edi, r14d
jmp 0x14012e4d9
lea r12, [0x14016f048]
cmp byte [rbp + 0x7f], dil
je 0x14012d90d
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 0x14012e243
cmp dword [rbx + 0x44], 1
jne 0x14012d91a
mov eax, dword [rbx + 0x48]
mov dword [rsi], eax
jmp 0x14012d922
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.0x1400057f3.0]
mov r14d, eax
test eax, eax
jns 0x14012d9c2
cmp eax, 0x80042444
je 0x14012d965
lea r8, str.hr__VDS_E_PACK_OFFLINE
mov edx, 0x65a
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.140082070
lea r12, [0x14016f048]
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012d99c
test byte [rcx + 0x1c], 1
je 0x14012d99c
cmp byte [rcx + 0x19], 3
jb 0x14012d99c
mov edx, 0x51
mov r9d, r14d
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
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 0x14012e49a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14012e49a
mov r9d, edi
movsxd r10, dword [rbp - 0x79]
test r10, r10
jle 0x14012da7f
mov r8, rdi
mov rax, qword [rbp - 0x61]
lea rdx, [rax + 0x10]
mov r11d, 0x66
mov ecx, dword [rdx]
cmp ecx, 6
ja 0x14012d9f0
bt r11d, ecx
jb 0x14012d9f8
cmp ecx, 0x7fff
jne 0x14012da09
inc r9d
inc r8
add rdx, 0x50
cmp r8, r10
jl 0x14012d9e3
jmp 0x14012da7f
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012da7b
test byte [rcx + 0x1c], 1
je 0x14012da51
cmp byte [rcx + 0x19], 4
jb 0x14012da51
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, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.14000fa80
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012da7b
test byte [rcx + 0x1c], 1
je 0x14012da7b
cmp byte [rcx + 0x19], 4
jb 0x14012da7b
mov edx, 0x52
mov r9d, dword [rsi + 0x20]
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
or dword [r15], 8
mov rax, qword [rbp + 0x5f]
cmp byte [rax + 0x50], dil
je 0x14012da8d
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 0x14012e4c3
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 0x14012e4c3
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 0x14012e4c3
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 0x14012e4c3
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 0x14012e1f1
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 0x14012db82
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 0x14012dba3
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 [0x140157cb8]
movdqu xmmword [rax + rdx*8], xmm0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14012dbd9
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 0x14012dbf4
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 0x14012e17b
cmp edx, 0x7fff
je 0x14012e17b
cmp edx, 2
jne 0x14012dfd7
movsxd rax, r13d
lea r8, [rax + rax*4]
add r8, r8
mov rax, qword [rcx + r8*8 + 0x28]
cmp rax, qword [0x140157cb8]
jne 0x14012dc4c
mov rax, qword [rcx + r8*8 + 0x30]
cmp rax, qword [0x140157cc0]
je 0x14012dfd7
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.0x1400057f3.0]
test eax, eax
jns 0x14012dcfe
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012dcbf
test byte [r10 + 0x1c], 1
je 0x14012dcbf
cmp byte [r10 + 0x19], 3
jb 0x14012dcbf
mov edx, 0x53
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400049f8
mov r10, qword [0x14016f048]
mov r14d, edi
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14012dcdf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
mov r10, qword [0x14016f048]
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14012e18b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
jmp 0x14012e184
mov rax, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rax, rcx
je 0x14012dd5a
mov rbx, rax
mov rax, rdi
mov qword [rbp - 0x71], rax
test rcx, rcx
je 0x14012dd39
mov rax, qword [rcx]
lea r8, [rbp - 0x71]
lea rdx, [0x140157c98]
mov rax, qword [rax]
call qword [case.0x1400057f3.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
test rbx, rbx
je 0x14012dd56
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x71]
mov rbx, qword [rbp - 0x51]
test rax, rax
je 0x14012e1b3
test rcx, rcx
je 0x14012dd7d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.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.14012e500
test eax, eax
jns 0x14012ddc7
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012dcbf
test byte [r10 + 0x1c], 1
je 0x14012dcbf
cmp byte [r10 + 0x19], 3
jb 0x14012dcbf
mov edx, 0x54
jmp 0x14012dca5
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.140085a88
test eax, eax
jns 0x14012de1c
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012dcbf
test byte [r10 + 0x1c], 1
je 0x14012dcbf
cmp byte [r10 + 0x19], 3
jb 0x14012dcbf
mov edx, 0x55
jmp 0x14012dca5
mov ebx, 1
lea rdx, [rbp - 0x49]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.140128fb4
mov r14d, eax
test eax, eax
jns 0x14012de6b
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012de66
test byte [rcx + 0x1c], bl
je 0x14012de66
cmp byte [rcx + 0x19], 3
jb 0x14012de66
lea edx, [rbx + 0x55]
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x14012df86
mov dword [rbp - 0x41], edi
lea r8, [rbp - 0x41]
mov dl, 1
mov r15, qword [rsp + 0x30]
mov rcx, r15
call fcn.140129c70
mov r14d, eax
test eax, eax
jns 0x14012ded2
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012decd
test byte [rcx + 0x1c], 1
je 0x14012decd
cmp byte [rcx + 0x19], 3
jb 0x14012decd
mov edx, 0x57
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.140005938
mov rcx, qword [0x14016f048]
mov r14d, edi
jmp 0x14012ded9
mov rcx, qword [0x14016f048]
mov eax, dword [rbp - 0x41]
shr eax, 0xb
and al, 1
jne 0x14012df52
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 0x14012df0c
mov rcx, r15
call fcn.14012aed4
mov r14d, eax
jmp 0x14012df13
mov rbx, qword [rbp - 0x39]
mov r14d, edi
test r14d, r14d
jns 0x14012df7b
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012df4d
test byte [rcx + 0x1c], 1
je 0x14012df4d
cmp byte [rcx + 0x19], 3
jb 0x14012df4d
mov edx, 0x58
mov dword [rsp + 0x20], r14d
mov r9, r15
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.140005938
mov r14d, edi
jmp 0x14012df7b
cmp rcx, r12
je 0x14012df78
test byte [rcx + 0x1c], 1
je 0x14012df78
cmp byte [rcx + 0x19], 4
jb 0x14012df78
mov edx, 0x59
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049d8
mov rbx, rdi
add qword [rsi + 0x38], rbx
mov r13, qword [rsp + 0x30]
jmp 0x14012df97
test ebx, ebx
je 0x14012df97
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 0x14012dfb1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14012dfc7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
mov r10, qword [0x14016f048]
mov rbx, qword [rbp - 0x51]
jmp 0x14012e190
cmp edx, 4
jne 0x14012e167
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.140089f30
test eax, eax
jns 0x14012e062
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e04e
test byte [r10 + 0x1c], bl
je 0x14012e04e
mov r13, qword [rsp + 0x30]
cmp byte [r10 + 0x19], 3
jb 0x14012e053
lea edx, [rbx + 0x5a]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.140005938
mov r10, qword [0x14016f048]
jmp 0x14012e053
mov r13, qword [rsp + 0x30]
mov r14d, edi
mov rbx, qword [rbp - 0x51]
mov al, r14b
jmp 0x14012e193
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.140082e28
mov r14d, eax
test eax, eax
js 0x14012e1d3
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.140128fb4
mov r14d, eax
test eax, eax
jns 0x14012e0d3
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e0ce
test byte [rcx + 0x1c], bl
je 0x14012e0ce
cmp byte [rcx + 0x19], 3
jb 0x14012e0ce
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.140005938
mov r14d, edi
mov ebx, edi
cmp qword [rbp - 0x49], rdi
je 0x14012e14e
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 0x14012e102
mov rcx, r13
call fcn.14012aed4
mov r14d, eax
jmp 0x14012e109
mov rbx, qword [rbp - 0x31]
mov r14d, edi
test r14d, r14d
jns 0x14012e148
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e143
test byte [rcx + 0x1c], 1
je 0x14012e143
cmp byte [rcx + 0x19], 3
jb 0x14012e143
mov edx, 0x5d
mov dword [rsp + 0x20], r14d
mov r9, r13
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.140005938
mov r14d, edi
jmp 0x14012e15f
add qword [rsi + 0x38], rbx
jmp 0x14012e15f
test ebx, ebx
je 0x14012e15f
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + r15*8 + 0x20]
add qword [rsi + 0x38], rcx
inc dword [rsi + 0x44]
jmp 0x14012dfc7
mov al, dil
mov byte [rbp + 0x77], al
mov r10, qword [0x14016f048]
mov r13, qword [rsp + 0x30]
jmp 0x14012e193
mov rax, qword [rcx + r15*8 + 0x20]
add qword [rsi + 0x38], rax
mov r10, qword [0x14016f048]
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 0x14012e1eb
mov r13d, r8d
jmp 0x14012db5e
mov ebx, 0x80004002
test rcx, rcx
je 0x14012e4c8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
jmp 0x14012e4c8
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14012e49f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14012e49f
test al, al
je 0x14012e234
jmp 0x14012e1fd
mov r10, qword [0x14016f048]
mov r13, qword [rsp + 0x30]
cmp r10, r12
je 0x14012e225
test byte [r10 + 0x1c], 1
je 0x14012e225
cmp byte [r10 + 0x19], 4
jb 0x14012e225
mov edx, 0x5e
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400049d8
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x38], rax
mov r10, qword [0x14016f048]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14012e24a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e286
test byte [r10 + 0x1c], 1
je 0x14012e286
cmp byte [r10 + 0x19], 4
jb 0x14012e286
mov edx, 0x5f
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x20]
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.14000fb88
mov r10, qword [0x14016f048]
mov eax, dword [rsi + 0x44]
test eax, eax
jne 0x14012e2c9
mov eax, edi
cmp r10, r12
je 0x14012e2be
test byte [r10 + 0x1c], 1
je 0x14012e2be
cmp byte [r10 + 0x19], 4
jb 0x14012e2be
mov edx, 0x60
mov r9d, dword [rsi + 0x20]
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400049f8
mov eax, dword [rsi + 0x44]
mov byte [rsi + 0x40], 1
mov r10, qword [0x14016f048]
mov r15d, edi
test eax, eax
je 0x14012e49f
cmp r10, r12
je 0x14012e30e
test byte [r10 + 0x1c], 1
je 0x14012e30e
cmp byte [r10 + 0x19], 4
jb 0x14012e30e
mov eax, r15d
mov r9, qword [rsi + 0x58]
mov edx, 0x61
mov r9, qword [r9 + rax*8]
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400058d8
mov r10, qword [0x14016f048]
mov ebx, r15d
mov rax, qword [rsi + 0x50]
test byte [rax + rbx*4], 1
je 0x14012e354
cmp r10, r12
je 0x14012e45b
test byte [r10 + 0x1c], 1
je 0x14012e45b
cmp byte [r10 + 0x19], 4
jb 0x14012e45b
mov edx, 0x62
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400049d8
jmp 0x14012e454
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.140085a88
mov r14d, eax
test eax, eax
js 0x14012e46a
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e3c3
test byte [rcx + 0x1c], 1
je 0x14012e3c3
mov r13, qword [rsp + 0x30]
cmp byte [rcx + 0x19], 4
jb 0x14012e3c8
mov edx, 0x64
mov r9, r13
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400058d8
jmp 0x14012e3c8
mov r13, qword [rsp + 0x30]
mov rax, qword [rsi + 0x60]
lea rdx, [rax + rbx*8]
mov rcx, r13
call fcn.140129a30
mov r14d, eax
test eax, eax
jns 0x14012e41d
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e418
test byte [r10 + 0x1c], 1
je 0x14012e418
cmp byte [r10 + 0x19], 3
jb 0x14012e418
mov edx, 0x65
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400049f8
mov r10, qword [0x14016f048]
mov r14d, edi
jmp 0x14012e45b
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e45b
test byte [r10 + 0x1c], 1
je 0x14012e45b
cmp byte [r10 + 0x19], 4
jb 0x14012e45b
mov r9, qword [rsi + 0x60]
mov edx, 0x66
mov r9, qword [r9 + rbx*8]
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400058d8
mov r10, qword [0x14016f048]
inc r15d
cmp r15d, dword [rsi + 0x44]
jb 0x14012e2d4
jmp 0x14012e49f
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e49a
test byte [rcx + 0x1c], 1
je 0x14012e49a
cmp byte [rcx + 0x19], 2
jb 0x14012e49a
mov edx, 0x63
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov r13, qword [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14012d8d6
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14012d8d6
mov ebx, 0x8007000e
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14012e4d7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, ebx
lea rcx, [rbp - 0x29]
call fcn.14012fd7c
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