Function at 0x100493d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1016d810
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x1017455c]
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, dword [ebp + 8]
mov dword [ebp - 0x348], edi
mov eax, dword [ebp + 0xc]
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.10116880
add esp, 0xc
mov byte [ebp - 0x340], bl
push 0x103
push ebx
lea edx, [ebp - 0x33f]
push edx
call fcn.10116880
add esp, 0xc
mov byte [ebp - 0x130], bl
push 0x103
push ebx
lea eax, [ebp - 0x12f]
push eax
call fcn.10116880
add esp, 0xc
mov dword [ebp - 0x344], ebx
mov byte [ebp - 0x24], bl
call fcn.1004f190
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x20019
cmp edi, ebx
je 0x10049497
mov byte [edi], bl
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x100494a3
mov byte [eax], bl
push ebx
call sym.EncDec.dll_IsSystemUser
test eax, eax
jne 0x10049640
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 closesocket
call fcn.10062150
test eax, eax
jne 0x10049640
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 0x10049640
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 0x10049640
lea ecx, [ebp - 0x130]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
cmp eax, 4
jl 0x1004963a
push 0x3d
lea edx, [ebp - 0x130]
push edx
call fcn.1010d780
add esp, 8
cmp eax, ebx
je 0x100495d2
push str.http
lea ecx, [ebp - 0x130]
call fcn.10047020
add esp, 4
mov esi, eax
cmp esi, 0xffffffff
je 0x1004963a
push 0x3b
lea eax, [ebp + esi - 0x130]
push eax
call fcn.1010d780
add esp, 8
cmp eax, ebx
je 0x100495bd
mov byte [eax], bl
lea ecx, [ebp + esi - 0x12b]
push ecx
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x3b
lea eax, [ebp - 0x130]
push eax
call fcn.1010d780
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x100495eb
mov byte [esi], bl
lea ecx, [ebp - 0x130]
push ecx
call edi
dec eax
mov dword [ebp - 0x358], eax
cmp eax, ebx
jle 0x1004963a
lea ecx, [ebp + eax - 0x130]
cmp byte [ecx], 0x3a
jne 0x100495f4
mov esi, ecx
cmp eax, ebx
jle 0x1004963a
cmp esi, ebx
je 0x1004963a
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x340]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
mov byte [esi], bl
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x238]
push edx
call edi
mov edi, dword [ebp - 0x348]
mov eax, dword [ebp - 0x344]
cmp eax, ebx
je 0x10049657
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x344], ebx
cmp byte [ebp - 0x238], bl
je 0x100496a2
cmp byte [ebp - 0x340], bl
je 0x100496a2
cmp edi, ebx
je 0x10049679
lea eax, [ebp - 0x238]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x10049691
lea ecx, [ebp - 0x340]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x10049780
push ebx
call sym.EncDec.dll_IsSystemUser
test eax, eax
je 0x10049777
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.OLEAUT32.dll_SysReAllocString
call fcn.100315c0
cmp al, 1
jne 0x10049777
push str.ProxyPort
lea eax, [ebp - 0x360]
lea edi, [ebp - 0x340]
mov ecx, str.SoftwareMicroWorldeScan_for_WindowsMwMonitorRegMsg
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.100315c0
cmp al, 1
jne 0x10049777
cmp byte [ebp - 0x238], bl
je 0x10049777
cmp byte [ebp - 0x340], bl
je 0x10049777
mov eax, dword [ebp - 0x348]
cmp eax, ebx
je 0x10049735
lea edx, [ebp - 0x238]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x34c]
cmp eax, ebx
je 0x10049691
lea ecx, [ebp - 0x340]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x10049780
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.1010d699
mov esp, ebp
pop ebp
ret 8