Function at 0x401810
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x429e28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435ca4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x42f667
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call fcn.00402e40
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain_
push 0x80000001
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40189b
or edi, 0xffffffff
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x401a89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x401a89
push 0x50
call fcn.00404273
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
mov eax, dword [esp + 0x1c]
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push str.Start_Page
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40186e
lea ecx, [esp + 0x24]
push ecx
call fcn.004023e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00403170
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401916
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00404268
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
push ecx
call ebp
mov edx, dword [esp + 0x14]
push str.baidu.com
push edx
call fcn.00415310
add esp, 8
test eax, eax
je 0x40197c
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x401963
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x14]
push str.hao123.com
push ecx
call fcn.00415310
add esp, 8
test eax, eax
je 0x4019a7
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x401955
mov ecx, dword [esp + 0x14]
push str.3567.com
push ecx
call fcn.00415310
add esp, 8
test eax, eax
je 0x4019c8
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x401963
mov edx, dword [esp + 0x14]
push str.2487.com
push edx
call fcn.00415310
add esp, 8
test eax, eax
jne 0x4019bd
push 0xff
call fcn.00404273
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand_
push 0x80000000
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a80
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401a80
lea ecx, [esp + 0x24]
push ecx
call fcn.004023e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00403170
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call fcn.00403220
push esi
call fcn.00404268
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call ebp
mov eax, dword [esp + 0x14]
push str.3567.com
push eax
call fcn.00415310
add esp, 8
test eax, eax
jne 0x4019bd
lea ecx, [esp + 0x14]
call fcn.00403220
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret