Function at 0x140053830
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0xe8]
mov rbx, r9
mov r14, qword [rbp + 0xe0]
mov r12, rdx
mov r13, rcx
mov qword [rbp - 0x70], rbx
xor esi, esi
mov qword [rbp - 0x78], r14
lea rdx, [0x140458e50]
mov qword [rsp + 0x78], rax
lea rcx, [0x14042b768]
mov dword [rbp - 0x60], esi
mov r15, r8
call fcn.1400f4710
xorps xmm1, xmm1
mov qword [rbp - 0x80], rsi
xorps xmm0, xmm0
mov qword [rbp - 0x68], rsi
movdqu xmmword [rbp + 0x28], xmm0
xor eax, eax
mov dword [rsp + 0x68], esi
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x58], rsi
movups xmmword [rbp + 0x20], xmm1
mov edi, esi
mov qword [rbp - 0x40], rsi
movups xmmword [rbp + 0x30], xmm1
mov qword [rsp + 0x70], rsi
movups xmmword [rbp + 0x40], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14005392d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x1400538f9
mov r14d, 0x80004005
jmp 0x14005391d
lea rdx, [0x140458e40]
lea rcx, [0x14043e508]
call fcn.1400f4dac
movzx r14d, bx
or r14d, 0x80070000
test ebx, ebx
cmovle r14d, ebx
mov ecx, r14d
call fcn.14007ac40
mov r15, rsi
jmp 0x1400543cb
test rbx, rbx
jne 0x14005393c
mov ecx, 0x80070057
mov r14d, ecx
jmp 0x140053920
test r14, r14
je 0x140053932
cmp qword [rsp + 0x78], rsi
je 0x140053932
mov rbx, qword [0x14045c980]
lea rdx, [0x140455880]
lea rcx, [0x140432238]
call fcn.1400f3670
test rbx, rbx
jne 0x140053973
mov ecx, 8
mov qword [rsp + 0x50], rcx
jmp 0x140053981
lea rcx, [rbx + 8]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x1400539a5
mov edx, 1
call fcn.140073644
lea rdx, [0x14045a450]
lea rcx, [0x14042cd3c]
call fcn.1400f4080
mov dword [rbp - 0x60], 1
mov rdx, r15
lea rcx, str.TimeBasedExtendedGrace
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140053be5
cmp qword [r13 + 0x10], rsi
jne 0x140053a1e
lea r9, [rbp - 0x40]
mov rdx, r12
lea r8, str.applicationId
call fcn.1400d7814
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp + 0x50]
call fcn.14004dfd4
mov r14d, eax
test eax, eax
js 0x1400543bf
mov r9, r12
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0x50]
mov rdx, r13
mov rcx, rbx
call fcn.1400dd2a0
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rbx, qword [r13 + 0x10]
test rbx, rbx
jne 0x140053a35
mov r14d, 0xc004f002
mov ecx, r14d
jmp 0x1400543c1
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14004df1c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rdx, qword [rsp + 0x70]
lea r8, [rbp - 0x68]
mov rcx, rbx
call fcn.14006a2e8
test al, al
jne 0x140053a6a
mov r14d, 0xc004f012
jmp 0x140053a2d
mov rcx, qword [rbx + 8]
lea rdx, [rbp - 0x50]
movsxd rax, dword [rbp - 0x68]
add rax, rax
mov rcx, qword [rcx + rax*8 + 8]
call fcn.140077bd4
mov rsi, qword [rbp - 0x50]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x30]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x30]
lea rdx, str.TimeBasedConvertedToPerpetual
mov rcx, rsi
call rax
mov r15d, 0x80070002
mov r14d, eax
cmp eax, r15d
jne 0x140053bd2
mov rax, qword [rsi]
mov rbx, qword [rax + 0x30]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, [rbp - 0x30]
lea rdx, str.TimeBasedExtendedGrace
mov rcx, rsi
call rax
mov r14d, eax
cmp eax, r15d
je 0x140053a62
test eax, eax
jns 0x140053b0d
lea rdx, [0x1404573b8]
lea rcx, [0x1404337b8]
call fcn.1400f50fc
jmp 0x140053a2d
cmp dword [rbp - 0x28], 2
je 0x140053b31
lea rdx, [0x140458034]
lea rcx, [0x140434208]
call fcn.1400f43c8
mov r14d, 0xc004f01e
jmp 0x140053a2d
mov r15d, 4
mov edx, r15d
mov dword [rsp + 0x68], r15d
lea ecx, [r15 + 0x3c]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rbp - 0x80]
mov rbx, rax
test rcx, rcx
je 0x140053b5b
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x140053bc7
lea rdx, [0x14045b490]
lea rcx, [0x140440580]
call fcn.1400f3d28
mov rcx, qword [rbp - 0x20]
mov rdx, rbx
mov qword [rbp - 0x80], rbx
call fcn.140077d3c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rax, qword [rbp - 0x70]
lea rdx, [0x140457fe0]
mov rcx, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
and qword [rbp - 0x80], rdi
mov dword [rax], r15d
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
lea rcx, [0x140434178]
call fcn.1400f4a68
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
jmp 0x1400543c6
mov r14d, 0x8007000e
jmp 0x140053a2d
test eax, eax
je 0x140053a62
jns 0x1400543c6
jmp 0x140053a2d
mov rdx, r15
lea rcx, str.RearmCount
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140053d11
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14004e06c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov r14, qword [0x14045c9f0]
lea rdx, [0x140458198]
lea rcx, [0x1404343dc]
call fcn.1400f43c8
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rax, rbx
mov rcx, r14
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
cmp dword [rsp + 0x58], 1
je 0x140053ca5
mov ecx, 0x8000ffff
mov r14d, ecx
jmp 0x1400543c1
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x50]
call fcn.14004dfd4
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rax, qword [rsp + 0x78]
lea rcx, [rbp + 0x50]
mov r9, qword [rbp - 0x78]
mov rdx, r12
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400d63dc
jmp 0x1400543b8
mov rdx, r15
lea rcx, str.RemainingRearmCount
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140053e35
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14004e06c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov r14, qword [0x14045c9f0]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rax, rbx
mov rcx, r14
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call rax
lea rdx, [0x140458a78]
mov r14d, eax
lea rcx, [0x14042b3b8]
call fcn.1400f39cc
test r14d, r14d
js 0x140053a2d
cmp dword [rsp + 0x58], 1
jne 0x140053c98
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x50]
call fcn.14004dfd4
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rax, qword [rsp + 0x78]
lea rcx, [rbp + 0x50]
mov r9, qword [rbp - 0x78]
mov rdx, r12
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400d685c
jmp 0x1400543b8
mov rdx, r15
lea rcx, str.TrustedTime
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x140053f45
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14004e06c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov r14, qword [0x14045c9f0]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rax, rbx
mov rcx, r14
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
cmp dword [rsp + 0x58], 1
jne 0x140053c98
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x50]
call fcn.14004dfd4
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rax, qword [rsp + 0x78]
lea rcx, [rbp + 0x50]
mov r9, qword [rbp - 0x78]
mov rdx, r12
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400d6154
jmp 0x1400543b8
mov rdx, r15
lea rcx, str.CustomerPID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, [0x1403daab8]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.VLActivationInterval
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.VLRenewalInterval
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.KeyManagementServiceName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.KeyManagementServicePort
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.KeyManagementServiceLookupDomain
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.DiscoveredKeyManagementServiceName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.DiscoveredKeyManagementServiceIpAddress
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.DiscoveredKeyManagementServicePort
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.ADActivationObjectName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.ADActivationObjectDN
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.ADActivationCsvlkPID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.ADActivationCsvlkSkuID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.TokenActivationILID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.TokenActivationILVID
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.TokenActivationGrantNumber
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.TokenActivationCertThumbprint
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.TokenActivationAdditionalInfo
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.InheritedActivationId
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.InheritedActivationHostMachineName
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.InheritedActivationHostDigitalPid2
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.InheritedActivationActivationTime
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400542a4
mov rdx, r15
lea rcx, str.DigitalEncryptedPID
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400541d8
lea r9, [rbp - 0x68]
mov r8, r15
mov rdx, r12
call fcn.1400d7814
mov r14d, eax
test eax, eax
jns 0x140054190
mov ecx, eax
call fcn.14007ac40
mov rdi, qword [rbp - 0x68]
jmp 0x1400543c6
mov rdi, qword [rbp - 0x68]
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov r8d, 0x7fffffff
call fcn.140077c4c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov dword [rax], 1
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
mov rax, rdi
xor edi, edi
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x1400543c6
lea rax, [0x14003819c]
mov qword [rbp + 0x20], r12
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
lea rax, [rbp - 0x48]
mov qword [rbp + 0x48], rbx
mov qword [rbp], rax
xor r9d, r9d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], 3
mov qword [rbp + 8], rax
mov ecx, 0xb9
lea rax, [rbp - 0x58]
lea r8d, [r9 + 0x30]
mov qword [rbp + 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x48]
test r14d, r14d
js 0x140053a2d
mov rax, qword [rbp - 0x58]
lea rdx, [rbp - 0x10]
mov qword [rbp + 8], rax
xor r9d, r9d
lea rax, [0x14000b01c]
mov qword [rbp - 0x10], 3
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea rax, [rbp - 0x44]
mov qword [rbp], rax
lea r8d, [r9 + 0x30]
lea rax, [rbp - 0x80]
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0x18], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov r14d, dword [rbp - 0x44]
test r14d, r14d
js 0x140053a2d
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov dword [rax], 3
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
mov rax, qword [rbp - 0x80]
and qword [rbp - 0x80], rsi
jmp 0x1400541cb
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14004e06c
mov r14d, eax
test eax, eax
js 0x1400543bf
mov r14, qword [0x14045c9f0]
mov rax, qword [r14]
mov rbx, qword [rax + 0x158]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rdx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
mov rax, rbx
mov rcx, r14
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x18]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call rax
lea rdx, [0x1404534e4]
mov r14d, eax
lea rcx, [0x1404429c4]
call fcn.1400f3318
test r14d, r14d
js 0x140053a2d
cmp dword [rsp + 0x58], 1
jne 0x140053c98
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov r14, qword [rax + 0x20]
mov rax, qword [0x1403d25b8]
mov rcx, r14
call rax
mov rax, r14
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x50]
call fcn.14004dfd4
mov r14d, eax
test eax, eax
js 0x1400543bf
mov rax, qword [rsp + 0x78]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp - 0x78]
mov r9, r15
mov qword [rsp + 0x30], rax
mov r8, r12
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, str.msft:spp_notifications_api_getinformation_sku
mov qword [rsp + 0x20], rax
call fcn.1400d6a5c
mov r14d, eax
test eax, eax
jns 0x1400543c6
mov ecx, eax
call fcn.14007ac40
mov r15, qword [rsp + 0x50]
mov eax, dword [0x14045c790]
inc eax
mov dword [0x14045c790], eax
cmp eax, 0x1388
jl 0x140054499
mov rcx, qword [rbp - 0x38]
call fcn.140079a88
cmp dword [0x140451890], 5
jbe 0x140054492
movabs r8, 0x200000000000
test qword [0x1404518a0], r8
je 0x140054492
mov rcx, qword [0x1404518a8]
and rcx, r8
cmp rcx, qword [0x1404518a8]
jne 0x140054492
mov qword [rbp - 0x78], rax
lea r9, [rbp + 0x50]
mov qword [rsp + 0x78], rax
lea rdx, [0x140445bff]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], 0x1000000
mov dword [rbp - 0x68], r14d
mov qword [rbp - 0x70], r12
mov qword [rbp + 0x50], 1
call fcn.14000115c
and dword [0x14045c790], 0
mov ecx, r14d
call fcn.14007ace8
test rsi, rsi
je 0x1400544c1
mov rax, qword [rsi]
mov rbx, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1400544ec
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
mov rcx, rbx
call rax
and qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400544fc
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14005450e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp], 0
lea rax, [0x1400343dc]
xor r9d, r9d
mov qword [rbp - 8], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], 3
lea rdx, [rbp - 0x10]
mov qword [rbp + 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x30]
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x140054565
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rbp - 0x58], 0
test rdi, rdi
je 0x140054573
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140054587
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x80], 0
test r15, r15
je 0x14005459a
cmp dword [rbp - 0x60], 0
je 0x14005459a
mov rcx, r15
call fcn.1400734c0
mov eax, r14d
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140388a50
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret