Function at 0x18000d2e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x180062020]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [0x180064c08]
mov r12, rdx
mov r15, rcx
test rcx, rcx
jne 0x18000d31f
cmp dword [rax], ecx
je 0x18000d33e
lea r8, str.Api_param_is_null
jmp 0x18000d330
test r12, r12
jne 0x18000d345
cmp dword [rax], r12d
je 0x18000d33e
lea r8, str.initSettings_param_is_null
lea rdx, str._OEMUninstall__::_oemuninstall_init____
xor ecx, ecx
call fcn.180002d40
mov eax, 3
jmp 0x18000d3b7
mov ecx, dword [rcx]
cmp ecx, 3
jne 0x18000d939
cmp dword [rax], 0
mov qword [rsp + 0x120], rbx
je 0x18000d387
mov eax, dword [rdx]
lea r8, str.License___s_VersionAPI___d_VersionInitSettings___d
mov r9, qword [rdx + 0x18]
lea rdx, str._OEMUninstall__::_oemuninstall_init____
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call fcn.180002d40
mov rax, qword [0x180064c08]
mov rbx, qword [r12 + 0x18]
test rbx, rbx
jne 0x18000d3d0
cmp dword [rax], ebx
je 0x18000d3aa
lea r8, str.License_is_null
xor ecx, ecx
lea rdx, str._OEMUninstall__::_oemuninstall_init____
call fcn.180002d40
mov eax, 1
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180018470
add rsp, 0xf0
pop r15
pop r12
pop rbp
ret
mov qword [rsp + 0xe8], rsi
lea rax, vtable.class_key.0
mov qword [rsp + 0xe0], rdi
xorps xmm0, xmm0
mov qword [rbp - 0x59], rax
mov rdi, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0xd8], r13
xor esi, esi
mov qword [rsp + 0xd0], r14
mov qword [rbp - 0x21], rsi
mov rcx, rdi
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], rsi
movups xmmword [rbp - 0x51], xmm0
mov dword [rbp - 0x41], eax
mov byte [rbp - 0x3d], al
inc rcx
cmp word [rbx + rcx*2], ax
jne 0x18000d426
inc rcx
mov r14d, 2
mov eax, r14d
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.180018e28
mov r13, rax
mov qword [rbp - 0x71], rax
mov rdx, rdi
inc rdx
cmp word [rbx + rdx*2], si
jne 0x18000d454
inc rdx
mov r8, rbx
mov rcx, r13
call fcn.180029cf0
mov qword [rbp - 0x79], rsi
cmp word [r13], si
jne 0x18000d47f
lea rbx, [0x180058df7]
jmp 0x18000d4ac
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.180017400
lea ebx, [rax + 1]
movsxd rcx, ebx
call fcn.180018e28
mov rdx, rax
mov qword [rbp - 0x79], rax
mov r8d, ebx
mov rcx, r13
call fcn.180017400
mov rbx, rdx
mov eax, dword [str.____n]
mov rcx, rdi
mov dword [rbp - 0x69], eax
movzx eax, word [0x18005a4c4]
mov word [rbp - 0x65], ax
inc rcx
cmp byte [rbx + rcx], sil
jne 0x18000d4c3
add rcx, 1
cmovb rcx, rdi
call fcn.180029228
mov r13, rax
test rax, rax
je 0x18000d8cc
cmp byte [rbx + rdi + 1], sil
lea rdi, [rdi + 1]
jne 0x18000d4e5
lea rdx, [rdi + 1]
mov r8, rbx
mov rcx, r13
call fcn.18002a9c8
lea r8, [rbp - 0x61]
mov byte [rbp - 0x51], sil
lea rdx, [rbp - 0x69]
mov qword [rbp - 0x61], rsi
mov rcx, r13
call fcn.18002a990
test rax, rax
je 0x18000d545
nop dword [rax]
mov r8, rax
lea rcx, [rbp - 0x51]
mov edx, 0x15
call fcn.1800281b4
lea r8, [rbp - 0x61]
xor ecx, ecx
lea rdx, [rbp - 0x69]
call fcn.18002a990
test rax, rax
jne 0x18000d520
mov rcx, r13
call fcn.1800281a0
lea rcx, [rbp - 0x59]
call fcn.180017250
test eax, eax
je 0x18000d8cc
cmp dword [rbp - 0x2d], 0xea5f
jne 0x18000d8cc
mov eax, dword [rbp - 0x39]
add eax, 0xffffff3e
cmp eax, 1
ja 0x18000d8cc
mov eax, dword [rbp - 0x1d]
lea rcx, [rbp - 0x11]
mov dword [rbp - 5], eax
mov eax, dword [rbp - 0x21]
dec eax
mov qword [rbp - 0xd], rsi
mov dword [rbp - 1], eax
mov eax, dword [rbp - 0x25]
add eax, 0x64
mov dword [rbp - 0x11], esi
mov dword [rbp + 3], eax
mov dword [rbp + 0xf], esi
call fcn.180029ad8
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000d5d8
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d8f7
lea r8, str.License_expiration_date_is_bogus
xor ecx, ecx
lea rdx, str._OEMUninstall__::_oemuninstall_init____
call fcn.180002d40
jmp 0x18000d8f7
lea rcx, [rbp - 0x19]
call fcn.180029d58
mov r9, qword [rbp - 0x19]
cmp r9, rbx
jle 0x18000d626
mov rax, r9
sub rax, rbx
cmp rax, 0x15180
jle 0x18000d626
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d8fd
lea r8, str.License_is_expired_now___u_expires___u
mov qword [rsp + 0x20], rbx
lea rdx, str._OEMUninstall__::_oemuninstall_init____
xor ecx, ecx
call fcn.180002d40
jmp 0x18000d8fd
mov rbx, qword [0x180064bb0]
test rbx, rbx
je 0x18000d64e
mov rcx, rbx
call fcn.180007b60
mov edx, 0x10
mov rcx, rbx
call fcn.180018490
mov qword [0x180064bb0], rsi
mov rbx, qword [0x180064ba8]
test rbx, rbx
je 0x18000d676
mov rcx, rbx
call fcn.180007b60
mov edx, 0x10
mov rcx, rbx
call fcn.180018490
mov qword [0x180064ba8], rsi
lea rax, [fcn.18000ddf0]
mov qword [r15 + 8], rax
lea rax, [0x18000df90]
mov qword [r15 + 0x10], rax
lea rax, [0x18000e460]
mov qword [r15 + 0x20], rax
lea rax, [0x18000e140]
mov qword [r15 + 0x18], rax
lea rax, [0x18000e630]
mov qword [r15 + 0x28], rax
lea rax, [fcn.18000e780]
mov qword [r15 + 0x30], rax
lea rax, [fcn.18000e1b0]
mov qword [r15 + 0x38], rax
lea rax, [fcn.18000e480]
mov qword [r15 + 0x40], rax
lea rax, [0x18000e090]
mov qword [r15 + 0x48], rax
lea rax, [fcn.18000e6c0]
mov qword [r15 + 0x50], rax
lea rax, [0x18000db40]
mov qword [r15 + 0x58], rax
lea rax, [0x18000dd50]
mov qword [r15 + 0x60], rax
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d729
mov rax, qword [r12 + 8]
lea r8, str.CustomJson___s_BdData___s
mov r9, qword [r12 + 0x10]
lea rdx, str._OEMUninstall__::_oemuninstall_init____
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180002d40
mov rdx, qword [r12 + 0x10]
test rdx, rdx
je 0x18000d843
lea r8, [0x180058534]
mov qword [rbp - 0x69], rsi
lea rcx, [rbp - 0x69]
call fcn.1800279a8
mov r9d, eax
test eax, eax
jne 0x18000d881
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x18000d881
mov r8d, r14d
xor edx, edx
call fcn.180029ce8
mov rcx, qword [rbp - 0x69]
call fcn.180029724
mov rcx, qword [rbp - 0x69]
xor r8d, r8d
xor edx, edx
mov ebx, eax
call fcn.180029ce8
mov ecx, ebx
mov r14d, ebx
call fcn.180029228
mov rdi, rax
test rax, rax
jne 0x18000d7cc
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d7b8
lea r8, str.Couldnt_allocate_memory_for_reading_the_custom_json
xor ecx, ecx
lea rdx, str._OEMUninstall__::_ReadCustomJson____
call fcn.180002d40
mov rcx, qword [rbp - 0x69]
call fcn.180027728
mov r14d, 0x11
jmp 0x18000d8a7
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.18001b7e0
mov r9, qword [rbp - 0x69]
mov r8, r14
mov edx, 1
mov rcx, rdi
call fcn.18002a028
mov ecx, 0x10
call fcn.18001899c
mov ecx, 0x48
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 8], rsi
call fcn.18001899c
mov r8, r14
mov qword [0x180064ba8], rbx
mov rdx, rdi
mov rcx, rbx
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx], rax
call fcn.180004950
mov rcx, rdi
mov r14d, eax
call fcn.1800281a0
mov rcx, qword [rbp - 0x69]
call fcn.180027728
test r14d, r14d
jne 0x18000d8a7
mov rcx, qword [r12 + 8]
call fcn.180006ce0
mov r14d, eax
test eax, eax
je 0x18000d900
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d8fd
mov r9d, r14d
lea r8, str.Loading_the_setup_data_failed_Error_:__d
lea rdx, str._OEMUninstall__::_oemuninstall_init____
xor ecx, ecx
call fcn.180002d40
jmp 0x18000d8fd
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d8a1
lea r8, str.Opening__the_custom_json_failed_Error_:__d
xor ecx, ecx
lea rdx, str._OEMUninstall__::_ReadCustomJson____
call fcn.180002d40
mov r14d, 0xd
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d8fd
mov r9d, r14d
lea r8, str.Reading_the_custom_json_failed_Error_:__d
lea rdx, str._OEMUninstall__::_oemuninstall_init____
xor ecx, ecx
call fcn.180002d40
jmp 0x18000d8fd
mov rax, qword [0x180064c08]
cmp dword [rax], esi
je 0x18000d8f7
mov eax, dword [rbp - 0x39]
lea r8, str.License_is_invalid_prod_id_d_dist_id_d
mov r9d, dword [rbp - 0x2d]
lea rdx, str._OEMUninstall__::_oemuninstall_init____
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.180002d40
mov r14d, 1
mov esi, r14d
mov rcx, qword [rbp - 0x79]
call fcn.180018490
mov rcx, qword [rbp - 0x71]
call fcn.180018490
mov r14, qword [rsp + 0xd0]
mov eax, esi
mov rsi, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
jmp 0x18000d3af
cmp dword [rax], 0
je 0x18000d953
lea r8, str.Interface_mismatch
xor ecx, ecx
lea rdx, str._OEMUninstall__::_oemuninstall_init____
call fcn.180002d40
mov eax, 4
jmp 0x18000d3b7