Function at 0x401810
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x429e18
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 0x42f677
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call fcn.00402ea0
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 0x401a9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x401a9f
push 0x50
call fcn.00404248
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.00402450
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.004031d0
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.00404253
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.00415300
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.00415300
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.hao111.com
push ecx
call fcn.00415300
add esp, 8
test eax, eax
je 0x4019c8
lea ecx, [esp + 0x14]
call fcn.00403280
jmp 0x401963
mov edx, dword [esp + 0x14]
push str.7556.com
push edx
call fcn.00415300
add esp, 8
test eax, eax
jne 0x4019bd
mov eax, dword [esp + 0x14]
push str.99danji.com
push eax
call fcn.00415300
add esp, 8
test eax, eax
jne 0x4019bd
push 0xff
call fcn.00404248
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand_
push 0x80000000
mov esi, eax
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a96
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401a96
lea edx, [esp + 0x24]
push edx
call fcn.00402450
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.004031d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call fcn.00403280
push esi
call fcn.00404253
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call ebp
mov ecx, dword [esp + 0x14]
push str.7556.com
push ecx
call fcn.00415300
add esp, 8
test eax, eax
jne 0x4019bd
lea ecx, [esp + 0x14]
call fcn.00403280
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