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

Disassembly:
push 0x1c
mov eax, 0x100a2fb0
call fcn.100597c7
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [esi], ebx
call fcn.1001bd40
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [ebp - 4], ebx
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1004ba4d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.ProxyEnable
push dword [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 4
call edi
cmp dword [ebp - 0x18], ebx
je 0x1004b924
push 0x800
lea ecx, [ebp - 0x14]
call fcn.100104f0
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ebx
push ebx
push str.ProxyServer
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0x1000
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.100104c0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1004ba4d
push ebx
push 0x3b
lea ecx, [ebp - 0x14]
call fcn.1000ec50
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.1001bd40
cmp edi, 0xffffffff
mov byte [ebp - 4], 1
jne 0x1004b966
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ebe0
lea ecx, [ebp - 0x14]
call fcn.10010380
jmp 0x1004b999
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000eeb0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000ebe0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1000b440
lea eax, [edi + 1]
lea ebx, [ebp - 0x14]
call fcn.1004bc28
xor ebx, ebx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.1000ec50
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.1001bd40
cmp edi, 0xffffffff
mov byte [ebp - 4], 3
je 0x1004b9ea
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000eeb0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.1000ebe0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1000b440
lea eax, [edi + 1]
lea ebx, [ebp - 0x10]
call fcn.1004bc28
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.1001bd40
lea eax, [ebp - 0x1c]
push str.http
push eax
mov byte [ebp - 4], 5
call fcn.10026c40
test al, al
pop ecx
pop ecx
jne 0x1004bad5
lea ecx, [ebp - 0x1c]
call fcn.1000ef30
test al, al
jne 0x1004bad5
lea eax, [ebp - 0x1c]
push str.socks
push eax
call fcn.10026c40
test al, al
pop ecx
pop ecx
jne 0x1004ba62
lea ecx, [ebp - 0x18]
call fcn.1000b440
lea ecx, [ebp - 0x1c]
call fcn.1000b440
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.1000b440
lea ecx, [ebp - 0x14]
call fcn.1000ef30
test al, al
je 0x1004b932
jmp 0x1004bb95
push ebx
push 0x3a
lea ecx, [ebp - 0x10]
call fcn.1000ec50
mov edi, eax
cmp edi, ebx
jl 0x1004bab9
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000eeb0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.1000ebe0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.1000b440
lea eax, [edi + 1]
lea ebx, [ebp - 0x10]
call fcn.1004bc28
mov ecx, ebx
call fcn.10015020
push eax
call fcn.1005749c
pop ecx
movzx edi, ax
xor ebx, ebx
jmp 0x1004bac7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000ebe0
xor edi, edi
cmp di, bx
jne 0x1004bad1
mov edi, 0x438
push 3
jmp 0x1004bb44
push ebx
push 0x3a
lea ecx, [ebp - 0x10]
call fcn.1000ec50
mov edi, eax
cmp edi, ebx
jl 0x1004bb2c
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000eeb0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.1000ebe0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.1000b440
lea eax, [edi + 1]
lea ebx, [ebp - 0x10]
call fcn.1004bc28
mov ecx, ebx
call fcn.10015020
push eax
call fcn.1005749c
pop ecx
movzx edi, ax
xor ebx, ebx
jmp 0x1004bb3a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000ebe0
xor edi, edi
cmp di, bx
jne 0x1004bb42
push 0x50
pop edi
push 2
pop eax
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.10015020
push eax
lea eax, [esi + 4]
push 0x1005
push eax
call fcn.100579e9
add esp, 0xc
lea ecx, [ebp - 0x18]
mov word [esi + 0x200e], di
mov word [esi + 0x2010], bx
mov word [esi + 0x2052], bx
mov word [esi + 0x2094], bx
call fcn.1000b440
lea ecx, [ebp - 0x1c]
call fcn.1000b440
lea ecx, [ebp - 0x10]
call fcn.1000b440
lea ecx, [ebp - 0x14]
call fcn.1000b440
call fcn.10059866
ret