Function at 0x40eb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x704
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x6fc], eax
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x710]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
mov dword [esp + 0x28], esi
lea eax, [esp + 0x2c]
push eax
push 1
push edi
push str.SOFTWAREMyDriversDriverGeniusUpdate
mov dword [esp + 0x728], edi
push reloc.WS2_32.dll_bind
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40ef64
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push ecx
push edi
push str.Update_Use_Proxy
mov esi, 4
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x40ef4f
cmp dword [esp + 0x1c], esi
jne 0x40ef4f
cmp dword [esp + 0x18], 1
jne 0x40ef4f
push str.Update_Proxy_Method
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.004188c0
test eax, eax
jne 0x40ef4f
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x40ef4f
mov eax, 0xf
mov dword [esp + 0x20], edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], edi
mov byte [esp + 0xb8], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], edi
mov byte [esp + 0xd4], 0
push 0x206
lea eax, [esp + 0x2fa]
mov byte [esp + 0x71c], 2
push edi
push eax
mov dword [esp + 0x28], edi
mov word [esp + 0x300], di
call fcn.00463d60
add esp, 0xc
push 0x206
lea ecx, [esp + 0x502]
push edi
push ecx
mov word [esp + 0x508], di
call fcn.00463d60
add esp, 0xc
cmp esi, 1
jne 0x40ecc9
call fcn.0041eae0
test eax, eax
je 0x40ecc5
lea edx, [esp + 0xb4]
push edx
push edi
lea ecx, [esp + 0xd8]
call fcn.0041ec20
add esp, 8
test eax, eax
je 0x40ec97
mov dword [esp + 0x20], esi
jmp 0x40ee81
lea eax, [esp + 0xb4]
push eax
push 1
lea ecx, [esp + 0xd8]
call fcn.0041ec20
add esp, 8
test eax, eax
je 0x40ee81
mov dword [esp + 0x20], 5
jmp 0x40ee81
mov esi, dword [esp + 0x18]
cmp esi, 2
jne 0x40ef37
push 0x206
lea ecx, [esp + 0xf2]
push edi
push ecx
mov dword [esp + 0x20], 0x104
mov word [esp + 0xf8], di
call fcn.00463d60
add esp, 0xc
lea esi, [esp + 0xc]
mov dword [esp + 0x24], edi
call fcn.00402380
push str.Update_Proxy_Mode
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x720], 3
call fcn.004188c0
test eax, eax
je 0x40ed30
mov eax, esi
call fcn.00401fd0
jmp 0x40ef37
push str.Update_Proxy_Host
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x1c]
lea esi, [esp + 0xf4]
call fcn.0040e9e0
test eax, eax
je 0x40ed76
lea eax, [esp + 0xc]
call fcn.00401fd0
lea ecx, [esp + 0xd0]
call fcn.00404450
lea ecx, [esp + 0xb4]
call fcn.00404450
xor edi, edi
jmp 0x40ef4f
lea ecx, [esp + 0xec]
push ecx
lea esi, [esp + 0x34]
call fcn.00416eb0
mov byte [esp + 0x718], 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xb8]
call fcn.00416cf0
mov byte [esp + 0x718], 3
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
cmp eax, edx
je 0x40edbb
push eax
call fcn.0045f409
add esp, 4
push str.Update_Proxy_Port
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
call fcn.004188c0
test eax, eax
jne 0x40ed4e
mov ecx, dword [esp + 0x24]
push ecx
push 0x4a0ba8
lea edi, [esp + 0x14]
call fcn.004039f0
mov edx, dword [esp + 0x14]
add esp, 8
push edx
lea ecx, [esp + 0xd4]
call fcn.00416cf0
push str.Update_Proxy_Authorization
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.004188c0
test eax, eax
jne 0x40ed4e
cmp dword [esp + 0x1c], eax
je 0x40ee6e
push str.Update_Proxy_User_Name
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2fc]
mov dword [esp + 0x1c], 0x104
call fcn.0040e9e0
test eax, eax
jne 0x40ed4e
push str.Update_Proxy_Password
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x504]
mov dword [esp + 0x1c], 0x104
call fcn.0040e9e0
test eax, eax
jne 0x40ed4e
lea eax, [esp + 0xc]
mov byte [esp + 0x718], 2
call fcn.00401fd0
xor edi, edi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xbc]
push eax
lea ecx, [ebx + 8]
call fcn.00404180
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [ebx + 0x24]
call fcn.00404180
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2f4]
push ecx
lea esi, [esp + 0x34]
mov dword [ebx + 4], edx
mov dword [ebx + 0x40], eax
call fcn.00416eb0
mov byte [esp + 0x718], 5
mov eax, dword [eax]
push eax
lea ecx, [ebx + 0x44]
call fcn.00416cf0
mov byte [esp + 0x718], 2
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
cmp eax, edx
je 0x40eef6
push eax
call fcn.0045f409
add esp, 4
lea eax, [esp + 0x4fc]
push eax
lea esi, [esp + 0x34]
call fcn.00416eb0
mov byte [esp + 0x718], 6
mov ecx, dword [eax]
push ecx
lea ecx, [ebx + 0x60]
call fcn.00416cf0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
cmp eax, edx
je 0x40ef2f
push eax
call fcn.0045f409
add esp, 4
mov dword [esp + 0x28], 1
lea ecx, [esp + 0xd0]
call fcn.00404450
lea ecx, [esp + 0xb4]
call fcn.00404450
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x40ef5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
jmp 0x40ef66
mov eax, esi
mov ecx, dword [esp + 0x710]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x6fc]
xor ecx, esp
call fcn.0045eec1
mov esp, ebp
pop ebp
ret