Function at 0x42da10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4be434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x60]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareKingsoftOffice6.0Common
mov dword [ebp - 0x70], ebx
push 0x80000001
mov dword [ebp - 0x60], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42dc1f
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x42dc1f
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x68], ebx
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], ebx
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], 0x104
push ecx
push ebx
push 0x4a1930
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x42dadf
call fcn.00477c60
test al, al
je 0x42dadf
xor eax, eax
mov dword [ebp - 0x30], ebx
push str.OpenDataExecutionPrevention
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00403d90
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x40]
mov ebx, 1
push eax
mov dword [ebp - 0x70], ebx
call fcn.00477ec0
add esp, 4
mov byte [ebp - 0x59], bl
test al, al
je 0x42dae3
mov byte [ebp - 0x59], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42db2b
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42db2b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42db21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42db21
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x42dc3c
xor eax, eax
mov dword [ebp - 0x48], 0
push str.bOpenDEP
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00403d90
xor eax, eax
mov dword [ebp - 4], 1
push 0x49ff88
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403d90
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
push 0x80000001
call fcn.0041c0a0
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp edx, 8
jb 0x42dbcf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dbc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dc0f
push edx
push ecx
call fcn.004876f4
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x42dc1f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dc15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42dc15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487702
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42dc5c
cmp dword [ebp - 0x64], esi
je 0x42dc5c
cmp dword [ebp - 0x68], 4
jne 0x42dc5c
cmp dword [ebp - 0x6c], esi
setne al
jmp 0x42dc21
mov al, 1
jmp 0x42dc21