Function at 0x401820
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42a848
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x437c84]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x43067f
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call fcn.00403020
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 0x4018ab
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 0x401aaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x401aaf
push 0x50
call fcn.00404d88
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 0x40187e
lea ecx, [esp + 0x24]
push ecx
call fcn.00402520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00403350
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 0x401926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00404d93
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.00415d20
add esp, 8
test eax, eax
je 0x40198c
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 0x401973
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.00415d20
add esp, 8
test eax, eax
je 0x4019b7
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 0x401965
mov ecx, dword [esp + 0x14]
push str.hao111.com
push ecx
call fcn.00415d20
add esp, 8
test eax, eax
je 0x4019d8
lea ecx, [esp + 0x14]
call fcn.004034c0
jmp 0x401973
mov edx, dword [esp + 0x14]
push str.7556.com
push edx
call fcn.00415d20
add esp, 8
test eax, eax
jne 0x4019cd
mov eax, dword [esp + 0x14]
push str.99danji.com
push eax
call fcn.00415d20
add esp, 8
test eax, eax
jne 0x4019cd
push 0xff
call fcn.00404d88
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 0x401aa6
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 0x401aa6
lea edx, [esp + 0x24]
push edx
call fcn.00402520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00403350
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call fcn.004034c0
push esi
call fcn.00404d93
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.00415d20
add esp, 8
test eax, eax
jne 0x4019cd
lea ecx, [esp + 0x14]
call fcn.004034c0
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