Function at 0x4421e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b81a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
push eax
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CStringList::FindIndex
test eax, eax
je 0x44249f
add eax, 8
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42u.DLL_CString::operator_2
mov edi, 0xa000
push edi
call sub.MFC42u.DLL_operatornew
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x3c]
push ecx
push ebx
push edx
push 0
push 0x4d9db8
push reloc.WS2_32.dll_connect
call esi
test eax, eax
je 0x44229f
cmp eax, 0xea
jne 0x442312
mov ecx, dword [ebp - 0x28]
push ebx
add ecx, edi
mov dword [ebp - 0x28], ecx
call sub.MFC42u.DLL_operatordelete
mov eax, dword [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operatornew
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, eax
jmp 0x442258
push ebx
call fcn.00442150
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x1c]
cmp ecx, eax
jge 0x442496
cmp dword [esi + 0xc], 0x1fe
jne 0x44247b
push esi
mov dword [ebp - 0x30], 0xffffffff
call fcn.00442160
add esp, 4
xor edi, edi
cmp edi, dword [esi + 0x20]
jge 0x442303
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 0x68]
jne 0x4422f7
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x30], edx
push eax
call fcn.00442170
add esp, 4
inc edi
jmp 0x4422e1
cmp dword [ebp - 0x30], 0xffffffff
jne 0x442337
push ebx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
fld qword [0x4bc370]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00442180
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x28]
cmp eax, ecx
jge 0x44247b
mov esi, dword [edi + 0x10]
push edi
add esi, edi
call fcn.00442170
lea ecx, [ebp - 0x13c]
push 0xff
push ecx
push esi
mov ebx, eax
call fcn.004421b0
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov esi, eax
call sub.MFC42u.DLL_CString::CString_1
push esi
lea edx, [ebp - 0x2c]
push 0x4d01e4
push edx
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::Format
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, eax
cmp eax, dword [esi + 0x54]
jge 0x4423c5
test eax, eax
jl 0x4423c5
mov eax, dword [esi + 0x4c]
mov edx, ecx
dec ecx
test edx, edx
je 0x4423b8
mov eax, dword [eax]
jmp 0x4423ad
test eax, eax
je 0x4423c5
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ebx + ecx]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x442452
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov eax, dword [ebx + ecx]
mov ecx, dword [esi + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
fild qword [ebp - 0x24]
cmp ecx, eax
je 0x44240d
fstp qword [esi + 8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esi + 0x64], eax
jmp 0x442418
fld st(0)
fsub qword [esi + 8]
fstp qword [ebp - 0x24]
fstp qword [esi + 8]
mov edx, dword [ebp - 0x18]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
fld qword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00442190
add esp, 4
lea ecx, [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x442349
push esi
call fcn.00442170
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
add esp, 4
inc eax
mov dword [ebp - 0x34], eax
jmp 0x4422b4
push ebx
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
fld qword [0x4bc458]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4