Function at 0x14005bd20
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

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 [0x14042eb28]
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 + 0x90], r15
mov rbx, rcx
mov qword [rbp + 0x98], r13
lea r8d, [rax + 0x54]
mov qword [rbp - 0x78], rax
xor edx, edx
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x110]
mov qword [rbp - 0x50], rax
mov r12d, r9d
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], 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 + 0xb8], rax
lea rax, str.Retail:TB:Eval
mov qword [rbp + 0xc0], rax
mov dword [rbp - 0x68], ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x80], rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x38], rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x58], 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 - 0x40], rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x28], rcx
mov qword [rbp - 0x60], rcx
movdqu xmmword [rbp + 0x70], xmm0
test rdi, rdi
jne 0x14005be87
mov ecx, 0x80070057
mov esi, ecx
call fcn.14007ab24
jmp 0x14005c8a8
test r15, r15
je 0x14005be76
test r13, r13
je 0x14005be76
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14005c892
mov qword [rbp - 0x50], rax
lock inc dword [rax]
mov rcx, qword [rbx + 0x28]
call fcn.140068464
and qword [rbx + 0x28], r14
lea rax, [rbp + 0x60]
and dword [rsp + 0x68], r14d
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov rax, qword [rbp - 0x50]
mov ebx, 3
mov qword [rsp + 0x60], rax
mov r15d, 0xc004c600
lea rax, [rbp - 0x78]
mov dword [rsp + 0x74], esi
lea esi, [r9 + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
lea rbx, [0x1400014b8]
mov qword [rbp - 0x80], rax
mov r8d, esi
mov qword [rsp + 0x50], rbx
lea ecx, [rsi + 0x79]
mov qword [rsp + 0x6c], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov r13d, dword [rbp + 0x60]
mov r14d, 0x80004005
test r13d, r13d
js 0x14005c002
mov eax, dword [rsp + 0x38]
lea rdx, [rbp - 0x28]
mov dword [rbp + 0xb0], eax
lea rcx, [rbp + 0xa8]
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0xa8], rax
call fcn.1400610b8
mov esi, eax
test eax, eax
jns 0x14005bf5c
mov ecx, eax
jmp 0x14005c89e
mov rax, qword [rbp - 0x28]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov edi, 3
lea rax, [0x1400058f8]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp + 0x64]
lea esi, [rdi + 0x3d]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x30]
mov r8d, esi
lea r15d, [rsi + 0x79]
mov qword [rsp + 0x68], rax
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x64], 0
jl 0x14005bfb2
xor r15d, r15d
jmp 0x14005bffd
mov rax, qword [rbp - 0x78]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [0x140004f38]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
mov r8, rsi
lea rax, [rbp + 0x20]
mov rcx, r15
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x68], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov r15d, dword [rbp + 0x20]
cmp r15d, r14d
je 0x14005c898
mov r13d, r15d
jmp 0x14005c007
mov edi, 3
mov rax, qword [0x1404379a0]
mov qword [rbp + 0x88], rax
add rax, 8
mov qword [rsp + 0x30], rax
je 0x14005c034
mov edx, 1
mov rcx, rax
call fcn.140073400
mov dword [rbp - 0x68], 1
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x68], rax
mov rax, qword [rax + 8]
test rax, rax
je 0x14005c863
lea rdx, [0x140433358]
mov qword [rsp + 0x60], rax
lea rcx, [0x140410a28]
mov qword [rsp + 0x48], rdi
call fcn.1400ed4d4
lea rax, [0x140003878]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp]
mov r8, rsi
mov qword [rsp + 0x58], rax
mov ecx, 0xb9
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp]
cmp esi, 0xc004f012
jne 0x14005c0b3
mov esi, 0xc004f015
mov ecx, esi
jmp 0x14005c89e
test esi, esi
js 0x14005c0ac
test r15d, r15d
js 0x14005c197
mov rcx, qword [rbp + 0x3b0]
test rcx, rcx
je 0x14005c197
and dword [rsp + 0x68], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x48]
mov rax, qword [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x78], rax
lea rax, [rbp + 8]
lea ebx, [r9 + 0x40]
mov qword [rsp + 0x6c], rcx
lea esi, [rbx + 0x79]
mov qword [rbp - 0x80], rax
mov r8d, ebx
mov qword [rsp + 0x48], rdi
mov ecx, esi
mov dword [rsp + 0x74], r12d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 4], 0
jl 0x14005c176
mov rax, qword [rbp + 0x58]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [0x140004238]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
mov r8d, ebx
lea rax, [rbp + 0xa0]
mov ecx, esi
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 8]
mov dword [rsp + 0x70], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x70]
call fcn.14005bbc8
test eax, eax
js 0x14005c197
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x110]
call fcn.140062c4c
mov rax, qword [0x1403be4b0]
mov r12d, 1
cmp rax, qword [rbp + 0x110]
jne 0x14005c2be
mov rax, qword [0x1403be4b8]
cmp rax, qword [rbp + 0x118]
jne 0x14005c2be
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x110]
call fcn.14005349c
mov esi, eax
test eax, eax
js 0x14005bf55
mov rdi, qword [0x140437a18]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x130]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rbp + 0x28]
lea rax, [rbp - 0x60]
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov r8d, r12d
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x14005bf55
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0xc]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
cmp dword [rbp + 0xc], r12d
je 0x14005c252
mov esi, 0x8000ffff
jmp 0x14005c0ac
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b8660]
lea r8, [rbp + 0xe8]
xor edx, edx
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
xor ebx, ebx
lea rdi, [rbp + 0xb8]
mov rdx, qword [rdi]
lea r8, [rbp - 0x70]
mov rcx, qword [rbp + 0xf8]
and dword [rbp - 0x70], 0
call fcn.1400ea23c
mov esi, eax
test eax, eax
js 0x14005bf55
cmp dword [rbp - 0x70], 0
jne 0x14005c2bb
inc ebx
add rdi, 8
cmp ebx, 2
jb 0x14005c287
jmp 0x14005c2be
xor r12d, r12d
test r15d, r15d
js 0x14005c6cb
test r12d, r12d
je 0x14005c6cb
mov rsi, qword [0x1404379e0]
lea rcx, [0x1404379a0]
call fcn.140053ec4
mov rdx, qword [rsi]
mov rbx, rax
mov rdi, qword [rdx + 0x28]
mov rcx, rdi
call qword [0x1403b8660]
lea rax, [rsp + 0x40]
mov rdx, rbx
lea r9, [0x1403c1b50]
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 0x14005bf55
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
mov rbx, qword [rsp + 0x40]
lea rax, str.SppHwidBindingPolicyTolerance
mov qword [rbp - 0x20], rax
mov r12d, 1
mov dword [rbp - 0x18], r12d
mov dword [rbp - 0x10], SafeArrayUnaccessData
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403b8660]
mov r8d, r12d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
mov rbx, qword [rsp + 0x40]
lea rax, str.SppHwidBindingPolicyTimeWeightVector
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x290]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], 4
mov dword [rbp - 8], 0x24
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403b8660]
mov r8d, r12d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rcx, rdi
call qword [0x1403b8660]
lea r8, [rbp + 0xc8]
mov rcx, rbx
lea rdx, str.SppBindingLicenseData
call rdi
lea rdx, [0x140433934]
mov esi, eax
lea rcx, [0x14040d124]
call fcn.1400ed188
test esi, esi
jns 0x14005c43a
mov ecx, esi
call fcn.14007ab24
lea rdx, [0x14043266c]
lea rcx, [0x140414660]
call fcn.1400ebd6c
jmp 0x14005c8a3
mov edx, dword [rbp + 0xe0]
lea r9, [rbp + 0x40]
mov rcx, qword [rbp + 0xd8]
call fcn.1400694dc
mov esi, eax
test eax, eax
js 0x14005bf55
mov r8, qword [rbp + 0x40]
lea rdx, str.Hwid_s_
lea rcx, [rbp - 0x40]
call fcn.14006a5bc
mov esi, eax
test eax, eax
js 0x14005bf55
lea r9, [rbp + 0x2c0]
mov dword [rbp + 0x10], 0x41
lea r8, [rbp + 0x10]
xor ecx, ecx
call fcn.1401a102c
mov esi, eax
test eax, eax
js 0x14005bf55
lea r8, [rbp + 0x2c0]
lea rdx, str.Pfn_s_
lea rcx, [rbp - 0x40]
call fcn.14006a5bc
mov esi, eax
test eax, eax
js 0x14005bf55
lea rcx, [rbp + 0x170]
mov dword [rbp + 0x170], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14005c4fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005c4e9
mov esi, r14d
jmp 0x14005c0ac
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14005c0ac
mov eax, dword [rbp + 0x180]
lea rdx, str.OSMajorVersion_d_OSMinorVersion_d_OSPlatformId_d_
mov r9d, dword [rbp + 0x178]
lea rcx, [rbp - 0x40]
mov r8d, dword [rbp + 0x174]
mov dword [rsp + 0x20], eax
call fcn.14006a5bc
mov esi, eax
test eax, eax
js 0x14005bf55
mov rax, qword gs:[0x60]
lea rdx, str.PP_d_
lea rcx, [rbp - 0x40]
movzx r8d, byte [rax + 3]
shr r8d, 1
and r8d, r12d
call fcn.14006a5bc
mov esi, eax
test eax, eax
js 0x14005bf55
mov edx, dword [rbp - 0x38]
lea r9, [rbp + 0x30]
mov rcx, qword [rbp - 0x40]
lea edx, [rdx*2 + 2]
call fcn.1400694dc
mov esi, eax
test eax, eax
js 0x14005bf55
mov r8, qword [rbp + 0x30]
lea rdx, str.SL_GET_GENUINE_AUTHZ:_s
lea rcx, [rbp + 0x38]
call fcn.140079c18
mov esi, eax
test eax, eax
js 0x14005bf55
mov rdi, qword [0x140437a20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [0x1403b8660]
mov r8, qword [rbp + 0x38]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xa4]
lea rax, [rbp + 0x14]
mov rcx, rdi
lea rdx, [0x1403be4b0]
mov qword [rsp + 0x20], rax
call rbx
mov esi, eax
test eax, eax
js 0x14005bf55
lea r8, [rbp - 0x58]
xor edx, edx
lea rcx, [0x1403c1d60]
call fcn.140082b7c
mov esi, eax
test eax, eax
js 0x14005bf55
mov rbx, qword [rbp - 0x58]
lea rax, str.SppNotificationPackageFamilyName
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x2c0]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x18], 2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403b8660]
mov r8d, r12d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
mov eax, dword [rbp + 0x14]
lea rdx, str.SppGenuineBlobResult
mov rcx, qword [rbp - 0x48]
dec eax
mov qword [rbp - 0x10], rcx
mov dword [rbp - 8], eax
mov qword [rbp - 0x20], rdx
mov dword [rbp - 0x18], 4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rcx, rdi
call qword [0x1403b8660]
mov r8d, r12d
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x14005bf55
mov rdi, qword [0x1404379f0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403b8660]
mov r8, qword [rbp - 0x58]
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 0x14005c6d1
jmp 0x14005bf55
mov r12d, 1
cmp dword [rbp + 0x3b8], 0
je 0x14005c863
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x110]
call fcn.14005349c
test eax, eax
js 0x14005c723
mov rdi, qword [0x140437a30]
lea rdx, [0x140436fd4]
lea rcx, [0x140413988]
mov rbx, qword [rdi]
call fcn.1400edb90
mov rcx, qword [rbx + 0x38]
call qword [0x1403b8660]
mov rdx, qword [rbp + 0x50]
mov rcx, rdi
call qword [rbx + 0x38]
mov ebx, 3
mov dword [rsp + 0x68], r15d
lea rax, [0x1400048b8]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp + 0x18]
xor r9d, r9d
lea edi, [rbx + 0x3d]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x110]
mov r8d, edi
lea esi, [rdi + 0x79]
mov qword [rsp + 0x60], rax
mov ecx, esi
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x18], 0
jl 0x14005c863
test r15d, r15d
jne 0x14005c83f
lea rax, [0x140003bb8]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp + 0x1c]
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov r8d, edi
mov rax, qword [rbp + 0x88]
mov ecx, esi
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x110]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x78], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x1c], r15d
jl 0x14005c81d
xor r14d, r14d
cmp dword [rbp - 0x6c], r14d
jbe 0x14005c81d
mov rsi, qword [0x140437a20]
mov edi, r14d
shl rdi, 4
add rdi, qword [rbp + 0x48]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [0x1403b8660]
lea r8, str.SL_ACTIVATION_VALIDATION_IN_PROGRESS
mov rdx, rdi
mov rcx, rsi
call rbx
add r14d, r12d
cmp r14d, dword [rbp - 0x6c]
jb 0x14005c7e3
mov rax, qword [rbp + 0x68]
mov ecx, 4
and qword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x40003011
mov r8, qword [rax + 8]
call fcn.1400542dc
jmp 0x14005c863
mov rax, qword [rbp + 0x68]
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.140054368
mov esi, r13d
test r13d, r13d
jns 0x14005c870
mov ecx, r13d
jmp 0x14005c89e
mov rcx, qword [rbp + 0x90]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov rax, qword [rbp - 0x78]
mov rcx, qword [rbp + 0x98]
and qword [rbp - 0x78], 0
mov qword [rcx], rax
jmp 0x14005c8a3
mov r14d, 0x80004005
mov ecx, r14d
mov esi, r14d
call fcn.14007ab24
mov r14, qword [rsp + 0x30]
mov ecx, esi
call fcn.14007ab44
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14005c8d2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
and qword [rbp - 0x60], 0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14005c8e1
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x14005c909
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.14007ab44
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14005c926
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x14005c944
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005c958
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x48], 0
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14005c980
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.14007ab44
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x14005c9a8
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.14007ab44
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005c9cd
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
and qword [rsp + 0x40], 0
lea rcx, [rbp + 0x70]
call fcn.14005cab4
lea rcx, [rbp + 0x48]
call fcn.140057a48
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14005c9ee
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x14005ca01
cmp dword [rbp - 0x68], 0
je 0x14005ca01
mov rcx, r14
call fcn.14007329c
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14005ca24
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
and qword [rbp - 0x30], 0
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14005ca47
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
and qword [rbp - 0x28], 0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14005ca55
call fcn.140068464
lea rcx, [rbp + 0x58]
call fcn.14005ba10
lea rcx, [rbp - 0x78]
call fcn.14005ba10
lea rdx, [0x1404313d0]
lea rcx, [0x14041b8b8]
call fcn.1400ed82c
mov eax, esi
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14036e5e0
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