Function at 0x10064e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10183ed8
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x348], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x238], bl
push 0x103
push ebx
lea ecx, [ebp - 0x237]
push ecx
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x340], bl
push 0x103
push ebx
lea edx, [ebp - 0x33f]
push edx
call fcn.1012e060
add esp, 0xc
mov byte [ebp - 0x130], bl
push 0x103
push ebx
lea eax, [ebp - 0x12f]
push eax
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x344], ebx
mov byte [ebp - 0x24], bl
call fcn.1006b040
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x20019
cmp edi, ebx
je 0x10064ee6
mov byte [edi], bl
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x10064ef2
mov byte [eax], bl
xor ecx, ecx
call fcn.1007aaf0
test eax, eax
jne 0x10065092
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x344]
push edx
push esi
lea eax, [ebp - 0x130]
push eax
push reloc.WS2_32.dll_accept
call fcn.1007ebc0
test eax, eax
jne 0x10065092
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x350], 4
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x354]
push edx
push ebx
push ebx
push str.ProxyEnable
mov eax, dword [ebp - 0x344]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
cmp dword [ebp - 0x354], ebx
je 0x10065092
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x350], 0x104
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x130]
push edx
push ebx
push ebx
push str.ProxyServer
mov eax, dword [ebp - 0x344]
push eax
call esi
test eax, eax
jne 0x10065092
lea ecx, [ebp - 0x130]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
cmp eax, 4
jl 0x1006508c
push 0x3d
lea edx, [ebp - 0x130]
push edx
call fcn.10128490
add esp, 8
cmp eax, ebx
je 0x10065024
push ebx
push str.http
lea eax, [ebp - 0x130]
push eax
call fcn.10063340
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
je 0x1006508c
push 0x3b
lea ecx, [ebp + esi - 0x130]
push ecx
call fcn.10128490
add esp, 8
cmp eax, ebx
je 0x1006500f
mov byte [eax], bl
lea edx, [ebp + esi - 0x12b]
push edx
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x3b
lea ecx, [ebp - 0x130]
push ecx
call fcn.10128490
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x1006503d
mov byte [esi], bl
lea edx, [ebp - 0x130]
push edx
call edi
dec eax
mov dword [ebp - 0x358], eax
cmp eax, ebx
jle 0x1006508c
lea ecx, [ebp + eax - 0x130]
cmp byte [ecx], 0x3a
jne 0x10065046
mov esi, ecx
cmp eax, ebx
jle 0x1006508c
cmp esi, ebx
je 0x1006508c
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x340]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
mov byte [esi], bl
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x238]
push eax
call edi
mov edi, dword [ebp - 0x348]
mov eax, dword [ebp - 0x344]
cmp eax, ebx
je 0x100650a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x344], ebx
cmp byte [ebp - 0x238], bl
je 0x100650f4
cmp byte [ebp - 0x340], bl
je 0x100650f4
cmp edi, ebx
je 0x100650cb
lea ecx, [ebp - 0x238]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x100650e3
lea edx, [ebp - 0x340]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x100651d3
xor ecx, ecx
call fcn.1007aaf0
test eax, eax
je 0x100651ca
mov eax, 0x104
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x35c], eax
push str.ProxyServer
lea eax, [ebp - 0x35c]
lea edi, [ebp - 0x238]
mov ecx, str.SoftwareMicroWorldeScan_for_WindowsMwMonitorRegMsg
mov edx, reloc.WS2_32.dll_bind
call fcn.10059d80
cmp al, 1
jne 0x100651ca
push str.ProxyPort
lea eax, [ebp - 0x360]
lea edi, [ebp - 0x340]
mov ecx, str.SoftwareMicroWorldeScan_for_WindowsMwMonitorRegMsg
mov edx, reloc.WS2_32.dll_bind
call fcn.10059d80
cmp al, 1
jne 0x100651ca
cmp byte [ebp - 0x238], bl
je 0x100651ca
cmp byte [ebp - 0x340], bl
je 0x100651ca
mov eax, dword [ebp - 0x348]
cmp eax, ebx
je 0x10065188
lea ecx, [ebp - 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x100650e3
lea edx, [ebp - 0x340]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x100651d3
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret 4