Function at 0x960600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x338
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x334], eax
push ebx
push ebp
mov ebp, dword [esp + 0x344]
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x135]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x28], edi
mov byte [esp + 0x13c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x23d]
push ebx
push ecx
mov byte [esp + 0x244], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x2d]
push ebx
push edx
mov byte [esp + 0x34], bl
call fcn.00a7ffb0
add esp, 0xc
mov dword [esp + 0x10], ebx
call fcn.00968110
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x20019
cmp ebp, ebx
je 0x96069a
mov byte [ebp], bl
cmp edi, ebx
je 0x9606a0
mov byte [edi], bl
xor ecx, ecx
call fcn.009790d0
test eax, eax
jne 0x96080e
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x30]
push edx
push 0x80000001
call fcn.0097eda0
test eax, eax
jne 0x96080e
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push str.ProxyEnable
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 4
call esi
cmp dword [esp + 0x18], ebx
je 0x96080e
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push str.ProxyServer
push edx
mov byte [esp + 0x40], bl
mov dword [esp + 0x2c], 0x104
call esi
test eax, eax
jne 0x96080e
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x28]
push eax
call edi
cmp eax, 4
jl 0x96080e
lea ecx, [esp + 0x28]
push 0x3d
push ecx
call fcn.00a7a2c0
add esp, 8
test eax, eax
je 0x9607a8
push ebx
lea edx, [esp + 0x2c]
push str.http
push edx
call fcn.0095c8c0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x96080e
lea eax, [esp + esi + 0x28]
push 0x3b
push eax
call fcn.00a7a2c0
add esp, 8
cmp eax, ebx
je 0x960798
mov byte [eax], bl
lea ecx, [esp + esi + 0x2d]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x28]
push 0x3b
push eax
call fcn.00a7a2c0
add esp, 8
cmp eax, ebx
je 0x9607bd
mov byte [eax], bl
lea ecx, [esp + 0x28]
push ecx
call edi
dec eax
cmp eax, ebx
jle 0x96080e
mov cl, 0x3a
jmp 0x9607d0
cmp byte [esp + eax + 0x28], cl
je 0x9607dd
dec eax
cmp eax, ebx
jg 0x9607d0
jmp 0x96080e
cmp eax, ebx
lea esi, [esp + eax + 0x28]
jle 0x96080e
cmp esi, ebx
je 0x96080e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x23c]
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x134]
push edx
mov byte [esi], bl
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x960821
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x130], bl
je 0x960867
cmp byte [esp + 0x238], bl
je 0x960867
cmp ebp, ebx
je 0x960846
lea eax, [esp + 0x130]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x96085d
lea ecx, [esp + 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
jmp 0x9608ee
xor ecx, ecx
call fcn.009790d0
test eax, eax
je 0x9608ec
mov eax, 0x104
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push str.ProxyServer
lea eax, [esp + 0x24]
lea edi, [esp + 0x134]
mov ecx, str.SoftwareMicroWorldeScan_for_WindowsMwMonitorRegMsg
mov edx, 0x80000002
call fcn.0094c020
cmp al, 1
jne 0x9608ec
push str.ProxyPort
lea eax, [esp + 0x28]
lea edi, [esp + 0x23c]
mov ecx, str.SoftwareMicroWorldeScan_for_WindowsMwMonitorRegMsg
mov edx, 0x80000002
call fcn.0094c020
cmp al, 1
jne 0x9608ec
cmp byte [esp + 0x130], bl
je 0x9608ec
cmp byte [esp + 0x238], bl
je 0x9608ec
cmp ebp, ebx
je 0x960846
lea edx, [esp + 0x130]
push edx
jmp 0x96083f
xor eax, eax
mov ecx, dword [esp + 0x344]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x338
ret 4