Function at 0x4e4e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xed0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xecc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xec8], ecx
mov ecx, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xec4], edx
mov dword [ebp - 0xed0], eax
mov dword [ebp - 0xea0], ecx
call fcn.004e0bb0
xor ebx, ebx
mov dword [ebp - 0xe94], eax
cmp eax, ebx
je 0x4e4e9c
mov ecx, 4
lea edx, [ebp - 0xe98]
push edx
push edi
mov dword [ebp - 0xe9c], ecx
mov dword [ebp - 0xe98], ecx
lea ecx, [ebp - 0xe9c]
push ecx
push ebx
push str.proxytype
mov dword [edi], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call edi
mov edx, dword [ebp - 0xe94]
test eax, eax
je 0x4e4eaf
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xe98]
push eax
push esi
lea ecx, [ebp - 0xe9c]
push ecx
push ebx
push str.customproxytype
push edx
mov dword [esi], ebx
call edi
push 0x63e
lea ecx, [ebp - 0xe72]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0xe74], ax
call fcn.0051d250
add esp, 0xc
mov dword [ebp - 0xe98], 0x640
mov dword [ebp - 0xe9c], 1
cmp dword [esi], ebx
jne 0x4e4f23
lea edx, [ebp - 0xe98]
push edx
mov edx, dword [ebp - 0xe94]
lea eax, [ebp - 0xe74]
push eax
lea ecx, [ebp - 0xe9c]
push ecx
push ebx
push str.customhttp
push edx
jmp 0x4e4f45
lea eax, [ebp - 0xe98]
push eax
mov eax, dword [ebp - 0xe94]
lea ecx, [ebp - 0xe74]
push ecx
lea edx, [ebp - 0xe9c]
push edx
push ebx
push 0x56c92c
push eax
call edi
lea ecx, [ebp - 0xe74]
push ecx
lea ecx, [ebp - 0xe90]
call fcn.004597f0
mov edx, dword [ebp - 0xe7c]
push ebx
push 0x576bd0
push edx
push ebx
lea ecx, [ebp - 0xe90]
call fcn.004309f0
test eax, eax
je 0x4e5245
push 1
push ebx
push 0x56537c
lea ecx, [ebp - 0xe90]
call fcn.004e2070
mov esi, eax
push esi
push ebx
lea ecx, [ebp - 0xe90]
xor eax, eax
push ecx
mov edi, 7
lea ecx, [ebp - 0xec0]
mov dword [ebp - 0xea8], edi
mov dword [ebp - 0xeac], ebx
mov word [ebp - 0xebc], ax
call fcn.0044f8b0
mov ecx, dword [ebp - 0xec8]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xec0]
push edx
call fcn.0044f8b0
lea ecx, [ebp - 0xec0]
call fcn.00449950
inc esi
push esi
push ebx
lea ecx, [ebp - 0xe90]
call fcn.00442dd0
push 1
push ebx
push 0x56537c
lea ecx, [ebp - 0xe90]
call fcn.004e2070
mov esi, eax
push esi
push ebx
lea ecx, [ebp - 0xe90]
xor eax, eax
push ecx
lea ecx, [ebp - 0xec0]
mov dword [ebp - 0xea8], edi
mov dword [ebp - 0xeac], ebx
mov word [ebp - 0xebc], ax
call fcn.0044f8b0
mov ecx, dword [ebp - 0xec4]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xec0]
push edx
call fcn.0044f8b0
lea ecx, [ebp - 0xec0]
call fcn.00449950
inc esi
push esi
push ebx
lea ecx, [ebp - 0xe90]
call fcn.00442dd0
push 1
push ebx
push 0x56537c
lea ecx, [ebp - 0xe90]
call fcn.004e2070
mov esi, eax
push esi
push ebx
lea ecx, [ebp - 0xe90]
xor eax, eax
push ecx
lea ecx, [ebp - 0xec0]
mov dword [ebp - 0xea8], edi
mov dword [ebp - 0xeac], ebx
mov word [ebp - 0xebc], ax
call fcn.0044f8b0
mov ecx, dword [ebp - 0xed0]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xec0]
push edx
call fcn.0044f8b0
lea ecx, [ebp - 0xec0]
call fcn.00449950
inc esi
push esi
push ebx
lea ecx, [ebp - 0xe90]
call fcn.00442dd0
push 1
push ebx
push 0x56537c
lea ecx, [ebp - 0xe90]
call fcn.004e2070
mov esi, eax
cmp esi, 0xffffffff
je 0x4e5143
push esi
push ebx
lea eax, [ebp - 0xec0]
push eax
lea ecx, [ebp - 0xe90]
call fcn.00455fc0
mov edi, dword [ebp - 0xea0]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.0044f8b0
lea ecx, [ebp - 0xec0]
call fcn.00449950
inc esi
push esi
push ebx
lea ecx, [ebp - 0xe90]
call fcn.00442dd0
cmp dword [ebp - 0xe78], 8
mov eax, dword [ebp - 0xe8c]
jae 0x4e5130
lea eax, [ebp - 0xe8c]
push eax
call fcn.00526deb
mov ecx, dword [ebp - 0xecc]
add esp, 4
mov dword [ecx], eax
jmp 0x4e515e
mov ecx, dword [ebp - 0xea0]
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xe90]
push edx
call fcn.0044f8b0
mov edi, dword [ebp - 0xea0]
push 0x417
lea eax, [ebp - 0x833]
push ebx
push eax
mov byte [ebp - 0x834], bl
call fcn.0051d250
push 0x417
lea ecx, [ebp - 0x41b]
push ebx
push ecx
mov byte [ebp - 0x41c], bl
call fcn.0051d250
add esp, 0x18
mov dword [ebp - 0xea4], 0x418
cmp dword [edi + 0x14], ebx
jbe 0x4e5245
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x4e51b1
mov eax, dword [esi]
jmp 0x4e51b3
mov eax, esi
push ebx
push ebx
push 0x400
lea edx, [ebp - 0x834]
push edx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x834]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4e51d5
sub eax, edx
lea ecx, [ebp - 0xea4]
push ecx
lea edx, [ebp - 0x41c]
push edx
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.004d8760
mov ecx, dword [ebp - 0xea4]
push ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.004d8e30
add esp, 0x18
cmp eax, ebx
jl 0x4e521c
mov byte [ebp + eax - 0x41c], bl
jmp 0x4e5222
mov byte [ebp - 0x41c], bl
cmp dword [edi + 0x18], 8
jb 0x4e522c
mov eax, dword [esi]
jmp 0x4e522e
mov eax, esi
push 0x418
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x41c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0xe78], 8
jb 0x4e525d
mov ecx, dword [ebp - 0xe8c]
push ecx
call fcn.0051d230
add esp, 4
mov edx, dword [ebp - 0xe94]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret