Function at 0x407910
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435d22
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREASUSASUS_Device_Activation
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x31], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407fdd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push str.config
push dword [ebp - 0x2c]
call esi
cmp eax, 0xea
je 0x4079df
test eax, eax
je 0x4079df
push str._DevAct__GetConfig___fail_to_query_size_of_config_data
jmp 0x407fca
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x407fc5
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0
push 0
push str.config
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x407f98
cmp dword [ebx + 0x30], 0x10
lea edx, [ebx + 0x1c]
mov esi, dword [ebp - 0x38]
mov ecx, esi
cmovae edx, dword [ebx + 0x1c]
call fcn.004020e0
mov edx, eax
mov dword [ebp - 0x38], edx
test edx, edx
je 0x407f8c
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0xa4], esp
mov dword [eax + 0x24], 0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, esp
push edx
call fcn.00412150
xor dl, dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040a140
add esp, 0x30
mov byte [ebp - 4], 2
cmp byte [ebp - 0x28], 8
je 0x407f39
push str.uuid
lea ecx, [ebp - 0x28]
call fcn.00412200
cmp byte [eax], 3
jne 0x407f22
push str.status
lea ecx, [ebp - 0x28]
call fcn.00412200
mov al, byte [eax]
cmp al, 5
je 0x407aae
cmp al, 6
je 0x407aae
cmp al, 7
jne 0x407f22
push str.activatedtime
lea ecx, [ebp - 0x28]
call fcn.00412200
cmp byte [eax], 3
jne 0x407f22
push str.soindex
lea ecx, [ebp - 0x28]
call fcn.00412200
mov al, byte [eax]
cmp al, 5
je 0x407ae3
cmp al, 6
je 0x407ae3
cmp al, 7
jne 0x407f22
push str.gdprflag
lea ecx, [ebp - 0x28]
call fcn.00412200
cmp byte [eax], 4
jne 0x407f22
push str.actflag
lea ecx, [ebp - 0x28]
call fcn.00412200
cmp byte [eax], 4
jne 0x407f22
push str.ipgdprflag
lea ecx, [ebp - 0x28]
call fcn.00412200
cmp byte [eax], 4
jne 0x407f22
push str.webapiversion
lea ecx, [ebp - 0x28]
call fcn.00412200
mov al, byte [eax]
cmp al, 5
je 0x407b44
cmp al, 6
je 0x407b44
cmp al, 7
jne 0x407f22
push str.webapiversion
lea ecx, [ebp - 0x28]
call fcn.00412200
mov edx, eax
mov cl, byte [edx]
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 3
ja case.default.0x407b64
jmp dword [eax*4 + 0x40809c]
lea eax, [edx + 8]
xor edx, edx
cmp cl, 6
cmovne eax, edx
mov eax, dword [eax]
jmp 0x407bc3
cmp cl, 5
je 0x407b94
cmp cl, 6
je 0x407b94
lea eax, [edx + 8]
xor cl, cl
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x407bc3
lea eax, [edx + 8]
mov cl, 1
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x407bc3
lea eax, [edx + 8]
xor edx, edx
cmp cl, 7
cmovne eax, edx
cvttsd2si eax, qword [eax]
jmp 0x407bc3
lea eax, [edx + 8]
xor edx, edx
cmp cl, 4
cmovne eax, edx
movzx eax, byte [eax]
cmp eax, 3
jl 0x407ed7
lea eax, [ebp - 0x88]
push eax
push ecx
push str.uuid
lea ecx, [ebp - 0x28]
call fcn.00412200
add esp, 4
mov ecx, eax
call fcn.004123c0
push eax
mov ecx, edi
call fcn.0040ab90
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x407c2a
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407c20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40803f
push edx
push ecx
call fcn.00415293
add esp, 8
push str.status
lea ecx, [ebp - 0x28]
call fcn.00412200
mov edx, eax
mov cl, byte [edx]
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 3
ja case.default.0x407c4a
jmp dword [eax*4 + 0x4080ac]
lea eax, [edx + 8]
xor edx, edx
cmp cl, 6
cmovne eax, edx
mov eax, dword [eax]
jmp 0x407ca9
cmp cl, 5
je 0x407c7a
cmp cl, 6
je 0x407c7a
lea eax, [edx + 8]
xor cl, cl
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x407ca9
lea eax, [edx + 8]
mov cl, 1
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x407ca9
lea eax, [edx + 8]
xor edx, edx
cmp cl, 7
cmovne eax, edx
cvttsd2si eax, qword [eax]
jmp 0x407ca9
lea eax, [edx + 8]
xor edx, edx
cmp cl, 4
cmovne eax, edx
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
lea eax, [ebp - 0xa0]
push eax
push ecx
push str.activatedtime
lea ecx, [ebp - 0x28]
call fcn.00412200
add esp, 4
mov ecx, eax
call fcn.004123c0
cmp dword [eax + 0x14], 0x10
jb 0x407cd5
mov eax, dword [eax]
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.00404af0
mov edx, dword [ebp - 0x8c]
add esp, 4
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x40]
movups xmmword [eax], xmm0
cmp edx, 0x10
jb 0x407d26
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407d1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408044
push edx
push ecx
call fcn.00415293
add esp, 8
push str.soindex
lea ecx, [ebp - 0x28]
call fcn.00412200
mov edx, eax
mov cl, byte [edx]
movzx eax, cl
add eax, 0xfffffffc
cmp eax, 3
ja case.default.0x407d46
jmp dword [eax*4 + 0x4080bc]
lea eax, [edx + 8]
xor edx, edx
cmp cl, 6
cmovne eax, edx
mov eax, dword [eax]
jmp 0x407da5
cmp cl, 5
je 0x407d76
cmp cl, 6
je 0x407d76
lea eax, [edx + 8]
xor cl, cl
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x407da5
lea eax, [edx + 8]
mov cl, 1
xor edx, edx
test cl, cl
cmove eax, edx
mov eax, dword [eax]
jmp 0x407da5
lea eax, [edx + 8]
xor edx, edx
cmp cl, 7
cmovne eax, edx
cvttsd2si eax, qword [eax]
jmp 0x407da5
lea eax, [edx + 8]
xor edx, edx
cmp cl, 4
cmovne eax, edx
movzx eax, byte [eax]
mov ecx, dword [ebp - 0x44]
push str.gdprflag
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.00412200
mov ecx, eax
cmp byte [ecx], 4
jne 0x408049
mov al, byte [ecx + 8]
mov ecx, dword [ebp - 0x48]
push str.actflag
mov byte [ecx], al
lea ecx, [ebp - 0x28]
call fcn.00412200
mov ecx, eax
cmp byte [ecx], 4
je 0x407e10
call fcn.0040c2b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac10
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.00411e80
add esp, 4
mov byte [ebp - 4], 0xc
jmp 0x408076
mov al, byte [ecx + 8]
mov ecx, dword [ebp - 0x4c]
push str.ipgdprflag
mov byte [ecx], al
lea ecx, [ebp - 0x28]
call fcn.00412200
mov ecx, eax
cmp byte [ecx], 4
je 0x407e5e
call fcn.0040c2b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac10
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
call fcn.00411e80
add esp, 4
mov byte [ebp - 4], 0xe
jmp 0x408076
mov al, byte [ecx + 8]
mov ecx, dword [ebp - 0x50]
mov byte [ebp - 0x31], 1
mov byte [ecx], al
jmp 0x407f56
mov ecx, edx
call fcn.0040c2b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac10
push eax
mov edx, str.type_must_be_number__but_is
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.00411e80
add esp, 4
mov byte [ebp - 4], 8
jmp 0x408076
mov ecx, edx
call fcn.0040c2b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac10
push eax
mov edx, str.type_must_be_number__but_is
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00411e80
add esp, 4
mov byte [ebp - 4], 6
jmp 0x408076
push str.config
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueA]
push str._DevAct__GetConfig___obsolete_web_api_version__delete_it
jmp 0x407f4e
mov ecx, edx
call fcn.0040c2b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac10
push eax
mov edx, str.type_must_be_number__but_is
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00411e80
add esp, 4
mov byte [ebp - 4], 4
jmp 0x408076
push str.config
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueA]
push str._DevAct__GetConfig___invalid_parameters__delete_it
jmp 0x407f4e
push str.config
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueA]
push str._DevAct__GetConfig___fail_to_parse_config_data__delete_it
call fcn.00404620
add esp, 4
push dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
call fcn.0040b5e0
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407fea
push str._DevAct__GetConfig___fail_to_decrypt_config_data
call fcn.00404620
jmp 0x407fa5
push str._DevAct__GetConfig___fail_to_get_config_data
call fcn.00404620
mov esi, dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 4
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407fea
push str._DevAct__GetConfig___fail_to_allocate_memory_to_store_config_data
call fcn.00404620
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407fea
push str._DevAct__GetConfig___fail_to_open_software_key
call fcn.00404620
add esp, 4
mov edx, dword [ebx + 0x30]
cmp edx, 0x10
jb 0x40801e
mov ecx, dword [ebx + 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408014
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408095
push edx
push ecx
call fcn.00415293
add esp, 8
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041d76b
call fcn.0041d76b
call fcn.0040c2b0
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040ac10
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.00411e80
add esp, 4
mov byte [ebp - 4], 0xa
push eax
mov edx, 0x12e
lea ecx, [ebp - 0x6c]
call fcn.00403980
add esp, 4
lea eax, [ebp - 0x6c]
push 0x4491f0
push eax
call fcn.00417e47
call fcn.0041d76b
nop
mov ch, 0x7b
inc eax
add byte [edx + 0x7b], bh
inc eax
add byte [ebx + 0x7b], ch
inc eax
add byte [ebx + edi*2 + 0x7c9b0040], ah
inc eax
add byte [eax + 0x7c], ah
inc eax
add byte [ecx + 0x7c], dl
inc eax
add byte [edx - 0x68ffbf84], cl
jge 0x4080ff
add byte [ebp + edi*2 + 0x40], bl
add byte [ebp + 0x7d], cl
inc eax
add byte [esi - 0x33ffbf83], al
int3
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
movups xmm0, xmmword [ebx + 0x44]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 4], 0
mov byte [ebp - 0x49], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
push 0
mov byte [ebp - 0x68], 0
call fcn.0040c6b0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x48], 3
movq qword [ebp - 0x20], xmm0
call fcn.004152a1
mov edi, eax
add esp, 4
lea eax, [ebp - 0x21]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x2c]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.0040ac50
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
push str.uuid
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00412200
mov cl, byte [eax]
mov byte [eax], 3
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov byte [ebp - 0x48], 0
movq qword [ebp - 0x40], xmm0
call fcn.00414a00
push str.status
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00412200
mov byte [ebp - 4], 3
mov esi, eax
movzx ecx, byte [ebp - 0x48]
mov al, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x40]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
movups xmm0, xmmword [ebp - 0x78]
pextrw eax, xmm0, 6
movzx eax, ax
push eax
pextrw eax, xmm0, 5
movzx eax, ax
push eax
pextrw eax, xmm0, 4
movzx eax, ax
push eax
pextrw eax, xmm0, 3
movzx eax, ax
push eax
pextrw eax, xmm0, 1
movzx eax, ax
push eax
movd eax, xmm0
movzx eax, ax
push eax
lea eax, [ebp - 0x80]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00404a30
mov byte [ebp - 4], 7
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x48], 3
call fcn.004152a1
mov edi, eax
add esp, 0x24
mov dword [ebp - 0x40], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [edi + 0x10], xmm0
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x3c], esi
push str.activatedtime
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.00412200
mov cl, byte [eax]
mov byte [eax], 3
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x408321
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408749
push edx
push ecx
call fcn.00415293
add esp, 8
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov byte [ebp - 0x48], 0
movq qword [ebp - 0x40], xmm0
call fcn.00414a00
push str.soindex
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.00412200
movzx ecx, byte [ebp - 0x48]
mov esi, eax
mov al, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x40]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
mov al, byte [ebx + 8]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1c]
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x20], al
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x48], 4
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
push str.gdprflag
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00412200
mov cl, byte [eax]
mov byte [eax], 4
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
mov al, byte [ebx + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1c]
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x20], al
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x48], 4
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
push str.actflag
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xb
call fcn.00412200
mov cl, byte [eax]
mov byte [eax], 4
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
mov al, byte [ebx + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x1c]
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x20], al
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x48], 4
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
push str.ipgdprflag
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00412200
mov cl, byte [eax]
mov byte [eax], 4
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
xorps xmm0, xmm0
mov byte [ebp - 0x48], 0
mov edx, 3
movq qword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x48]
call fcn.00414a00
push str.webapiversion
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.00412200
mov byte [ebp - 4], 3
mov esi, eax
movzx ecx, byte [ebp - 0x48]
mov al, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x40]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x3c], edx
call fcn.0040b5e0
sub esp, 0xc
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x68]
push eax
call fcn.0040a570
cmp dword [ebx + 0x28], 0x10
lea edx, [ebx + 0x14]
cmovae edx, dword [ebx + 0x14]
cmp dword [eax + 0x14], 0x10
jb 0x408504
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push ecx
mov ecx, eax
call fcn.00401ca0
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x50]
lea esi, [eax*2 + 1]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x58], edi
call fcn.00417ec0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x50], eax
jle 0x4085a5
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [eax + ecx]
push eax
lea eax, [ebp - 0x28]
push str._02X
push eax
call fcn.00415000
lea eax, [ebp - 0x28]
add esp, 0xc
mov esi, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408570
sub eax, esi
dec edi
nop word [eax + eax]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408580
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x54]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x50]
jl 0x408551
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x6c]
test edi, edi
sete al
mov byte [ebp - 0x21], al
cmp edx, 0x10
jb 0x4085f8
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4085eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40874e
push edx
push ecx
call fcn.00415293
mov al, byte [ebp - 0x21]
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
test al, al
je 0x408624
push str._DevAct__SetConfig___fail_to_encrypt_config_data
call fcn.00404620
add esp, 4
mov byte [ebp - 0x49], 0
jmp 0x4086a7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREASUSASUS_Device_Activation
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40868e
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408660
sub ecx, edx
push ecx
push edi
push 1
push 0
push str.config
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x34]
test eax, eax
sete byte [ebp - 0x49]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40869b
push str._DevAct__SetConfig___fail_to_create_software_key
call fcn.00404620
add esp, 4
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
call fcn.0040b5e0
mov edx, dword [ebx + 0x28]
cmp edx, 0x10
jb 0x4086e6
mov ecx, dword [ebx + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4086dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408753
push edx
push ecx
call fcn.00415293
add esp, 8
mov edx, dword [ebx + 0x40]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0xf
mov byte [ebx + 0x14], 0
cmp edx, 0x10
jb 0x408728
mov ecx, dword [ebx + 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40871e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408753
push edx
push ecx
call fcn.00415293
add esp, 8
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041d76b
call fcn.0041d76b
call fcn.0041d76b
int3