Function at 0x14005acac
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 [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov rbx, qword [rbp + 0x3c0]
xor eax, eax
mov r13, qword [rbp + 0x3c8]
mov rsi, r8
mov r14d, edx
mov qword [rbp + 0x78], rbx
mov rdi, rcx
mov qword [rbp + 0x80], 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 r15d, 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 + 0xa0], 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 + 0x90], xmm0
test rsi, rsi
jne 0x14005ae0f
mov ecx, 0x80070057
mov esi, ecx
jmp 0x14005b896
test rbx, rbx
je 0x14005ae03
test r13, r13
je 0x14005ae03
mov rbx, qword [rdi + 0x28]
lea rdx, [0x14043b094]
lea rcx, [0x1404197e8]
call fcn.1400ed8ec
test rbx, rbx
je 0x14005b88a
mov qword [rbp - 0x50], rbx
lock inc dword [rbx]
mov rcx, qword [rdi + 0x28]
call fcn.1400676ec
and qword [rdi + 0x28], r15
lea rax, [rbp + 0x60]
and dword [rsp + 0x68], 0
lea rdi, [0x140001218]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x48]
mov rax, qword [rbp - 0x50]
mov ebx, 3
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x6c], rsi
mov qword [rsp + 0x78], rax
mov r15d, 0xc004c600
lea esi, [rbx + 0x3d]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rdi
mov r8d, esi
mov qword [rbp - 0x80], rax
lea ecx, [rsi + 0x79]
mov dword [rsp + 0x74], r14d
call sub.ntdll.dll_NtQuerySystemInformation
mov r13d, dword [rbp + 0x60]
mov r14d, 0x80004005
test r13d, r13d
js 0x14005af58
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.1400601d8
mov esi, eax
test eax, eax
jns 0x14005af01
mov ecx, eax
call fcn.140079c40
mov r15, qword [rsp + 0x30]
jmp 0x14005b89b
mov rax, qword [rbp - 0x28]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [0x140005658]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x64]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x30]
lea esi, [r9 + 0x40]
mov qword [rsp + 0x68], rax
lea r15d, [rsi + 0x79]
mov r8d, esi
mov ecx, r15d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x64], 0
jl 0x14005afee
xor r15d, r15d
mov r13d, r15d
mov rax, qword [0x14043f520]
mov qword [rbp + 0x70], rax
add rax, 8
mov qword [rsp + 0x30], rax
je 0x14005af82
mov edx, 1
mov rcx, rax
call fcn.140072570
mov dword [rbp - 0x68], 1
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x68], rax
mov rax, qword [rax + 8]
test rax, rax
je 0x14005b858
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x48]
lea rax, [0x1400035d8]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
xor r9d, r9d
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 0x14005b044
mov esi, 0xc004f015
mov ecx, esi
jmp 0x14005aef2
mov rax, qword [rbp - 0x78]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [0x140004c98]
mov qword [rsp + 0x48], rbx
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
jne 0x14005af55
mov esi, r14d
mov ecx, r14d
jmp 0x14005aef2
test esi, esi
js 0x14005afe7
test r15d, r15d
js 0x14005b12e
mov rcx, qword [rbp + 0x3b0]
test rcx, rcx
je 0x14005b12e
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], rdi
mov qword [rsp + 0x78], rax
lea rax, [rbp + 8]
lea edi, [r9 + 0x40]
mov qword [rsp + 0x6c], rcx
lea esi, [rdi + 0x79]
mov qword [rbp - 0x80], rax
mov r8d, edi
mov qword [rsp + 0x48], rbx
mov ecx, esi
mov dword [rsp + 0x74], r12d
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 4], 0
jl 0x14005b107
mov rax, qword [rbp + 0x58]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea rax, [0x140003f98]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rax
mov r8d, edi
lea rax, [rbp + 0x88]
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 + 0x90]
call fcn.14005ab54
test eax, eax
js 0x14005b12e
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x110]
call fcn.140061d94
mov rax, qword [0x1403c74d0]
mov r12d, 1
cmp rax, qword [rbp + 0x110]
jne 0x14005b27a
mov rax, qword [0x1403c74d8]
cmp rax, qword [rbp + 0x118]
jne 0x14005b27a
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x110]
call fcn.1400522bc
mov esi, eax
test eax, eax
js 0x14005aef0
mov rdi, qword [0x14043f598]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x130]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
mov rax, rbx
mov rcx, rdi
mov r9d, r12d
mov r8d, r12d
call rax
lea rdx, [0x14043a3b0]
mov esi, eax
lea rcx, [0x14041d0fc]
call fcn.1400edf70
test esi, esi
js 0x14005afe7
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp + 0xc]
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
cmp dword [rbp + 0xc], r12d
je 0x14005b208
mov esi, 0x8000ffff
jmp 0x14005afe7
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp + 0xe8]
xor edx, edx
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
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.1400eb5b0
mov esi, eax
test eax, eax
js 0x14005aef0
cmp dword [rbp - 0x70], 0
jne 0x14005b277
inc ebx
add rdi, 8
cmp ebx, 2
jb 0x14005b243
jmp 0x14005b27a
xor r12d, r12d
test r15d, r15d
js 0x14005b6c8
test r12d, r12d
je 0x14005b6c8
mov rsi, qword [0x14043f560]
lea rcx, [0x14043f520]
call fcn.140052d24
mov rdx, qword [rsi]
mov rdi, rax
mov rax, qword [0x1403c1610]
mov rbx, qword [rdx + 0x28]
mov rcx, rbx
call rax
lea rcx, [rsp + 0x40]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r9, [0x1403cab70]
mov rcx, rsi
lea r8, str.msft:rm_algorithm_hwid_4.0
mov rdx, rdi
call rax
mov esi, eax
test eax, eax
jns 0x14005b2f6
lea rdx, [0x14043b63c]
lea rcx, [0x1404160a0]
call fcn.1400ed5b8
jmp 0x14005afe7
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
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 rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x20]
mov r8d, r12d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
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 rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x20]
mov r8d, r12d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x30]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp + 0xc8]
lea rdx, str.SppBindingLicenseData
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
jns 0x14005b40e
lea rdx, [0x1404391e0]
lea rcx, [0x140423f18]
call fcn.1400edc30
jmp 0x14005afe7
mov edx, dword [rbp + 0xe0]
lea r9, [rbp + 0x40]
mov rcx, qword [rbp + 0xd8]
call fcn.1400687ac
mov esi, eax
test eax, eax
js 0x14005aef0
mov r8, qword [rbp + 0x40]
lea rdx, str.Hwid_s_
lea rcx, [rbp - 0x40]
call fcn.140069888
mov esi, eax
test eax, eax
js 0x14005aef0
lea r9, [rbp + 0x2c0]
mov dword [rbp + 0x10], 0x41
lea r8, [rbp + 0x10]
xor ecx, ecx
call fcn.1401a0c44
mov esi, eax
test eax, eax
js 0x14005aef0
lea r8, [rbp + 0x2c0]
lea rdx, str.Pfn_s_
lea rcx, [rbp - 0x40]
call fcn.140069888
mov esi, eax
test eax, eax
js 0x14005aef0
lea rcx, [rbp + 0x170]
mov dword [rbp + 0x170], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14005b4d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005b4bd
mov esi, r14d
jmp 0x14005afe7
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14005afe7
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.140069888
mov esi, eax
test eax, eax
js 0x14005aef0
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.140069888
mov esi, eax
test eax, eax
js 0x14005aef0
mov edx, dword [rbp - 0x38]
lea r9, [rbp + 0x30]
mov rcx, qword [rbp - 0x40]
lea edx, [rdx*2 + 2]
call fcn.1400687ac
mov esi, eax
test eax, eax
js 0x14005aef0
mov r8, qword [rbp + 0x30]
lea rdx, str.SL_GET_GENUINE_AUTHZ:_s
lea rcx, [rbp + 0x38]
call fcn.140078d44
mov esi, eax
test eax, eax
js 0x14005aef0
mov rdi, qword [0x14043f5a0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov r8, qword [rbp + 0x38]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
lea r9, [rbp + 0x8c]
lea rcx, [rbp + 0x14]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea rdx, [0x1403c74d0]
mov rcx, rdi
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
lea r8, [rbp - 0x58]
xor edx, edx
lea rcx, [0x1403cad80]
call fcn.140081b34
mov esi, eax
test eax, eax
js 0x14005aef0
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 rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x20]
mov r8d, r12d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
mov eax, dword [rbp + 0x14]
lea rdx, str.SppGenuineBlobResult
mov rcx, qword [rbp - 0x48]
dec eax
mov qword [rbp - 0x20], rdx
lea rdx, [0x14043eb40]
mov qword [rbp - 0x10], rcx
lea rcx, [0x14041c4d8]
mov dword [rbp - 8], eax
mov dword [rbp - 0x18], 4
mov rdi, qword [rbx]
call fcn.1400ee2b8
mov rax, qword [0x1403c1610]
mov rcx, qword [rdi + 0x48]
call rax
mov rax, qword [rdi + 0x48]
lea rdx, [rbp - 0x20]
mov r8d, r12d
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x14005aef0
mov rdi, qword [0x14043f570]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov r8, qword [rbp - 0x58]
lea rdx, str.msft:spp_notifications_common_processtsl
and qword [rsp + 0x20], 0
mov rax, rbx
mov r9d, r12d
mov rcx, rdi
call rax
mov esi, eax
test eax, eax
jns 0x14005b6ce
jmp 0x14005aef0
mov r12d, 1
cmp dword [rbp + 0x3b8], 0
je 0x14005b858
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x110]
call fcn.1400522bc
test eax, eax
js 0x14005b715
mov rdi, qword [0x14043f5b0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rbp + 0x50]
mov rax, rbx
mov rcx, rdi
call rax
mov ebx, 3
mov dword [rsp + 0x68], r15d
lea rax, [0x140004618]
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 0x14005b858
test r15d, r15d
jne 0x14005b834
lea rax, [0x140003918]
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 + 0x70]
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 0x14005b812
xor r14d, r14d
cmp dword [rbp - 0x6c], r14d
jbe 0x14005b812
mov rsi, qword [0x14043f5a0]
mov edi, r14d
shl rdi, 4
add rdi, qword [rbp + 0x48]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x28]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
lea r8, str.SL_ACTIVATION_VALIDATION_IN_PROGRESS
mov rdx, rdi
mov rcx, rsi
call rax
add r14d, r12d
cmp r14d, dword [rbp - 0x6c]
jb 0x14005b7d2
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.14005316c
jmp 0x14005b858
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.1400531f8
mov esi, r13d
test r13d, r13d
jns 0x14005b868
mov ecx, r13d
jmp 0x14005aef2
mov rcx, qword [rbp + 0x78]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov rax, qword [rbp - 0x78]
mov rcx, qword [rbp + 0x80]
and qword [rbp - 0x78], 0
mov qword [rcx], rax
jmp 0x14005aef7
mov r14d, 0x80004005
mov esi, r14d
mov ecx, r14d
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x14005b8cb
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x60], 0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14005b8da
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x14005b902
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.140079c60
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x14005b91f
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 0x14005b943
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14005b957
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x48], 0
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14005b97f
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.140079c60
mov rax, qword [rbp + 0x40]
test rax, rax
je 0x14005b9a7
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.140079c60
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005b9d2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rsp + 0x40], 0
lea rcx, [rbp + 0x90]
call fcn.14005bab4
lea rcx, [rbp + 0x48]
call fcn.140056908
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14005b9f6
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x14005ba09
cmp dword [rbp - 0x68], 0
je 0x14005ba09
mov rcx, r15
call fcn.14007240c
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14005ba32
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x30], 0
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x14005ba5b
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x28], 0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14005ba69
call fcn.1400676ec
lea rcx, [rbp + 0x58]
call fcn.14005a9b4
lea rcx, [rbp - 0x78]
call fcn.14005a9b4
mov eax, esi
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14037a9a0
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