Function at 0x428120
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4514a7
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.00443410
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x1018], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x1034]
mov dword fs:[0], eax
mov esi, 0x46b108
push esi
mov dword [esp + 0x2c], esi
call fcn.0041bf50
xor ebx, ebx
mov dword [esp + 0x103c], ebx
xor eax, eax
mov byte [0x46b1d0], bl
mov dword [0x46b1ec], 7
mov dword [0x46b1e8], ebx
mov word [0x46b1d8], ax
mov cl, byte [esp + 0x1044]
mov byte [0x46b1f0], cl
cmp dword [0x46b174], ebx
jne 0x4281d4
call fcn.0041c0b0
mov dword [0x46b174], eax
cmp eax, ebx
je 0x4281c4
mov dword [0x46b170], 1
jmp 0x4281d4
call fcn.0041c230
mov dword [0x46b174], eax
mov dword [0x46b170], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea edx, [esp + 0x14]
push edx
push 1
push ebx
mov byte [esp + 0x1048], 2
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x45ba40
push 0x80000001
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
call ebp
cmp eax, ebx
jne 0x42836f
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.ProxyEnable
push esi
mov edi, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x42835d
cmp dword [esp + 0x18], 4
jne 0x42835d
cmp dword [esp + 0x24], ebx
je 0x42835d
cmp esi, ebx
je 0x428266
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
lea eax, [esp + 0x14]
push eax
push 1
push ebx
push 0x45ba40
push 0x80000001
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
call ebp
cmp eax, ebx
jne 0x42835d
xor eax, eax
cmp edi, ebx
je 0x428297
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
mov edi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x42835d
push 0xffe
lea edx, [esp + 0x32]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x38], cx
call fcn.004375f0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.ProxyServer
push esi
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x42835d
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x4282fd
cmp eax, 2
jne 0x42835d
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x428316
test al, 1
jne 0x42835d
mov ecx, eax
shr ecx, 1
cmp word [esp + ecx*2 + 0x2a], bx
je 0x42831d
jmp 0x42835d
xor edx, edx
mov word [esp + 0x2c], dx
shr eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x2c], cx
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428330
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x30]
mov esi, 0x46b1d4
call fcn.004070b0
cmp dword [0x46b1e8], ebx
je 0x42835d
mov byte [0x46b1d0], 1
cmp edi, ebx
je 0x428368
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x46b108
jmp 0x428371
mov eax, esi
mov ecx, dword [esp + 0x1034]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1018]
xor ecx, esp
call fcn.00430900
add esp, 0x102c
ret 4