Function at 0x14005a37c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x460
mov rax, qword [0x140418d28]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r15, qword [rbp + 0x3c0]
xor eax, eax
mov r13, qword [rbp + 0x3c8]
mov rdi, r8
mov esi, edx
mov qword [rbp + 0x98], r15
mov rbx, rcx
mov qword [rbp + 0xa0], r13
lea r8d, [rax + 0x54]
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x110]
mov qword [rbp - 0x48], rax
mov r12d, r9d
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rax
call sub.msvcrt.dll_memset
xor ecx, ecx
mov dword [rbp + 0x290], 0x1000200
xor eax, eax
mov qword [rsp + 0x30], rcx
mov dword [rbp + 0x2ad], eax
xorps xmm0, xmm0
mov word [rbp + 0x2b1], ax
mov r14d, ecx
mov byte [rbp + 0x2b3], al
lea rax, str.Volume:GVLK
mov qword [rbp + 0xc0], rax
lea rax, str.Retail:TB:Eval
mov qword [rbp + 0xc8], rax
mov dword [rbp - 0x60], ecx
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x88], rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x50], rcx
mov dword [rbp + 0x294], 0x5020001
mov dword [rbp + 0x298], 0x10300
mov dword [rbp + 0x29c], 0x6000204
mov dword [rbp + 0x2a0], 0x7080001
mov dword [rbp + 0x2a4], 0x30900
mov dword [rbp + 0x2a8], 0xc00010a
mov byte [rbp + 0x2ac], 7
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x30], rcx
mov qword [rbp - 0x58], rcx
movdqu xmmword [rbp + 0x78], xmm0
test rdi, rdi
jne 0x14005a4e4
mov ecx, 0x80070057
mov esi, ecx
call fcn.140078308
jmp 0x14005aedd
test r15, r15
je 0x14005a4d3
test r13, r13
je 0x14005a4d3
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14005aeb4
mov qword [rbp - 0x48], rax
lock inc dword [rax]
mov rcx, qword [rbx + 0x28]
call fcn.1400665ec
and qword [rbx + 0x28], r14
lea rax, [rbp + 0x68]
and dword [rsp + 0x70], r14d
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov rax, qword [rbp - 0x48]
mov ebx, 3
mov qword [rsp + 0x68], rax
mov r15d, 0xc004c600
lea rax, [rsp + 0x48]
mov dword [rbp - 0x80], esi
lea esi, [r9 + 0x48]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x38]
lea rbx, [0x14001a120]
mov qword [rbp - 0x70], rax
mov r8d, esi
mov qword [rsp + 0x58], rbx
lea ecx, [rsi + 0x71]
mov qword [rsp + 0x78], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov r13d, dword [rbp + 0x68]
mov r14d, 0x80004005
test r13d, r13d
js 0x14005a662
mov eax, dword [rsp + 0x38]
lea rdx, [rbp - 0x20]
mov dword [rbp + 0xb8], eax
lea rcx, [rbp + 0xb0]
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0xb0], rax
call fcn.14005f300
mov esi, eax
test eax, eax
jns 0x14005a5b9
mov ecx, eax
jmp 0x14005aed3
mov rax, qword [rbp - 0x20]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x68], rax
mov edi, 3
lea rax, [0x14001e220]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rbp + 0x6c]
lea esi, [rdi + 0x45]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x28]
mov r8d, esi
lea r15d, [rsi + 0x71]
mov qword [rsp + 0x70], rax
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x6c], 0
jl 0x14005a612
xor r15d, r15d
mov r13d, r15d
jmp 0x14005a667
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [0x14001d860]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
mov r8, rsi
lea rax, [rbp + 0x28]
mov rcx, r15
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x70], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov r15d, dword [rbp + 0x28]
cmp r15d, r14d
jne 0x14005a60d
mov esi, r14d
jmp 0x14005aed0
mov edi, 3
mov rax, qword [0x140421ad0]
mov qword [rbp + 0x90], rax
add rax, 8
mov qword [rsp + 0x30], rax
je 0x14005a694
mov edx, 1
mov rcx, rax
call fcn.140070fcc
mov dword [rbp - 0x60], 1
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x70], rax
cmp qword [rax + 8], 0
je 0x14005ae83
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [0x14001c1a0]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
mov r8, rsi
lea rax, [rbp + 8]
mov ecx, 0xb9
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x70], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp + 8]
cmp esi, 0xc004f012
jne 0x14005a702
mov esi, 0xc004f015
mov ecx, esi
jmp 0x14005aed3
test esi, esi
js 0x14005a6fb
test r15d, r15d
js 0x14005a7f7
mov rcx, qword [rbp + 0x3b0]
test rcx, rcx
je 0x14005a7f7
and dword [rsp + 0x70], 0
lea rax, [rbp + 0xc]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x50]
mov rax, qword [rbp - 0x48]
xor r9d, r9d
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x58], rbx
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x10]
lea ebx, [r9 + 0x48]
mov qword [rsp + 0x78], rcx
lea esi, [rbx + 0x71]
mov qword [rbp - 0x70], rax
mov r8d, ebx
mov qword [rsp + 0x50], rdi
mov ecx, esi
mov dword [rbp - 0x80], r12d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0xc], 0
jl 0x14005a7c3
mov rax, qword [rbp + 0x60]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x70], rax
xor r9d, r9d
lea rax, [0x14001cb60]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
mov r8d, ebx
lea rax, [rbp + 0xa8]
mov ecx, esi
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x78], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x78]
call fcn.14005a228
test eax, eax
js 0x14005a7f7
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x110]
call fcn.140060d64
lea rdx, [0x14041c7e4]
lea rcx, [0x1403fe080]
call fcn.1400e6078
mov rax, qword [0x1403a80e8]
mov r12d, 1
cmp rax, qword [rbp + 0x110]
jne 0x14005a91e
mov rax, qword [0x1403a80f0]
cmp rax, qword [rbp + 0x118]
jne 0x14005a91e
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x110]
call fcn.140051e24
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rdi, qword [0x140421b48]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x130]
mov rcx, rbx
call qword [0x1403a2250]
mov rdx, qword [rbp + 0x30]
lea rax, [rbp - 0x58]
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403a2250]
lea rdx, [rbp + 0x14]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
cmp dword [rbp + 0x14], r12d
je 0x14005a8b2
mov esi, 0x8000ffff
jmp 0x14005a6fb
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403a2250]
lea r8, [rbp + 0xf0]
xor edx, edx
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
xor ebx, ebx
lea rdi, [rbp + 0xc0]
mov rdx, qword [rdi]
lea r8, [rbp - 0x68]
mov rcx, qword [rbp + 0x100]
and dword [rbp - 0x68], 0
call fcn.1400e4590
mov esi, eax
test eax, eax
js 0x14005a5b2
cmp dword [rbp - 0x68], 0
jne 0x14005a91b
inc ebx
add rdi, 8
cmp ebx, 2
jb 0x14005a8e7
jmp 0x14005a91e
xor r12d, r12d
test r15d, r15d
js 0x14005acfd
test r12d, r12d
je 0x14005acfd
mov rsi, qword [0x140421b10]
lea rcx, [0x140421ad0]
call fcn.140052798
mov rdx, qword [rsi]
mov rbx, rax
mov rdi, qword [rdx + 0x28]
mov rcx, rdi
call qword [0x1403a2250]
lea rax, [rsp + 0x40]
mov rdx, rbx
lea r9, [0x1403a9480]
mov qword [rsp + 0x20], rax
lea r8, str.msft:rm_algorithm_hwid_4.0
mov rcx, rsi
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rbx, qword [rsp + 0x40]
lea rax, str.SppHwidBindingPolicyTolerance
mov qword [rbp - 0x18], rax
mov r12d, 1
mov dword [rbp - 0x10], r12d
mov dword [rbp - 8], SafeArrayGetElement
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403a2250]
mov r8d, r12d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rbx, qword [rsp + 0x40]
lea rax, str.SppHwidBindingPolicyTimeWeightVector
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x290]
mov qword [rbp - 8], rax
mov dword [rbp - 0x10], 4
mov dword [rbp], 0x24
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403a2250]
mov r8d, r12d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [0x1403a2250]
lea r8, [rbp + 0xd0]
mov rcx, rbx
lea rdx, str.SppBindingLicenseData
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov edx, dword [rbp + 0xe8]
lea r9, [rbp + 0x48]
mov rcx, qword [rbp + 0xe0]
call fcn.140067434
mov esi, eax
test eax, eax
js 0x14005a5b2
mov r8, qword [rbp + 0x48]
lea rdx, str.Hwid_s_
lea rcx, [rbp - 0x38]
call fcn.140068494
mov esi, eax
test eax, eax
js 0x14005a5b2
lea r9, [rbp + 0x2c0]
mov dword [rbp + 0x18], 0x41
lea r8, [rbp + 0x18]
xor ecx, ecx
call fcn.14019857c
mov esi, eax
test eax, eax
js 0x14005a5b2
lea r8, [rbp + 0x2c0]
lea rdx, str.Pfn_s_
lea rcx, [rbp - 0x38]
call fcn.140068494
mov esi, eax
test eax, eax
js 0x14005a5b2
lea rcx, [rbp + 0x170]
mov dword [rbp + 0x170], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14005ab2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005ab1b
mov esi, r14d
jmp 0x14005a6fb
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14005a6fb
mov eax, dword [rbp + 0x180]
lea rdx, str.OSMajorVersion_d_OSMinorVersion_d_OSPlatformId_d_
mov r9d, dword [rbp + 0x178]
lea rcx, [rbp - 0x38]
mov r8d, dword [rbp + 0x174]
mov dword [rsp + 0x20], eax
call fcn.140068494
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rax, qword gs:[0x60]
lea rdx, str.PP_d_
lea rcx, [rbp - 0x38]
movzx r8d, byte [rax + 3]
shr r8d, 1
and r8d, r12d
call fcn.140068494
mov esi, eax
test eax, eax
js 0x14005a5b2
mov edx, dword [rbp - 0x30]
lea r9, [rbp + 0x38]
mov rcx, qword [rbp - 0x38]
lea edx, [rdx*2 + 2]
call fcn.140067434
mov esi, eax
test eax, eax
js 0x14005a5b2
mov r8, qword [rbp + 0x38]
lea rdx, str.SL_GET_GENUINE_AUTHZ:_s
lea rcx, [rbp + 0x40]
call fcn.140077544
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rdi, qword [0x140421b50]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403a2250]
mov r8, qword [rbp + 0x40]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xac]
lea rax, [rbp + 0x1c]
mov rcx, rdi
lea rdx, [0x1403a80e8]
mov qword [rsp + 0x20], rax
call rbx
mov esi, eax
test eax, eax
js 0x14005a5b2
lea r8, [rbp - 0x50]
xor edx, edx
lea rcx, [0x1403a9d58]
call fcn.14007fed4
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rbx, qword [rbp - 0x50]
lea rax, str.SppNotificationPackageFamilyName
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x2c0]
mov qword [rbp - 8], rax
mov dword [rbp - 0x10], 2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403a2250]
mov r8d, r12d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov eax, dword [rbp + 0x1c]
lea rdx, str.SppGenuineBlobResult
mov rcx, qword [rbp - 0x40]
dec eax
mov qword [rbp - 8], rcx
mov dword [rbp], eax
mov qword [rbp - 0x18], rdx
mov dword [rbp - 0x10], 4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403a2250]
mov r8d, r12d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005a5b2
mov rdi, qword [0x140421b20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403a2250]
mov r8, qword [rbp - 0x50]
lea rdx, str.msft:spp_notifications_common_processtsl
and qword [rsp + 0x20], 0
mov r9d, r12d
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
jns 0x14005ad03
jmp 0x14005a5b2
mov r12d, 1
cmp dword [rbp + 0x3b8], 0
je 0x14005ae83
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x110]
call fcn.140051e24
test eax, eax
js 0x14005ad44
mov rdi, qword [0x140421b60]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [0x1403a2250]
mov rdx, qword [rbp + 0x58]
mov rcx, rdi
call rbx
mov ebx, 3
mov dword [rsp + 0x70], r15d
lea rax, [0x14001d1e0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp + 0x20]
xor r9d, r9d
lea edi, [rbx + 0x45]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov r8d, edi
lea esi, [rdi + 0x71]
mov qword [rsp + 0x68], rax
mov ecx, esi
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x20], 0
jl 0x14005ae83
test r15d, r15d
jne 0x14005ae5f
lea rax, [0x14001c4e0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rax, [rbp + 0x24]
xor r9d, r9d
mov qword [rsp + 0x60], rax
mov r8d, edi
mov rax, qword [rbp + 0x90]
mov ecx, esi
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x50]
mov qword [rbp - 0x80], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x24], r15d
jl 0x14005ae3d
xor r14d, r14d
cmp dword [rbp - 0x64], r14d
jbe 0x14005ae3d
mov rsi, qword [0x140421b50]
mov edi, r14d
shl rdi, 4
add rdi, qword [rbp + 0x50]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403a2250]
lea r8, str.SL_ACTIVATION_VALIDATION_IN_PROGRESS
mov rdx, rdi
mov rcx, rsi
call rbx
add r14d, r12d
cmp r14d, dword [rbp - 0x64]
jb 0x14005ae03
mov rax, qword [rbp + 0x70]
mov ecx, 4
and qword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x40003011
mov r8, qword [rax + 8]
call fcn.140052bcc
jmp 0x14005ae83
mov rax, qword [rbp + 0x70]
mov ecx, r12d
and qword [rsp + 0x28], 0
mov r8d, r15d
and qword [rsp + 0x20], 0
mov edx, 0xc0002011
mov r9, qword [rax + 8]
call fcn.140052c50
mov esi, r13d
test r13d, r13d
jns 0x14005ae90
mov ecx, r13d
jmp 0x14005aed3
mov rcx, qword [rbp + 0x98]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rbp + 0xa0]
and qword [rsp + 0x48], 0
mov qword [rcx], rax
jmp 0x14005aed8
mov r14d, 0x80004005
lea rdx, [0x14041d4c0]
lea rcx, [0x1403fa4f8]
mov esi, r14d
call fcn.1400e775c
mov ecx, r14d
call fcn.140078308
mov r14, qword [rsp + 0x30]
mov ecx, esi
call fcn.140078324
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x14005af07
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
and qword [rbp - 0x58], 0
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14005af16
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14005af51
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [0x14041b560]
lea rcx, [0x140405228]
call fcn.1400e7a9c
xor ecx, ecx
call fcn.140078324
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x14005af84
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, [0x14041da74]
mov rbx, rax
lea rcx, [0x1403f6c84]
call fcn.1400e7410
mov r8, rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x14005afa2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14005afb6
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x40], 0
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x14005afde
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x14005b006
lea rbx, [rax - 4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140078324
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005b02b
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
and qword [rsp + 0x40], 0
lea rcx, [rbp + 0x78]
call fcn.14005b10c
lea rcx, [rbp + 0x50]
call fcn.140056170
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14005b04c
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x14005b05f
cmp dword [rbp - 0x60], 0
je 0x14005b05f
mov rcx, r14
call fcn.140070e60
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14005b082
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
and qword [rbp - 0x28], 0
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x14005b0a5
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403a2250]
mov rcx, rbx
call rdi
and qword [rbp - 0x20], 0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005b0b3
call fcn.1400665ec
lea rcx, [rbp + 0x60]
call fcn.14005a080
lea rdx, [0x1404210a4]
lea rcx, [0x1403fd3d8]
call fcn.1400e7de0
lea rcx, [rsp + 0x48]
call fcn.14005a080
mov eax, esi
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14035a4e0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret