Function at 0x49ecd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61db13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x554
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov al, byte [edi + 0xa15]
test al, al
jne 0x49efd7
lea ecx, [edi + 0xa18]
mov dword [ebp - 0x40], ecx
call fcn.005bca50
push 0
push 0
mov ecx, edi
call fcn.005a8980
mov ecx, 0x6f67e0
call fcn.005349f0
mov eax, dword [0x6f67e4]
cmp eax, 1
je 0x49efd7
cmp eax, 2
jne 0x49efe8
test byte [0x6f67f8], 0x10
je 0x49efc1
mov eax, dword [edi + 0x20]
mov ecx, 0x6f6830
push eax
call fcn.004971a0
test eax, eax
jne 0x49efc1
mov eax, dword [0x6f175c]
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], eax
mov al, byte [0x6f6828]
mov byte [ebp - 4], 2
test al, al
je 0x49edc0
cmp dword [edi + 0x44], 1
jne 0x49edc0
mov ecx, dword [0x6f6808]
mov eax, dword [ecx - 8]
test eax, eax
je 0x49eed4
mov edx, dword [0x6f680c]
mov eax, dword [edx - 8]
test eax, eax
je 0x49eed4
push 0x6f6808
lea ecx, [ebp + 8]
call fcn.00601a05
push 0x6f680c
jmp 0x49ee4f
mov al, byte [0x6f682a]
test al, al
je 0x49ee04
cmp dword [edi + 0x44], 2
jne 0x49ee04
mov eax, dword [0x6f6810]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49eed4
mov ecx, dword [0x6f6814]
mov eax, dword [ecx - 8]
test eax, eax
je 0x49eed4
push 0x6f6810
lea ecx, [ebp + 8]
call fcn.00601a05
push 0x6f6814
jmp 0x49ee4f
mov al, byte [0x6f6829]
test al, al
je 0x49eed4
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x49eed4
mov edx, dword [0x6f6818]
mov eax, dword [edx - 8]
test eax, eax
je 0x49eed4
mov eax, dword [0x6f681c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49eed4
push 0x6f6818
lea ecx, [ebp + 8]
call fcn.00601a05
push 0x6f681c
lea ecx, [ebp - 0x20]
call fcn.00601a05
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005e5453
mov esi, eax
add esp, 4
test esi, esi
jle 0x49efa9
mov eax, dword [0x6f175c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, 0x6f67e0
mov byte [ebp - 4], 4
call fcn.00534c70
test eax, eax
je 0x49eeb0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
mov ecx, edi
call fcn.005a8b00
jmp 0x49eebc
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, edi
call fcn.005a8980
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.006018cc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
jmp 0x49efa4
mov al, byte [0x6f682b]
test al, al
je 0x49efa9
mov ecx, dword [0x6f6820]
mov eax, dword [ecx - 8]
test eax, eax
je 0x49efa9
mov eax, dword [0x6f6824]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x49efa9
push eax
call fcn.005e5453
mov esi, eax
add esp, 4
test esi, esi
jle 0x49efa9
mov eax, dword [0x6f175c]
mov ebx, 5
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x6f6824]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x24]
push edx
mov edx, dword [0x6f6820]
push eax
push ecx
push edx
mov ecx, 0x6f67e0
mov byte [ebp - 4], 6
call fcn.005350b0
mov edx, dword [0x6f6824]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [0x6f6820]
push ecx
push edx
push eax
mov ecx, 0x6f67e0
call fcn.00534c70
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [0x6f6820]
push eax
push ecx
mov ecx, dword [ebp - 0x40]
push esi
push edx
call fcn.005bca70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.006018cc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.006018cc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.006018cc
mov al, byte [0x6f67f8]
test al, 8
jne 0x49efce
test al, 4
je 0x49efd7
push edi
call fcn.0049e5e0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 4
jne 0x49efce
test al, 8
jne 0x49efce
test al, 0x10
je 0x49efd7
push str.ExceptionProxyServers
lea ecx, [ebp - 0x4c]
call fcn.00496e70
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 7
call fcn.004971a0
test eax, eax
je 0x49f032
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00496f10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6f175c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x44]
mov byte [ebp - 4], 0xd
sub eax, 0
je 0x49f0fd
dec eax
je 0x49f0b5
dec eax
je 0x49f06a
push 0
push 0
mov ecx, edi
jmp 0x49f472
push str.UseHttpsProxy
lea ecx, [ebp - 0x1c]
call fcn.00601a55
push str.HttpsProxy
lea ecx, [ebp - 0x18]
call fcn.00601a55
push str.HttpsPort
lea ecx, [ebp - 0x28]
call fcn.00601a55
push str.HttpsUserName
lea ecx, [ebp - 0x24]
call fcn.00601a55
push str.HttpsPasword
lea ecx, [ebp - 0x30]
call fcn.00601a55
push str.HttpsEncPassword
jmp 0x49f143
push str.UseHttpProxy
lea ecx, [ebp - 0x1c]
call fcn.00601a55
push str.HttpProxy
lea ecx, [ebp - 0x18]
call fcn.00601a55
push str.HttpPort
lea ecx, [ebp - 0x28]
call fcn.00601a55
push str.HttpUserName
lea ecx, [ebp - 0x24]
call fcn.00601a55
push str.HttpPasword
lea ecx, [ebp - 0x30]
call fcn.00601a55
push str.HttpEncPassword
jmp 0x49f143
push str.UseFtpProxy
lea ecx, [ebp - 0x1c]
call fcn.00601a55
push str.FtpProxy
lea ecx, [ebp - 0x18]
call fcn.00601a55
push str.FtpPort
lea ecx, [ebp - 0x28]
call fcn.00601a55
push str.FtpUserName
lea ecx, [ebp - 0x24]
call fcn.00601a55
push str.FtpPasword
lea ecx, [ebp - 0x30]
call fcn.00601a55
push str.FtpEncPassword
lea ecx, [ebp - 0x2c]
call fcn.00601a55
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [0x6f6360]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x49f2bf
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49f2bf
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x150]
lea edx, [ebp - 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x150]
push edx
mov edx, dword [0x6f6360]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 0x100
call esi
test eax, eax
jne 0x49f2bf
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49f2bf
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
push ecx
mov ecx, dword [0x6f6360]
push edx
push eax
mov word [ebp - 0x34], ax
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0xa
push eax
push ecx
call esi
test eax, eax
jne 0x49f2bf
lea edx, [ebp - 0x3c]
push edx
call fcn.005e5453
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x49f2bf
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x250]
mov edx, dword [ebp - 0x24]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x250]
push eax
mov eax, dword [0x6f6360]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x14], 0x100
call esi
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49f2b2
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x350]
push ecx
mov ecx, dword [0x6f6360]
push edx
push eax
push 0x100
push ecx
call fcn.005b0e60
add esp, 0x14
test eax, eax
je 0x49f2b2
lea edx, [ebp - 0x350]
lea eax, [ebp - 0x250]
push edx
push eax
lea ecx, [ebp - 0x150]
push ebx
push ecx
mov ecx, dword [ebp + 8]
call fcn.005a8b00
jmp 0x49f477
lea edx, [ebp - 0x150]
push ebx
push edx
jmp 0x49f46f
mov edx, dword [0x6f6360]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 0
push 0
push str.bUseSocks
push edx
mov dword [ebp - 0x14], 4
call esi
test eax, eax
jne 0x49f46b
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49f46b
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x150]
mov edx, dword [0x6f6360]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x150]
push eax
push ecx
push 0
push 0
push str.SocksHost
push edx
mov dword [ebp - 0x14], 0x100
call esi
test eax, eax
jne 0x49f46b
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49f46b
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
push ecx
push edx
push eax
mov word [ebp - 0x34], ax
push eax
mov eax, dword [0x6f6360]
push str.SocksPort
push eax
mov dword [ebp - 0x14], 0xa
call esi
test eax, eax
jne 0x49f46b
lea ecx, [ebp - 0x3c]
push ecx
call fcn.005e5453
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
jle 0x49f46b
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x250]
lea edx, [ebp - 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
mov ecx, dword [0x6f6360]
lea eax, [ebp - 0x250]
xor ebx, ebx
push edx
push eax
push ebx
push ebx
push str.SocksUser
push ecx
mov dword [ebp + 8], 5
mov dword [ebp - 0x14], 0x100
call esi
mov eax, dword [0x6f6360]
lea edx, [ebp - 0x350]
push edx
push str.SocksPass
push 0x100
push eax
call fcn.005b1090
mov eax, dword [0x6f6360]
add esp, 0x10
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x20]
push ecx
push edx
push ebx
push ebx
mov edi, 4
push str.SocksType
push eax
mov dword [ebp - 0x14], edi
call esi
test eax, eax
jne 0x49f418
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 8], ecx
mov ecx, dword [0x6f6360]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x20]
push edx
push eax
push 0
push 0
push str.Socks5ProxyDNS
push ecx
mov dword [ebp - 0x14], edi
call esi
test eax, eax
jne 0x49f443
mov eax, dword [ebp - 0x20]
xor ebx, ebx
test eax, eax
setne bl
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x350]
lea eax, [ebp - 0x250]
push edx
mov edx, dword [ebp - 0x50]
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x150]
push edx
push eax
call fcn.005bca70
jmp 0x49f477
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.005a8980
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.006018cc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.006018cc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.006018cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.006018cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.006018cc
jmp 0x49f015