Function at 0x402c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e260
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea esi, [edi + 0x20]
push esi
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x441df4]
lea ebx, [edi - 0x34]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x44], ecx
mov dword [ebx + 0x18], ecx
mov ecx, ebx
mov dword [ebx + 0x20], eax
call fcn.00403b40
test eax, eax
je 0x402cfc
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
sub eax, ecx
push ebx
push dword [ebp - 0x44]
push 0
push dword [ebx + 0x20]
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0x56000000
push 0
push 0x4378dc
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [ebx + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindow]
lea eax, [edi - 0x34]
test eax, eax
je 0x402d19
lea eax, [edi + 0x14]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x402d19
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x30]
call fcn.00401160
push 0x1a
xor eax, eax
mov dword [ebp - 0x14], 7
push str.SoftwareSogouGamepoptest
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00403140
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 1
push 0
push eax
push SysReAllocString
mov dword [ebp - 0x44], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x402dfd
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push ecx
push 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
push ecx
push 0
push str.TestUrlString
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
test al, al
je 0x402dfd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.TestUrlString
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov edx, SysReAllocString
call fcn.00407a3b
add esp, 8
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x402de7
push 0xffffffffffffffff
push 0
push eax
call fcn.004024f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x402dfd
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00402680
cmp dword [edi + 0x50], 8
lea esi, [edi + 0x3c]
jb 0x402e0a
mov eax, dword [esi]
jmp 0x402e0c
mov eax, esi
push eax
mov ecx, ebx
call fcn.004033f0
mov eax, dword [0x441dbc]
test eax, eax
jne 0x402e39
push ecx
mov edx, str.Log_Debug
xor ecx, ecx
call fcn.0040c188
add esp, 4
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [0x441dbc], eax
cmp eax, 2
jne 0x402e59
cmp dword [esi + 0x14], 8
jb 0x402e46
mov esi, dword [esi]
push esi
push 0x43776c
push str.Log_Debug
call fcn.0040b248
add esp, 0xc
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
nop
push 0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
call ebx
test eax, eax
je 0x402eb4
mov esi, dword [edi + 0x30]
xor eax, eax
cmp esi, dword [edi + 0x34]
je 0x402e9e
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x402e92
mov eax, dword [ecx]
lea edx, [ebp - 0x68]
push edx
call dword [eax]
test eax, eax
jne 0x402e60
add esi, 4
cmp esi, dword [edi + 0x34]
jne 0x402e80
test eax, eax
jne 0x402e60
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x402e60
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x402ecc
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402680
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004171a2
mov esp, ebp
pop ebp
ret