Function at 0x402bf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREJucyJucyIPChanger
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [esp + 0x1c], 2
jne 0x402ef5
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x130]
mov ebp, 0x104
push str.ConfigNum
push edx
mov dword [esp + 0x18], ebp
call esi
add esp, 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x13c]
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x20], eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
test eax, eax
mov dword [esp + 0x18], 0
jle 0x402ef5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push str.SOFTWAREJucyJucyIPChangerConfig_02d
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402efc
lea edx, [esp + 0x130]
push str.IPName
push edx
call esi
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x130]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebp
push ecx
lea ecx, [edi + 0x500]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x130]
push str.IP1
push edx
call esi
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x130]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebp
push ecx
lea ecx, [edi + 0x2a8]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x130]
push str.IP2
push edx
call esi
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x130]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebp
push ecx
lea ecx, [edi + 0x2ac]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x130]
push str.IP3
push edx
call esi
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x130]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push 0
push edx
push eax
call ebx
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x2b0]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x130]
push str.IP4
push edx
call esi
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x130]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebp
push ecx
lea ecx, [edi + 0x2b4]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x130]
push str.IP5
push edx
call esi
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x130]
push eax
mov eax, dword [esp + 0x18]
push ecx
push 0
push 0
push edx
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ebp
push ecx
lea ecx, [edi + 0x2b8]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x2c]
push 0x40725c
push edx
call esi
add esp, 8
lea eax, [esp + 0x130]
push str.DHCP
push eax
call esi
add esp, 8
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 0
push 0
push eax
push ecx
call ebx
lea edx, [esp + 0x2c]
lea ecx, [edi + 0x2bc]
push edx
mov dword [esp + 0x14], ebp
call sub.MFC42.DLL_CString::operator
mov ecx, edi
call fcn.00402f10
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x402ca7
mov ecx, edi
call fcn.00402680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret