Function at 0x14012d798
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 0x14012d85c
lea r12, [0x14016f048]
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e4e9
test byte [rcx + 0x1c], 1
je 0x14012e4e9
cmp byte [rcx + 0x19], 2
jb 0x14012e4e9
lea edx, [rdi + 0x4f]
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
jmp 0x14012e4e9
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 0x14012d87f
mov edi, eax
jmp 0x14012e4e9
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.140133e94
mov r14d, eax
test eax, eax
jns 0x14012d8ee
lea r12, [0x14016f048]
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012d8e6
test byte [rcx + 0x1c], 1
je 0x14012d8e6
cmp byte [rcx + 0x19], 2
jb 0x14012d8e6
mov edx, 0x50
mov r9d, eax
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
mov edi, r14d
jmp 0x14012e4e9
lea r12, [0x14016f048]
cmp byte [rbp + 0x7f], dil
je 0x14012d91d
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 0x14012e253
cmp dword [rbx + 0x44], 1
jne 0x14012d92a
mov eax, dword [rbx + 0x48]
mov dword [rsi], eax
jmp 0x14012d932
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 0x14012d9d2
cmp eax, 0x80042444
je 0x14012d975
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 0x14012d9ac
test byte [rcx + 0x1c], 1
je 0x14012d9ac
cmp byte [rcx + 0x19], 3
jb 0x14012d9ac
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 0x14012e4aa
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14012e4aa
mov r9d, edi
movsxd r10, dword [rbp - 0x79]
test r10, r10
jle 0x14012da8f
mov r8, rdi
mov rax, qword [rbp - 0x61]
lea rdx, [rax + 0x10]
mov r11d, 0x66
mov ecx, dword [rdx]
cmp ecx, 6
ja 0x14012da00
bt r11d, ecx
jb 0x14012da08
cmp ecx, 0x7fff
jne 0x14012da19
inc r9d
inc r8
add rdx, 0x50
cmp r8, r10
jl 0x14012d9f3
jmp 0x14012da8f
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012da8b
test byte [rcx + 0x1c], 1
je 0x14012da61
cmp byte [rcx + 0x19], 4
jb 0x14012da61
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 0x14012da8b
test byte [rcx + 0x1c], 1
je 0x14012da8b
cmp byte [rcx + 0x19], 4
jb 0x14012da8b
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 0x14012da9d
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 0x14012e4d3
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 0x14012e4d3
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 0x14012e4d3
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 0x14012e4d3
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 0x14012e201
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 0x14012db92
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 0x14012dbb3
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 [0x140151210]
movdqu xmmword [rax + rdx*8], xmm0
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14012dbe9
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 0x14012dc04
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 0x14012e18b
cmp edx, 0x7fff
je 0x14012e18b
cmp edx, 2
jne 0x14012dfe7
movsxd rax, r13d
lea r8, [rax + rax*4]
add r8, r8
mov rax, qword [rcx + r8*8 + 0x28]
cmp rax, qword [0x140151210]
jne 0x14012dc5c
mov rax, qword [rcx + r8*8 + 0x30]
cmp rax, qword [0x140151218]
je 0x14012dfe7
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 0x14012dd0e
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012dccf
test byte [r10 + 0x1c], 1
je 0x14012dccf
cmp byte [r10 + 0x19], 3
jb 0x14012dccf
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 0x14012dcef
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 0x14012e19b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
jmp 0x14012e194
mov rax, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
cmp rax, rcx
je 0x14012dd6a
mov rbx, rax
mov rax, rdi
mov qword [rbp - 0x71], rax
test rcx, rcx
je 0x14012dd49
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 0x14012dd66
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 0x14012e1c3
test rcx, rcx
je 0x14012dd8d
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.14012e510
test eax, eax
jns 0x14012ddd7
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012dccf
test byte [r10 + 0x1c], 1
je 0x14012dccf
cmp byte [r10 + 0x19], 3
jb 0x14012dccf
mov edx, 0x54
jmp 0x14012dcb5
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 0x14012de2c
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012dccf
test byte [r10 + 0x1c], 1
je 0x14012dccf
cmp byte [r10 + 0x19], 3
jb 0x14012dccf
mov edx, 0x55
jmp 0x14012dcb5
mov ebx, 1
lea rdx, [rbp - 0x49]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call fcn.140128fc4
mov r14d, eax
test eax, eax
jns 0x14012de7b
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012de76
test byte [rcx + 0x1c], bl
je 0x14012de76
cmp byte [rcx + 0x19], 3
jb 0x14012de76
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 0x14012df96
mov dword [rbp - 0x41], edi
lea r8, [rbp - 0x41]
mov dl, 1
mov r15, qword [rsp + 0x30]
mov rcx, r15
call fcn.140129c80
mov r14d, eax
test eax, eax
jns 0x14012dee2
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012dedd
test byte [rcx + 0x1c], 1
je 0x14012dedd
cmp byte [rcx + 0x19], 3
jb 0x14012dedd
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 0x14012dee9
mov rcx, qword [0x14016f048]
mov eax, dword [rbp - 0x41]
shr eax, 0xb
and al, 1
jne 0x14012df62
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 0x14012df1c
mov rcx, r15
call fcn.14012aee4
mov r14d, eax
jmp 0x14012df23
mov rbx, qword [rbp - 0x39]
mov r14d, edi
test r14d, r14d
jns 0x14012df8b
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012df5d
test byte [rcx + 0x1c], 1
je 0x14012df5d
cmp byte [rcx + 0x19], 3
jb 0x14012df5d
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 0x14012df8b
cmp rcx, r12
je 0x14012df88
test byte [rcx + 0x1c], 1
je 0x14012df88
cmp byte [rcx + 0x19], 4
jb 0x14012df88
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 0x14012dfa7
test ebx, ebx
je 0x14012dfa7
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 0x14012dfc1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14012dfd7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
mov r10, qword [0x14016f048]
mov rbx, qword [rbp - 0x51]
jmp 0x14012e1a0
cmp edx, 4
jne 0x14012e177
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 0x14012e072
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e05e
test byte [r10 + 0x1c], bl
je 0x14012e05e
mov r13, qword [rsp + 0x30]
cmp byte [r10 + 0x19], 3
jb 0x14012e063
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 0x14012e063
mov r13, qword [rsp + 0x30]
mov r14d, edi
mov rbx, qword [rbp - 0x51]
mov al, r14b
jmp 0x14012e1a3
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 0x14012e1e3
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.140128fc4
mov r14d, eax
test eax, eax
jns 0x14012e0e3
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e0de
test byte [rcx + 0x1c], bl
je 0x14012e0de
cmp byte [rcx + 0x19], 3
jb 0x14012e0de
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 0x14012e15e
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 0x14012e112
mov rcx, r13
call fcn.14012aee4
mov r14d, eax
jmp 0x14012e119
mov rbx, qword [rbp - 0x31]
mov r14d, edi
test r14d, r14d
jns 0x14012e158
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e153
test byte [rcx + 0x1c], 1
je 0x14012e153
cmp byte [rcx + 0x19], 3
jb 0x14012e153
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 0x14012e16f
add qword [rsi + 0x38], rbx
jmp 0x14012e16f
test ebx, ebx
je 0x14012e16f
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax + r15*8 + 0x20]
add qword [rsi + 0x38], rcx
inc dword [rsi + 0x44]
jmp 0x14012dfd7
mov al, dil
mov byte [rbp + 0x77], al
mov r10, qword [0x14016f048]
mov r13, qword [rsp + 0x30]
jmp 0x14012e1a3
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 0x14012e1fb
mov r13d, r8d
jmp 0x14012db6e
mov ebx, 0x80004002
test rcx, rcx
je 0x14012e4d8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400057f3.0]
jmp 0x14012e4d8
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14012e4af
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14012e4af
test al, al
je 0x14012e244
jmp 0x14012e20d
mov r10, qword [0x14016f048]
mov r13, qword [rsp + 0x30]
cmp r10, r12
je 0x14012e235
test byte [r10 + 0x1c], 1
je 0x14012e235
cmp byte [r10 + 0x19], 4
jb 0x14012e235
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 0x14012e25a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e296
test byte [r10 + 0x1c], 1
je 0x14012e296
cmp byte [r10 + 0x19], 4
jb 0x14012e296
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 0x14012e2d9
mov eax, edi
cmp r10, r12
je 0x14012e2ce
test byte [r10 + 0x1c], 1
je 0x14012e2ce
cmp byte [r10 + 0x19], 4
jb 0x14012e2ce
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 0x14012e4af
cmp r10, r12
je 0x14012e31e
test byte [r10 + 0x1c], 1
je 0x14012e31e
cmp byte [r10 + 0x19], 4
jb 0x14012e31e
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 0x14012e364
cmp r10, r12
je 0x14012e46b
test byte [r10 + 0x1c], 1
je 0x14012e46b
cmp byte [r10 + 0x19], 4
jb 0x14012e46b
mov edx, 0x62
lea r8, [0x140157c48]
mov rcx, qword [r10 + 0x10]
call fcn.1400049d8
jmp 0x14012e464
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 0x14012e47a
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e3d3
test byte [rcx + 0x1c], 1
je 0x14012e3d3
mov r13, qword [rsp + 0x30]
cmp byte [rcx + 0x19], 4
jb 0x14012e3d8
mov edx, 0x64
mov r9, r13
lea r8, [0x140157c48]
mov rcx, qword [rcx + 0x10]
call fcn.1400058d8
jmp 0x14012e3d8
mov r13, qword [rsp + 0x30]
mov rax, qword [rsi + 0x60]
lea rdx, [rax + rbx*8]
mov rcx, r13
call fcn.140129a40
mov r14d, eax
test eax, eax
jns 0x14012e42d
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e428
test byte [r10 + 0x1c], 1
je 0x14012e428
cmp byte [r10 + 0x19], 3
jb 0x14012e428
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 0x14012e46b
mov r10, qword [0x14016f048]
cmp r10, r12
je 0x14012e46b
test byte [r10 + 0x1c], 1
je 0x14012e46b
cmp byte [r10 + 0x19], 4
jb 0x14012e46b
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 0x14012e2e4
jmp 0x14012e4af
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x14012e4aa
test byte [rcx + 0x1c], 1
je 0x14012e4aa
cmp byte [rcx + 0x19], 2
jb 0x14012e4aa
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 0x14012d8e6
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14012d8e6
mov ebx, 0x8007000e
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14012e4e7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, ebx
lea rcx, [rbp - 0x29]
call fcn.14012fd8c
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