Function at 0x402680
Capabilities:
Set registry value

Disassembly:
sub esp, 0x154
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x18], ebx
call fcn.00403090
mov eax, dword [ebx + 0x3a0]
push 0
push 0
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwarejucyJucyIPChanger
push 0x80000001
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x24]
push 0x4071c8
push eax
call esi
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push str.ConfigNum
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebx + 0x3a0]
xor edi, edi
push edi
push edi
push 0x1004
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x40291a
jmp 0x402749
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push edi
lea ecx, [ebx + 0x380]
call sub.MFC42.DLL_CListCtrl::GetItemData
push edi
push str.Config
lea edx, [esp + 0x68]
push str.SOFTWAREJucyJucyIPChanger_s_02d
push edx
mov ebx, eax
call esi
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x60]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push eax
push ecx
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x20]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push str.IPName
push eax
call ebp
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x20]
push ecx
push edx
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.IP1
push ecx
call ebp
mov edx, dword [ebx + 8]
lea eax, [esp + 0x20]
push edx
push eax
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push str.IP2
mov edx, dword [esp + 0x24]
push edx
call ebp
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x20]
push eax
push ecx
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x20]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push str.IP3
push eax
call ebp
mov ecx, dword [ebx + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.IP4
push ecx
call ebp
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
push str.IP5
push edx
call ebp
mov eax, dword [ebx + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
call esi
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x20]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x20]
push str.DHCP
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push 0
push 0
mov eax, dword [edx + 0x3a0]
inc edi
push 0x1004
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x402741
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x154
ret