Function at 0x418750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4de49b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
lea edi, [esi + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
je 0x4187d4
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4187d4
mov edx, dword [esp + 0x2c]
push edi
push edx
call fcn.00420700
jmp 0x418ac9
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test al, al
je 0x418acb
mov dword [esp + 0x10], ebx
mov dword [esp + 0x98], ebx
mov eax, 7
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
lea eax, [esp + 0x10]
push eax
push 1
push ebx
mov byte [esp + 0xa4], 2
push str.SoftwareTencentQQBrowserCommon
or esi, 0xffffffff
push Ordinal_4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x418851
mov dword [esp + 0x10], ebx
jmp 0x4189c5
lea ecx, [esp + 0x50]
push ecx
push str.MainPageDIY
lea edi, [esp + 0x18]
call fcn.004400da
test al, al
jne 0x418886
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41887d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jmp 0x4189b2
mov eax, 4
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.MainPageDIY_
push edx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x4188dd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41887d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jmp 0x4189b2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4188f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebx
call fcn.00418f70
push esi
push ebx
push eax
lea eax, [esp + 0x78]
mov byte [esp + 0xa4], 3
call fcn.00401690
mov byte [esp + 0x98], 2
cmp dword [esp + 0x4c], 8
jb 0x418932
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004b6eae
add esp, 4
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x6c]
push edx
call fcn.0040a7e0
mov edi, dword [esp + 0x30]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x74]
push eax
lea eax, [edi + 0xd0]
call fcn.00401690
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x58]
push ecx
lea eax, [edi + 0x290]
call fcn.00401690
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x38]
call fcn.0042f728
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea eax, [edi + 0x2ac]
mov byte [esp + 0xa4], 4
call fcn.00401690
mov byte [esp + 0x98], 2
cmp dword [esp + 0x4c], 8
jb 0x4189ae
mov eax, dword [esp + 0x38]
push eax
call fcn.004b6eae
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4189c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
push str.SoftwareTencentQQBrowserLaunch
push Ordinal_4
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x4189ef
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jmp 0x418a5f
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.MainPageType
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x418a3d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x418a5b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
jmp 0x418a5b
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x418a50
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x2c]
push edi
push edx
call fcn.00420700
cmp dword [esp + 0x68], 8
jb 0x418a7e
mov eax, dword [esp + 0x54]
push eax
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x84], 8
mov esi, 7
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x418aa7
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004b6eae
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
je 0x418ac9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret 4