Function at 0x140136634
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 - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, r9
mov r14, rdx
xor esi, esi
mov qword [rsp + 0x30], rsi
mov byte [rbp + 0x77], 1
mov qword [rbp - 0x51], rsi
mov edi, 0x80
mov ecx, edi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rbx, rax
mov qword [rbp - 0x29], rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
nop
mov rax, qword [r13]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x14014cce0]
mov rdx, rbx
mov rcx, r13
call rdi
test eax, eax
jns 0x1401366fb
lea r12, [0x1401782b0]
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140137353
test byte [rcx + 0x1c], 1
je 0x140137353
cmp byte [rcx + 0x19], 2
jb 0x140137353
lea edx, [rsi + 0x4f]
mov r9d, eax
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
jmp 0x140137353
movups xmm0, xmmword [rbx]
movdqu xmmword [r14 + 0x10], xmm0
lea rdx, [r14 + 0x28]
xor r8d, r8d
mov rcx, qword [rbx + 0x68]
call fcn.14008704c
test eax, eax
jns 0x14013671f
mov esi, eax
jmp 0x140137353
mov rcx, qword [rbx + 0x60]
add rcx, 0x22
call qword [sym.imp.msvcrt.dll__wtol]
mov dword [r14 + 0x20], eax
mov rax, qword [rbx + 0x28]
mov qword [r14 + 0x30], rax
lea rdi, [r14 + 0x68]
mov rdx, rdi
mov rcx, qword [rbx + 0x78]
call fcn.14013d13c
mov r15d, eax
test eax, eax
jns 0x14013678f
lea r12, [0x1401782b0]
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136787
test byte [rcx + 0x1c], 1
je 0x140136787
cmp byte [rcx + 0x19], 2
jb 0x140136787
mov edx, 0x50
mov r9d, eax
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov esi, r15d
jmp 0x140137353
lea r12, [0x1401782b0]
cmp byte [rbp + 0x7f], sil
je 0x1401367c3
mov eax, dword [r14 + 0x30]
mov dword [r14], eax
movzx eax, word [r14 + 0x20]
mov word [r14 + 4], ax
mov rax, qword [r14 + 0x30]
mov qword [r14 + 0x38], rax
mov dword [r14 + 0x44], esi
mov r13, qword [rsp + 0x30]
jmp 0x1401370c5
cmp dword [rbx + 0x44], 1
jne 0x1401367d1
mov eax, dword [rbx + 0x48]
mov dword [r14], eax
jmp 0x1401367da
movups xmm0, xmmword [rbx + 0x48]
movdqu xmmword [r14], xmm0
mov qword [rbp - 0x71], rsi
mov rax, qword [r13]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call qword [0x14014cce0]
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x71]
mov rcx, r13
call rbx
mov r15d, eax
test eax, eax
jns 0x140136881
cmp eax, 0x80042444
je 0x140136822
lea r8, str.hr__VDS_E_PACK_OFFLINE
mov edx, 0x65a
lea rcx, str.base_stor_blbwsbutilwsbvdshelperlibrary.cpp
call fcn.14008624c
lea r12, [0x1401782b0]
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136859
test byte [rcx + 0x1c], 1
je 0x140136859
cmp byte [rcx + 0x19], 3
jb 0x140136859
mov edx, 0x51
mov r9d, r15d
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov qword [r14 + 0x38], rsi
mov dword [r14 + 0x44], esi
mov byte [r14 + 0x40], 1
mov r15d, esi
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140137315
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140137315
mov r9d, esi
mov r8, rsi
movsxd r10, dword [rbp - 0x79]
test r10, r10
jle 0x14013693d
mov rax, qword [rbp - 0x71]
lea rdx, [rax + 0x10]
mov r11d, 0x66
mov ecx, dword [rdx]
cmp ecx, 6
ja 0x1401368af
bt r11d, ecx
jb 0x1401368b7
cmp ecx, 0x7fff
jne 0x1401368c8
inc r9d
inc r8
add rdx, 0x50
cmp r8, r10
jl 0x1401368a2
jmp 0x14013693d
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x14013693a
test byte [rcx + 0x1c], 1
je 0x140136910
cmp byte [rcx + 0x19], 4
jb 0x140136910
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, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.1400103bc
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x14013693a
test byte [rcx + 0x1c], 1
je 0x14013693a
cmp byte [rcx + 0x19], 4
jb 0x14013693a
mov edx, 0x52
mov r9d, dword [r14 + 0x20]
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
or dword [rdi], 8
mov rax, qword [rbp + 0x5f]
cmp byte [rax + 0x50], sil
je 0x14013694a
or dword [rdi], 0x10
mov qword [r14 + 0x38], rsi
movsxd rcx, dword [rbp - 0x79]
shl rcx, 4
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [r14 + 0x48], rax
test rax, rax
je 0x14013733b
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 [r14 + 0x50], rax
test rax, rax
je 0x14013733b
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 [r14 + 0x58], rax
test rax, rax
je 0x14013733b
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 [r14 + 0x60], rax
test rax, rax
je 0x14013733b
movsxd r8, dword [rbp - 0x79]
shl r8, 3
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [r14 + 0x44], esi
mov ebx, esi
mov dword [rbp - 0x49], ebx
cmp dword [rbp - 0x79], esi
jle 0x140137073
mov r13, rsi
mov qword [rbp - 0x41], rsi
mov ecx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x58]
mov rcx, qword [rax + rcx*8]
test rcx, rcx
je 0x140136a3e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x58]
mov qword [rax + rcx*8], rsi
mov ecx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x60]
mov rcx, qword [rax + rcx*8]
test rcx, rcx
je 0x140136a61
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x60]
mov qword [rax + rdx*8], rsi
mov edx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x50]
mov dword [rax + rdx*4], esi
mov edx, dword [r14 + 0x44]
add rdx, rdx
mov rax, qword [r14 + 0x48]
movups xmm0, xmmword [0x140154f98]
movdqu xmmword [rax + rdx*8], xmm0
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x140136a99
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp - 0x51], rsi
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x140136ab4
mov rcx, r9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r9, rsi
mov qword [rsp + 0x30], rsi
lea r13, [r13 + r13*4]
add r13, r13
mov rcx, qword [rbp - 0x71]
mov edx, dword [rcx + r13*8 + 0x10]
cmp edx, 1
je 0x14013700e
cmp edx, 0x7fff
je 0x14013700e
cmp edx, 2
jne 0x140136e74
movsxd rax, ebx
lea r8, [rax + rax*4]
add r8, r8
mov rax, qword [rcx + r8*8 + 0x28]
cmp rax, qword [0x140154f98]
jne 0x140136b0d
mov rax, qword [rcx + r8*8 + 0x30]
cmp rax, qword [0x140154fa0]
je 0x140136e74
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rsi
mov byte [rbp + 0x77], sil
movups xmm0, xmmword [rcx + r13*8 + 0x28]
movdqu xmmword [rbp + 0xf], xmm0
mov rdi, qword [rbp + 0x6f]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x48]
mov rcx, rbx
call qword [0x14014cce0]
lea r9, [rbp - 0x69]
mov r8d, 0xb
lea rdx, [rbp + 0xf]
mov rcx, rdi
call rbx
test eax, eax
jns 0x140136bdb
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x140136b8c
test byte [r10 + 0x1c], 1
je 0x140136b8c
cmp byte [r10 + 0x19], 3
jb 0x140136b8c
mov edx, 0x53
mov r9d, eax
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140004c90
mov r10, qword [0x1401782b0]
mov r15d, esi
mov rbx, qword [rbp - 0x61]
test rbx, rbx
je 0x140136bb4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x14014cce0]
mov rcx, rbx
call rdi
mov r10, qword [0x1401782b0]
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x14013701e
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x14014cce0]
mov rcx, rbx
call rdi
jmp 0x140137017
mov rax, qword [rbp - 0x61]
mov rbx, qword [rbp - 0x69]
cmp rax, rbx
je 0x140136c03
lea r8, [0x140161b98]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.140133e08
mov rbx, qword [rbp - 0x69]
mov rax, qword [rbp - 0x61]
test rax, rax
je 0x140137043
test rbx, rbx
je 0x140136c2e
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x14014cce0]
mov rcx, rbx
call rdi
mov qword [rbp - 0x69], rsi
mov rax, qword [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9d, dword [r14 + 0x44]
mov r8, qword [r14 + 0x58]
mov rdx, qword [r14 + 0x48]
call fcn.140137380
test eax, eax
jns 0x140136c78
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x140136b8c
test byte [r10 + 0x1c], 1
je 0x140136b8c
cmp byte [r10 + 0x19], 3
jb 0x140136b8c
mov edx, 0x54
jmp 0x140136b72
mov edx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x50]
mov ecx, edx
shl rcx, 4
add rcx, qword [r14 + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rax + rdx*4]
call fcn.140089d9c
test eax, eax
jns 0x140136cce
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x140136b8c
test byte [r10 + 0x1c], 1
je 0x140136b8c
cmp byte [r10 + 0x19], 3
jb 0x140136b8c
mov edx, 0x55
jmp 0x140136b72
mov ebx, 1
lea rdx, [rbp - 0x51]
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.140131aac
mov r15d, eax
test eax, eax
jns 0x140136d1d
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136d18
test byte [rcx + 0x1c], bl
je 0x140136d18
cmp byte [rcx + 0x19], 3
jb 0x140136d18
lea edx, [rbx + 0x55]
mov r9d, eax
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov r15d, esi
mov ebx, esi
cmp qword [rbp - 0x51], rsi
je 0x140136e2e
mov dword [rbp - 0x45], esi
lea r8, [rbp - 0x45]
mov dl, 1
mov rcx, rdi
call fcn.140132780
mov r15d, eax
test eax, eax
jns 0x140136d7f
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136d7a
test byte [rcx + 0x1c], 1
je 0x140136d7a
cmp byte [rcx + 0x19], 3
jb 0x140136d7a
mov edx, 0x57
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
mov r15d, esi
jmp 0x140136d86
mov rcx, qword [0x1401782b0]
mov eax, dword [rbp - 0x45]
shr eax, 0xb
and al, 1
jne 0x140136dff
mov rbx, rsi
lea r9, [rbp - 0x21]
lea r8, [rbp - 1]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x140136db9
mov rcx, rdi
call fcn.140133a1c
mov r15d, eax
jmp 0x140136dc0
mov rbx, qword [rbp - 0x31]
mov r15d, esi
test r15d, r15d
jns 0x140136e28
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136dfa
test byte [rcx + 0x1c], 1
je 0x140136dfa
cmp byte [rcx + 0x19], 3
jb 0x140136dfa
mov edx, 0x58
mov dword [rsp + 0x20], r15d
mov r9, rdi
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
mov r15d, esi
jmp 0x140136e28
cmp rcx, r12
je 0x140136e25
test byte [rcx + 0x1c], 1
je 0x140136e25
cmp byte [rcx + 0x19], 4
jb 0x140136e25
mov edx, 0x59
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c6c
mov rbx, rsi
add qword [r14 + 0x38], rbx
jmp 0x140136e3f
test ebx, ebx
je 0x140136e3f
mov rax, qword [rbp - 0x71]
mov rcx, qword [rax + r13*8 + 0x20]
add qword [r14 + 0x38], rcx
inc dword [r14 + 0x44]
mov rbx, qword [rbp - 0x61]
test rbx, rbx
je 0x140136e62
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x14014cce0]
mov rcx, rbx
call rdi
nop
mov rbx, qword [rbp - 0x69]
test rbx, rbx
je 0x140137017
jmp 0x140136bc1
mov dil, sil
mov byte [rbp + 0x77], sil
cmp edx, 4
jne 0x140137005
lea ebx, [rdx - 3]
mov ecx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x50]
or dword [rax + rcx*4], ebx
mov rcx, r9
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.14008e33c
test eax, eax
jns 0x140136efc
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x140136eef
test byte [r10 + 0x1c], bl
je 0x140136eef
mov r13, qword [rsp + 0x30]
cmp byte [r10 + 0x19], 3
jb 0x140136ef4
lea edx, [rbx + 0x5a]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140005ce8
mov r10, qword [0x1401782b0]
jmp 0x140136ef4
mov r13, qword [rsp + 0x30]
mov r15d, esi
jmp 0x140137027
mov ecx, dword [r14 + 0x44]
mov rax, qword [r14 + 0x58]
lea rdx, [rax + rcx*8]
xor r8d, r8d
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call fcn.14008704c
mov r15d, eax
test eax, eax
js 0x140136869
lea rdx, [rbp - 0x51]
mov rcx, rdi
call fcn.140131aac
mov r15d, eax
test eax, eax
jns 0x140136f6e
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136f69
test byte [rcx + 0x1c], bl
je 0x140136f69
cmp byte [rcx + 0x19], 3
jb 0x140136f69
mov edx, 0x5c
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
mov r15d, esi
mov ebx, esi
cmp qword [rbp - 0x51], rsi
je 0x140136fee
mov rbx, rsi
lea r9, [rbp - 0x19]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x39]
mov r13, qword [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x140136fa2
mov rcx, r13
call fcn.140133a1c
mov r15d, eax
jmp 0x140136fa9
mov rbx, qword [rbp - 0x39]
mov r15d, esi
test r15d, r15d
jns 0x140136fe8
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140136fe3
test byte [rcx + 0x1c], 1
je 0x140136fe3
cmp byte [rcx + 0x19], 3
jb 0x140136fe3
mov edx, 0x5d
mov dword [rsp + 0x20], r15d
mov r9, r13
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
mov r15d, esi
jmp 0x140136fff
add qword [r14 + 0x38], rbx
jmp 0x140136fff
test ebx, ebx
je 0x140136fff
mov rax, qword [rbp - 0x71]
mov rcx, qword [rax + r13*8 + 0x20]
add qword [r14 + 0x38], rcx
inc dword [r14 + 0x44]
jmp 0x140137017
mov r10, qword [0x1401782b0]
jmp 0x140137022
mov rax, qword [rcx + r13*8 + 0x20]
add qword [r14 + 0x38], rax
mov r10, qword [0x1401782b0]
mov dil, byte [rbp + 0x77]
mov r13, qword [rsp + 0x30]
mov edx, dword [rbp - 0x49]
inc edx
mov dword [rbp - 0x49], edx
inc qword [rbp - 0x41]
cmp edx, dword [rbp - 0x79]
jge 0x14013706c
mov r13, qword [rbp - 0x41]
mov ebx, edx
jmp 0x140136a1b
mov r14d, 0x80004002
test rbx, rbx
je 0x140137341
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x14014cce0]
mov rcx, rbx
call rdi
jmp 0x140137341
test dil, dil
je 0x1401370b6
jmp 0x14013707f
mov r10, qword [0x1401782b0]
mov r13, qword [rsp + 0x30]
cmp r10, r12
je 0x1401370a7
test byte [r10 + 0x1c], 1
je 0x1401370a7
cmp byte [r10 + 0x19], 4
jb 0x1401370a7
mov edx, 0x5e
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140004c6c
mov rax, qword [r14 + 0x30]
mov qword [r14 + 0x38], rax
mov r10, qword [0x1401782b0]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x1401370cc
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x140137108
test byte [r10 + 0x1c], 1
je 0x140137108
cmp byte [r10 + 0x19], 4
jb 0x140137108
mov edx, 0x5f
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, dword [r14 + 0x20]
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.1400104d0
mov r10, qword [0x1401782b0]
cmp dword [r14 + 0x44], esi
jne 0x140137146
cmp r10, r12
je 0x14013713a
test byte [r10 + 0x1c], 1
je 0x14013713a
cmp byte [r10 + 0x19], 4
jb 0x14013713a
mov edx, 0x60
mov r9d, dword [r14 + 0x20]
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140004c90
mov byte [r14 + 0x40], 1
mov r10, qword [0x1401782b0]
mov edi, esi
cmp dword [r14 + 0x44], esi
jbe 0x140137315
cmp r10, r12
je 0x14013718b
test byte [r10 + 0x1c], 1
je 0x14013718b
cmp byte [r10 + 0x19], 4
jb 0x14013718b
mov eax, edi
mov r9, qword [r14 + 0x58]
mov edx, 0x61
mov r9, qword [r9 + rax*8]
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140005c6c
mov r10, qword [0x1401782b0]
mov ebx, edi
mov rax, qword [r14 + 0x50]
test byte [rax + rbx*4], 1
je 0x1401371d0
cmp r10, r12
je 0x1401372d7
test byte [r10 + 0x1c], 1
je 0x1401372d7
cmp byte [r10 + 0x19], 4
jb 0x1401372d7
mov edx, 0x62
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140004c6c
jmp 0x1401372d0
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rsp + 0x30], rsi
mov rax, qword [r14 + 0x50]
mov rcx, rbx
shl rcx, 4
add rcx, qword [r14 + 0x48]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rax + rbx*4]
call fcn.140089d9c
mov r15d, eax
test eax, eax
js 0x1401372e5
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x14013723f
test byte [rcx + 0x1c], 1
je 0x14013723f
mov r13, qword [rsp + 0x30]
cmp byte [rcx + 0x19], 4
jb 0x140137244
mov edx, 0x64
mov r9, r13
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140005c6c
jmp 0x140137244
mov r13, qword [rsp + 0x30]
mov rax, qword [r14 + 0x60]
lea rdx, [rax + rbx*8]
mov rcx, r13
call fcn.140132538
mov r15d, eax
test eax, eax
jns 0x140137299
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x140137294
test byte [r10 + 0x1c], 1
je 0x140137294
cmp byte [r10 + 0x19], 3
jb 0x140137294
mov edx, 0x65
mov r9d, eax
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140004c90
mov r10, qword [0x1401782b0]
mov r15d, esi
jmp 0x1401372d7
mov r10, qword [0x1401782b0]
cmp r10, r12
je 0x1401372d7
test byte [r10 + 0x1c], 1
je 0x1401372d7
cmp byte [r10 + 0x19], 4
jb 0x1401372d7
mov r9, qword [r14 + 0x60]
mov edx, 0x66
mov r9, qword [r9 + rbx*8]
lea r8, [0x140161b88]
mov rcx, qword [r10 + 0x10]
call fcn.140005c6c
mov r10, qword [0x1401782b0]
inc edi
cmp edi, dword [r14 + 0x44]
jb 0x140137152
jmp 0x140137315
mov rcx, qword [0x1401782b0]
cmp rcx, r12
je 0x140137315
test byte [rcx + 0x1c], 1
je 0x140137315
cmp byte [rcx + 0x19], 2
jb 0x140137315
mov edx, 0x63
mov r9d, eax
lea r8, [0x140161b88]
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp - 0x51]
test rax, rax
je 0x140136787
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140136787
mov r14d, 0x8007000e
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140137350
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, r14d
lea rcx, [rbp - 0x29]
call fcn.140138aec
mov eax, esi
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret