Function at 0x1400db9e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa10]
sub rsp, 0xb10
movaps xmmword [rsp + 0xb00], xmm6
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rbp + 0x9f0], rax
mov r14, r9
mov rsi, r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x78], r8
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], SafeArrayLock
lea ecx, [rbx + 0x30]
call fcn.1400b88d0
mov qword [rbp - 0x10], 0x2e
mov qword [rbp - 8], 0x2f
movups xmm0, xmmword [str._APRP2020__ActivateDevice__Start______________]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c010]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14026c020]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x14026c028]
mov dword [rax + 0x28], ecx
movzx ecx, word [0x14026c02c]
mov word [rax + 0x2c], cx
mov byte [rax + 0x2e], bl
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140162100
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], SafeArrayLock
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [r14 + r8], bl
jne 0x1400dbab2
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.1400cf610
lea rcx, [rbp - 0x40]
call fcn.1401b5fe0
mov r13, rax
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
mov r15, qword [rsi + 0x10]
mov r12, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400dbaf0
mov r12, qword [rsi]
cmp r15, 0x10
jae 0x1400dbb06
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x20], xmm0
mov ebx, SafeArrayGetLBound
jmp 0x1400dbb3a
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400b88d0
mov qword [rbp - 0x20], rax
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call fcn.1401f7750
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rbx
lea rcx, [rbp - 0x20]
call fcn.1401b5fe0
mov rdx, r13
mov rcx, rax
call sub.api_ms_win_crt_time_l1_1_0.dll__difftime64
movaps xmm6, xmm0
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x4f0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + 0x60], xmm1
mov word [rbp + 0x70], ax
xorps xmm2, xmm2
movups xmmword [rbp + 0x78], xmm2
mov word [rbp + 0x88], ax
movsd xmm2, qword [0x14026c840]
comisd xmm6, xmm1
jb 0x1400dbda4
comisd xmm2, xmm6
jb 0x1400dbda4
lea rcx, [rbp - 0x80]
call fcn.1401aecf0
nop
lea rcx, [rbp - 0x80]
mov r15, qword [rbp - 0x80]
mov r12, qword [rbp - 0x68]
cmp r12, 0x10
cmovae rcx, r15
mov rbx, qword [rbp - 0x70]
mov r8, rbx
mov r13d, reloc.OLEAUT32.dll_SafeArrayLock
cmp rbx, r13
cmova r8, r13
lea rdx, str.SSN12345678901234567
call fcn.1401f7650
test eax, eax
jne 0x1400dbd45
cmp rbx, r13
jne 0x1400dbd45
xor ebx, ebx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], SafeArrayLock
mov byte [rbp - 0x20], bl
lea ecx, [rax + 0x20]
call fcn.1400b88d0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], 0x1f
movups xmm0, xmmword [str.SSN12345678901234567]
movups xmmword [rax], xmm0
mov ecx, dword [0x14026c040]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], bl
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
lea rdx, str._APRP2020__ActivateDevice__SN_is_test_SN:
lea rcx, [rbp - 0x60]
call fcn.1400b8710
nop
lea r8d, [r13 - 4]
lea rdx, str.__try_to_use_MAC
mov rcx, rax
call fcn.1400cf260
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], bl
lea rcx, [rbp - 0x40]
call fcn.140162100
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400dbccc
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dbcc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dccef
call fcn.1401bfb10
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], SafeArrayLock
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400dbd17
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dbd12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dccf5
call fcn.1401bfb10
mov r8d, 6
lea rdx, [rbp + 0x60]
lea ecx, [r8 + 0xc]
call fcn.1400de3c0
cmp byte [rbp + 0x60], 0
jne 0x1400dbd63
mov r8d, 0x47
lea rdx, [rbp + 0x78]
lea ecx, [r8 - 0x35]
call fcn.1400de3c0
jmp 0x1400dbd63
lea r8, [rbp - 0x80]
cmp r12, 0x10
cmovae r8, r15
mov edx, 0x100
lea rcx, [rbp + 0x4f0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400dbe02
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dbd9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dccfb
call fcn.1401bfb10
jmp 0x1400dbe02
movsd xmm0, qword [0x14026c848]
comisd xmm6, xmm2
jbe 0x1400dbdd3
comisd xmm0, xmm6
jb 0x1400dbdd3
mov r8d, 6
lea rdx, [rbp + 0x60]
lea ecx, [r8 + 0xc]
call fcn.1400de3c0
cmp byte [rbp + 0x60], 0
jne 0x1400dbe02
jmp 0x1400dbdef
comisd xmm6, xmm0
jbe 0x1400dcc3c
movsd xmm0, qword [0x14026c850]
comisd xmm0, xmm6
jb 0x1400dcc3c
mov r8d, 0x47
lea rdx, [rbp + 0x78]
lea ecx, [r8 - 0x35]
call fcn.1400de3c0
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x290]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x5f0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor r12d, r12d
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], SafeArrayLock
mov byte [rbp + 0x20], r12b
lea ecx, [r12 + 0x40]
call fcn.1400b88d0
mov qword [rbp + 0x30], 0x39
mov qword [rbp + 0x38], 0x3f
movups xmm0, xmmword [str.https:__vip.asus.com.cn_OnlineRegister_ProductActReg.aspx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c0a0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14026c0b0]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x14026c0c0]
movsd qword [rax + 0x30], xmm1
movzx ecx, byte [0x14026c0c8]
mov byte [rax + 0x38], cl
mov byte [rax + 0x39], r12b
mov qword [rbp + 0x20], rax
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], SafeArrayLock
mov byte [rbp], r12b
lea ecx, [r12 + 0x40]
call fcn.1400b88d0
mov qword [rbp + 0x10], 0x36
mov qword [rbp + 0x18], 0x3f
movups xmm0, xmmword [str.https:__vip.asus.com_OnlineRegister_ProductActReg.aspx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c0e0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14026c0f0]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x14026c100]
mov dword [rax + 0x30], ecx
movzx ecx, word [0x14026c104]
mov word [rax + 0x34], cx
mov byte [rax + 0x36], r12b
mov qword [rbp], rax
mov dword [rsp + 0x48], r12d
mov byte [rsp + 0x30], r12b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1401a8e00
test al, al
je 0x1400dbff9
cmp byte [rsp + 0x30], r12b
jne 0x1400dbff9
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
lea r8d, [r12 + 0x2c]
lea rdx, str._s____Action_refer_to_previous_record__0x_x_
lea rcx, [rbp - 0x60]
call fcn.1400cf720
mov r8d, dword [rsp + 0x48]
lea rdx, str.APRPClass2020::ActivateDevice
lea rcx, [rbp - 0x60]
call fcn.140162a30
mov eax, dword [rsp + 0x48]
cmp eax, 9
ja 0x1400dbfbc
mov ecx, 0x214
bt ecx, eax
jae 0x1400dbfbc
lea r8, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r8, qword [rbp + 0x20]
lea r9, [rbp + 0x20]
cmovae r9, qword [rbp + 0x20]
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [r9 + rdx], 0
jne 0x1400dbfb0
jmp 0x1400dbfea
cmp eax, 3
jne 0x1400dbff9
lea r8, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae r8, qword [rbp]
lea r9, [rbp]
cmovae r9, qword [rbp]
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp byte [r9 + rdx], 0
jne 0x1400dbfe0
inc rdx
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov ecx, 0x30
call fcn.1400b88d0
mov qword [rbp - 0x70], 0x20
mov qword [rbp - 0x68], 0x2f
movups xmm0, xmmword [str._APRP2020__ActivateDevice__SN_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c158]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140162100
lea rdx, str.ap29_re_
lea rcx, [rbp + 0x4f0]
call fcn.1400cbbf0
mov rbx, rax
lea r8, str._asn
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov ecx, 0x30
call fcn.1400b88d0
mov qword [rbp - 0x70], 0x22
mov qword [rbp - 0x68], 0x2f
movups xmm0, xmmword [str._APRP2020__ActivateDevice__MAC1_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c198]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x14026c1a8]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140162100
lea rdx, str.ap29_re_
lea rcx, [rbp + 0x60]
call fcn.1400cbbf0
mov rbx, rax
lea r8, str.ama_1
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov ecx, 0x30
call fcn.1400b88d0
mov qword [rbp - 0x70], 0x23
mov qword [rbp - 0x68], 0x2f
movups xmm0, xmmword [str._APRP2020___ActivateDevice__MAC2_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c1c8]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x14026c1d8]
mov word [rax + 0x20], cx
movzx ecx, byte [0x14026c1da]
mov byte [rax + 0x22], cl
mov byte [rax + 0x23], 0
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140162100
lea rdx, str.ap29_re_
lea rcx, [rbp + 0x78]
call fcn.1400cbbf0
mov rbx, rax
lea r8, str.ama_2
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov ecx, 0x30
call fcn.1400b88d0
mov qword [rbp - 0x70], 0x23
mov qword [rbp - 0x68], 0x2f
movups xmm0, xmmword [str._APRP2020___ActivateDevice__UUID_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14026c1f8]
movups xmmword [rax + 0x10], xmm1
movzx edx, word [0x14026c208]
mov word [rax + 0x20], dx
movzx edx, byte [0x14026c20a]
mov byte [rax + 0x22], dl
mov byte [rax + 0x23], 0
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140162100
lea rdx, str.ap29_re_
mov rcx, qword [rsp + 0x40]
call fcn.1400cbbf0
mov rbx, rax
lea r8, str.uid
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x40]
call fcn.140164400
nop
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x3c0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8b, 1
lea rdx, [rbp + 0x3c0]
lea rcx, [rsp + 0x40]
call fcn.140166760
lea rax, [rbp + 0x3c0]
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400dc300
inc rdx
lea r8, [rbp + 0x3c0]
lea rcx, [rbp + 0x290]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s
nop
lea rcx, [rsp + 0x40]
call fcn.140164430
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
lea rax, [rbp + 0x290]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1400dc345
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x60]
call fcn.1400cf720
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1401b68c0
nop
mov r8, rax
lea rdx, str._APRP2020___ActivateDevice__ModelName_
lea rcx, [rbp - 0x80]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400dc3c5
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc3c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd01
call fcn.1401bfb10
mov ecx, SafeArrayPutElement
call fcn.1401bfad4
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400dc402
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x290]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400dccc8
jmp 0x1400dc405
mov rbx, r12
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x1400dccbd
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400dc428
mov rcx, qword [rbx]
call fcn.1401f5270
mov qword [rbx + 8], rax
lea rdx, str.ap29_re_
mov rcx, rax
call fcn.1400cbbf0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400e15c0
lea r8, str.mn
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov r8d, SafeArrayLock
lea rdx, str.ASUSSystemAnalysis
lea rcx, [rbp - 0x60]
call fcn.1400cf720
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1401b68c0
nop
mov r8, rax
lea rdx, str._APRP2020___ActivateDevice__AP_Name_
lea rcx, [rbp - 0x80]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400dc50f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc50a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd07
call fcn.1401bfb10
mov ecx, SafeArrayPutElement
call fcn.1401bfad4
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400dc54c
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.ASUSSystemAnalysis
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400dccd3
jmp 0x1400dc54f
mov rbx, r12
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x1400dccbd
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400dc572
mov rcx, qword [rbx]
call fcn.1401f5270
mov qword [rbx + 8], rax
lea rdx, str.ap29_re_
mov rcx, rax
call fcn.1400cbbf0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400e15c0
lea r8, str.apn
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 0x40]
call fcn.1401a7d00
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1401b68c0
nop
mov r8, rax
lea rdx, str._APRP2020___ActivateDevice__AP_Version_
lea rcx, [rbp - 0x80]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400dc63b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc636
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd0d
call fcn.1401bfb10
lea rcx, [rbp - 0x40]
call fcn.1401a7d00
mov r15, rax
cmp qword [rax + 0x18], 8
jb 0x1400dc651
mov r15, qword [rax]
mov ecx, SafeArrayPutElement
call fcn.1401bfad4
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400dc68f
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x1400dc692
test r15, r15
jne 0x1400dccde
jmp 0x1400dc692
mov rbx, r12
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x1400dcd13
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400dc6b5
mov rcx, qword [rbx]
call fcn.1401f5270
mov qword [rbx + 8], rax
lea rdx, str.ap29_re_
mov rcx, rax
call fcn.1400cbbf0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400e15c0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x1400dc6ec
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400d0d60
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r12w
lea r8, str.apv
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov byte [rbp - 0x80], 0
mov r8, rdi
inc r8
cmp byte [r14 + r8], 0
jne 0x1400dc754
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.1400cf610
nop
lea r8, [rbp - 0x80]
lea rdx, str._APRP2020___ActivateDevice__Activate_Time_
lea rcx, [rbp - 0x60]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400dc7c3
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dc7be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd1e
call fcn.1401bfb10
lea rdx, str.ap29_re_
mov rcx, r14
call fcn.1400cbbf0
mov rbx, rax
lea r8, str.lt
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov r8d, 9
lea rdx, str.FirstBoot
lea rcx, [rbp - 0x60]
call fcn.1400cf720
nop
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 7
mov r8d, 0x43
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysisAPRP
lea rcx, [rbp - 0x40]
call fcn.1400cf720
nop
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x40]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x40]
call fcn.14019e680
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400c19b0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1401b68c0
nop
mov r8, rax
lea rdx, str._APRP2020___ActivateDevice__Local_Active_Time_
lea rcx, [rsp + 0x58]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov r8, qword [rbp - 0x68]
cmp r8, 0x10
jb 0x1400dc8d6
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400d0d20
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400db850
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x1400dc911
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x1400dc914
mov rcx, qword [rbx]
call fcn.1401f5270
mov qword [rbx + 8], rax
mov rcx, rax
jmp 0x1400dc914
mov rcx, r12
lea rdx, str.ap29_re_
call fcn.1400cbbf0
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1400e15c0
lea r8, str.lti
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov r8, rbx
mov edx, 0x200
lea rcx, [rbp + 0x90]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rsp + 0x28], 0x400
lea rax, [rbp + 0x5f0]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rbp + 0x90]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov byte [rbp - 0x80], 0
lea rax, [rbp + 0x90]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400dc9b3
mov r8, rdi
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x80]
call fcn.1400cf610
nop
lea r8, [rbp - 0x80]
lea rdx, str._APRP2020___ActivateDevice__HTTP_URL:
lea rcx, [rsp + 0x58]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400dca29
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dca24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd24
call fcn.1401bfb10
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r9, [rbp + 0x5f0]
lea r8, [0x1400e1630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [0x140354390]
test rdx, rdx
jne 0x1400dca76
mov ebx, 0x1043e001
jmp 0x1400dcab9
mov rcx, r12
lea r8, [0x14026c398]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x1400dca9a
cmp rcx, 8
jne 0x1400dca80
mov eax, r12d
jmp 0x1400dca9f
sbb eax, eax
or eax, 1
neg eax
sbb ebx, ebx
and ebx, 0x1043ffff
mov rcx, rdx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [0x140354390], r12
mov edx, ebx
lea rcx, [rbp - 0xb]
call fcn.1400db5a0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], SafeArrayLock
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0xb]
cmp rax, rcx
je 0x1400dcaf5
lea r8, [rbp - 0xb]
sub r8, rax
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400cf610
nop
lea r8, [rbp - 0x80]
lea rdx, str._APRP2020___ActivateDevice__Response_
lea rcx, [rsp + 0x58]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400dcb4f
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dcb49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd2a
call fcn.1401bfb10
nop
lea rcx, [rbp + 0x40]
call fcn.1400c2be0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400dcb94
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dcb8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd30
call fcn.1401bfb10
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], SafeArrayLock
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1400dcbdf
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dcbda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400dcd36
call fcn.1401bfb10
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], SafeArrayLock
mov byte [rbp + 0x20], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400dcc29
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400dcc24
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400dcce9
mov rcx, rax
call fcn.1401bfb10
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], SafeArrayLock
mov byte [rsi], 0
mov eax, ebx
jmp 0x1400dcc8b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400dcc76
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400dcc71
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400dcce9
mov rcx, r8
call fcn.1401bfb10
xor ebx, ebx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], SafeArrayLock
mov byte [rsi], bl
mov eax, 0x1043e002
mov rcx, qword [rbp + 0x9f0]
xor rcx, rsp
call fcn.1401c0070
mov rbx, qword [rsp + 0xb50]
movaps xmm6, xmmword [rsp + 0xb00]
add rsp, 0xb10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1401f5120
nop
mov ecx, 0x8007000e
call fcn.1401f5120
nop
mov ecx, 0x8007000e
call fcn.1401f5120
nop
mov ecx, 0x8007000e
call fcn.1401f5120
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
mov ecx, 0x8007000e
call fcn.1401f5120
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3