Function at 0x180090030
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5c20]
mov eax, 0x5d40
call fcn.1800a7270
sub rsp, rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x5d80], rbx
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x5c10], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xc10]
call fcn.1800cf2b0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x10]
call fcn.1800cf2b0
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x1c10]
call fcn.1800cf2b0
xor r15d, r15d
mov edi, r15d
mov rcx, qword [0x1801c0208]
test rcx, rcx
je 0x1800900c8
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [0x18013ad3c]
mov rcx, rsi
call fcn.1800e3d98
mov r14, rax
test rax, rax
jne 0x1800901d7
call fcn.1800dd340
mov ecx, dword [rax]
call fcn.1800e9a30
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.Failed_to_update_local_trusted_store__s___s_
mov edx, 0x7ff
lea rcx, [rbp + 0x410]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x180090797
lea rax, [rbp - 0x58]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
lea r8d, [r14 + 0x24]
lea rdx, str.GridCloudLicensingTrustedStorage.cpp
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
lea r8d, [r14 + 0x10]
lea rdx, str.cloudLicTSUpdate
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
lea rax, [rbp - 0x80]
mov qword [rbp], rax
lea rax, [rbp + 0x410]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x70], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x60], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x15a
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x68]
lea edx, [r14 + 3]
call fcn.180019ae4
jmp 0x180090797
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx]
lea r8, str._____system_clock_snapshot_:__s___n_____jti_:__s___n
mov edx, 0x400
lea rcx, [rbp + 0x10]
call fcn.180081e30
movsxd rcx, eax
cmp rcx, 0x400
jb 0x1800902ed
lea r8, str.Failed_to_update_local_trusted_store___Maximum_buffer_size_exceeded
mov edx, 0x7ff
lea rcx, [rbp + 0x410]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x180090782
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
mov r8d, 0x24
lea rdx, str.GridCloudLicensingTrustedStorage.cpp
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.cloudLicTSUpdate
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
lea rax, [rbp - 0x80]
mov qword [rbp], rax
lea rax, [rbp + 0x410]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x161
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x78]
mov edx, 3
call fcn.180019ae4
jmp 0x180090782
mov rcx, qword [rbx + 0x18]
movzx eax, byte [rcx]
cmp al, byte [0x180159e62]
jne 0x180090316
lea rax, [rbp + 0x10]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], dil
jne 0x180090304
lea rcx, [rbp + 0x10]
jmp 0x180090610
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x90], rax
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x88], rax
mov eax, dword [rbx + 0x94]
mov dword [rsp + 0x80], eax
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x78], eax
mov rax, qword [rbx + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x68]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x10]
lea r8, str._s_____origin_:__n_____origin_ref_:__s___n_____environment_:_n_______fingerprint_:_n_________mac_address_list_:__s___n_________n_______ip_address_list_:__s___n_______hostname_:__s___n_______guest_driver_version_:__s___n_______os_platform_:__s___n_______os_version_:__s___n_____host_driver_version_:__s___n_______gpu_id_list_:__s___n_______client_platform_id_:__s___n_____hv_platform_:__s___n_______cpu_sockets_:_d__n_______physical_cores_:_d_n_____registered_:_s__n_____failed_registration_attempts_:_s
mov edx, 0x1000
lea rcx, [rbp + 0xc10]
call fcn.180081e30
movsxd rcx, eax
cmp rcx, 0x1000
jb 0x1800904a9
lea r8, str.Failed_to_update_local_trusted_store___Maximum_buffer_size_exceeded
mov edx, 0x7ff
lea rcx, [rbp + 0x410]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x180090782
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
mov r8d, 0x24
lea rdx, str.GridCloudLicensingTrustedStorage.cpp
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.cloudLicTSUpdate
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
lea rax, [rbp - 0x80]
mov qword [rbp], rax
lea rax, [rbp + 0x410]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x173
jmp 0x1800902d6
mov rcx, qword [rbx + 0x48]
movzx eax, byte [rcx]
cmp al, byte [0x180159e62]
jne 0x1800904d8
lea rax, [rbp + 0xc10]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], dil
jne 0x1800904c3
lea rcx, [rbp + 0xc10]
jmp 0x180090610
mov eax, dword [rbx + 0x98]
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xc10]
lea r8, str._n_s__n___lease_management_:__n_____lease_list_:___s___n_____lease_state_:__s___n_____lease_owner_session_:__lu____n
mov edx, 0x2000
lea rcx, [rbp + 0x1c10]
call fcn.180081e30
movsxd rcx, eax
cmp rcx, 0x2000
jb 0x1800905f2
lea r8, str.Failed_to_update_local_trusted_store___Maximum_buffer_size_exceeded
mov edx, 0x7ff
lea rcx, [rbp + 0x410]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x180090782
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
mov r8d, 0x24
lea rdx, str.GridCloudLicensingTrustedStorage.cpp
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.cloudLicTSUpdate
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
lea rax, [rbp - 0x80]
mov qword [rbp], rax
lea rax, [rbp + 0x410]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x187
jmp 0x1800902d6
lea rax, [rbp + 0x1c10]
or rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rax + rdx], dil
jne 0x180090600
lea rcx, [rbp + 0x1c10]
lea rax, [rbp + 0x3c10]
mov qword [rsp + 0x30], rax
mov eax, dword [0x1801bfdb0]
mov dword [rsp + 0x28], eax
lea rax, [0x1801bfda1]
mov qword [rsp + 0x20], rax
lea r9, [0x1801bfd80]
lea r8, [0x1801bfdb4]
call fcn.18008bcc0
test eax, eax
je 0x180090782
movsxd r8, eax
mov r9, r14
mov edx, 1
lea rcx, [rbp + 0x3c10]
call fcn.1800ea2e0
lea rdx, [0x18013ad3c]
lea rcx, [0x1801bfdc4]
call fcn.1800e3d98
mov rdi, rax
test rax, rax
jne 0x18009076a
call fcn.1800dd340
mov ecx, dword [rax]
call fcn.1800e9a30
mov qword [rsp + 0x20], rax
lea r9, [0x1801bfdc4]
lea r8, str.Failed_to_update_auth_tag_file__s___s_
mov edx, 0x7ff
lea rcx, [rbp + 0x410]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x180090782
lea rax, [rbp - 0x38]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r15
mov word [rbp - 0x38], r15w
lea r8d, [rdi + 0x24]
lea rdx, str.GridCloudLicensingTrustedStorage.cpp
lea rcx, [rbp - 0x38]
call fcn.18001eca0
nop
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r15
mov word [rbp - 0x58], r15w
lea r8d, [rdi + 0x10]
lea rdx, str.cloudLicTSUpdate
lea rcx, [rbp - 0x58]
call fcn.18001eca0
nop
lea rax, [rbp - 0x80]
mov qword [rbp], rax
lea rax, [rbp + 0x410]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x60], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x19c
jmp 0x1800902d6
mov r9, rax
mov edx, 1
lea r8d, [rdx + 0xf]
lea rcx, [0x1801bfdb4]
call fcn.1800ea2e0
mov rcx, r14
call fcn.1800e3ba4
test rdi, rdi
je 0x180090797
mov rcx, rdi
call fcn.1800e3ba4
mov rcx, qword [0x1801c0208]
test rcx, rcx
je 0x1800907a9
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0x5c10]
xor rcx, rsp
call fcn.1800a6240
mov rbx, qword [rsp + 0x5d80]
add rsp, 0x5d40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret