Function at 0x4b0640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6432c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x554
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov al, byte [ebx + 0xa3d]
mov dword [ebp - 0x10], esp
test al, al
mov dword [ebp - 4], 0
jne 0x4b0a3f
lea ecx, [ebx + 0xa40]
mov dword [ebp - 0x40], ecx
call fcn.005dd030
push 0
push 0
mov ecx, ebx
call fcn.005c6e60
mov ecx, 0x6fd010
call fcn.0054f0c0
mov al, byte [ebx + 0xaa6]
mov ecx, dword [0x6fd014]
test al, al
mov dword [ebp - 0x14], ecx
je 0x4b079a
mov eax, dword [ebx + 0x16c]
test eax, 0x80000
je 0x4b079a
test al, 0x20
jne 0x4b07ac
mov eax, dword [ebx + 0x13c]
push 7
push str.IDMIECC
push eax
call fcn.0060d550
add esp, 0xc
test eax, eax
je 0x4b07ac
mov eax, dword [ebx + 0x13c]
push 0xc
push str.iexplore.exe
push eax
call fcn.0060d550
add esp, 0xc
test eax, eax
je 0x4b07ac
mov esi, dword [ebx + 0x374]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4b072f
mov edi, dword [ebx + 0x378]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0797
cmp dword [ebx + 0x37c], 2
jne 0x4b0753
mov edx, dword [ebx + 0x378]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0753
lea eax, [ebp - 0x18]
push eax
push edx
jmp 0x4b0766
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0797
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
call fcn.004af710
add esp, 0xc
cmp eax, 2
jne 0x4b078c
mov byte [ebx + 0xa3e], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4b0797
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
cmp ecx, 1
je 0x4b0a3f
cmp ecx, 2
jne 0x4b0a50
test byte [0x6fd028], 0x10
je 0x4b0a27
mov eax, dword [ebx + 0x20]
mov ecx, 0x6fd060
push eax
call fcn.004a72f0
test eax, eax
jne 0x4b0a27
mov eax, dword [0x6f7b78]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], eax
mov al, byte [0x6fd058]
mov byte [ebp - 4], 2
test al, al
je 0x4b0826
cmp dword [ebx + 0x44], 1
jne 0x4b0826
mov ecx, dword [0x6fd038]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b093a
mov edx, dword [0x6fd03c]
mov eax, dword [edx - 8]
test eax, eax
je 0x4b093a
push 0x6fd038
lea ecx, [ebp + 8]
call fcn.00622ec3
push 0x6fd03c
jmp 0x4b08b5
mov al, byte [0x6fd05a]
test al, al
je 0x4b086a
cmp dword [ebx + 0x44], 2
jne 0x4b086a
mov eax, dword [0x6fd040]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b093a
mov ecx, dword [0x6fd044]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b093a
push 0x6fd040
lea ecx, [ebp + 8]
call fcn.00622ec3
push 0x6fd044
jmp 0x4b08b5
mov al, byte [0x6fd059]
test al, al
je 0x4b093a
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x4b093a
mov edx, dword [0x6fd048]
mov eax, dword [edx - 8]
test eax, eax
je 0x4b093a
mov eax, dword [0x6fd04c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b093a
push 0x6fd048
lea ecx, [ebp + 8]
call fcn.00622ec3
push 0x6fd04c
lea ecx, [ebp - 0x14]
call fcn.00622ec3
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00609e33
mov esi, eax
add esp, 4
test esi, esi
jle 0x4b0a0f
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, 0x6fd010
mov byte [ebp - 4], 4
call fcn.0054f340
test eax, eax
je 0x4b0916
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
mov ecx, ebx
call fcn.005c6ff0
jmp 0x4b0922
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, ebx
call fcn.005c6e60
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00622d8a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
jmp 0x4b0a0a
mov al, byte [0x6fd05b]
test al, al
je 0x4b0a0f
mov ecx, dword [0x6fd050]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4b0a0f
mov eax, dword [0x6fd054]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4b0a0f
push eax
call fcn.00609e33
mov esi, eax
add esp, 4
test esi, esi
jle 0x4b0a0f
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov ecx, dword [0x6fd054]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
push edx
mov edx, dword [0x6fd050]
push eax
push ecx
push edx
mov ecx, 0x6fd010
mov byte [ebp - 4], 6
call fcn.0054f780
mov edx, dword [0x6fd054]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
push eax
mov eax, dword [0x6fd050]
push ecx
push edx
push eax
mov ecx, 0x6fd010
call fcn.0054f340
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [0x6fd050]
push eax
push ecx
mov ecx, dword [ebp - 0x40]
push esi
push edx
call fcn.005dd050
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00622d8a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov al, byte [0x6fd028]
test al, 8
jne 0x4b0a34
test al, 4
je 0x4b0a3f
push 0
push ebx
call fcn.004aef10
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test cl, 4
jne 0x4b0a34
test cl, 8
jne 0x4b0a34
test cl, 0x10
je 0x4b0a3f
push str.ExceptionProxyServers
lea ecx, [ebp - 0x4c]
call fcn.004a6f50
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 7
call fcn.004a72f0
test eax, eax
je 0x4b0a9d
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.004a7050
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 [0x6f7b78]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x44]
mov byte [ebp - 4], 0xd
sub eax, 0
je 0x4b0bb9
dec eax
je 0x4b0b71
dec eax
je 0x4b0b26
push 0
push 0
mov ecx, ebx
call fcn.005c6e60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00622d8a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00622d8a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00622d8a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00622d8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00622d8a
jmp 0x4b0a80
push str.UseHttpsProxy
lea ecx, [ebp - 0x18]
call fcn.00622f13
push str.HttpsProxy
lea ecx, [ebp - 0x20]
call fcn.00622f13
push str.HttpsPort
lea ecx, [ebp - 0x24]
call fcn.00622f13
push str.HttpsUserName
lea ecx, [ebp - 0x28]
call fcn.00622f13
push str.HttpsPasword
lea ecx, [ebp - 0x30]
call fcn.00622f13
push str.HttpsEncPassword
jmp 0x4b0bff
push str.UseHttpProxy
lea ecx, [ebp - 0x18]
call fcn.00622f13
push str.HttpProxy
lea ecx, [ebp - 0x20]
call fcn.00622f13
push str.HttpPort
lea ecx, [ebp - 0x24]
call fcn.00622f13
push str.HttpUserName
lea ecx, [ebp - 0x28]
call fcn.00622f13
push str.HttpPasword
lea ecx, [ebp - 0x30]
call fcn.00622f13
push str.HttpEncPassword
jmp 0x4b0bff
push str.UseFtpProxy
lea ecx, [ebp - 0x18]
call fcn.00622f13
push str.FtpProxy
lea ecx, [ebp - 0x20]
call fcn.00622f13
push str.FtpPort
lea ecx, [ebp - 0x24]
call fcn.00622f13
push str.FtpUserName
lea ecx, [ebp - 0x28]
call fcn.00622f13
push str.FtpPasword
lea ecx, [ebp - 0x30]
call fcn.00622f13
push str.FtpEncPassword
lea ecx, [ebp - 0x2c]
call fcn.00622f13
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x14]
push ecx
mov ecx, dword [0x6fcafc]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x1c], 4
call esi
test eax, eax
jne 0x4b0d81
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b0d81
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x150]
lea edx, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x150]
push edx
mov edx, dword [0x6fcafc]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x1c], 0x100
call esi
test eax, eax
jne 0x4b0d81
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0d81
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
push ecx
mov ecx, dword [0x6fcafc]
push edx
push eax
mov word [ebp - 0x34], ax
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0xa
push eax
push ecx
call esi
test eax, eax
jne 0x4b0d81
lea edx, [ebp - 0x3c]
push edx
call fcn.00609e33
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x4b0d7e
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x250]
mov edx, dword [ebp - 0x28]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x250]
push eax
mov eax, dword [0x6fcafc]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 0x100
call esi
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0d6e
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x350]
push ecx
mov ecx, dword [0x6fcafc]
push edx
push eax
push 0x100
push ecx
call fcn.005d0b30
add esp, 0x14
test eax, eax
je 0x4b0d6e
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.005c6ff0
jmp 0x4b0ad9
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x150]
push ebx
push edx
jmp 0x4b0ad4
mov ebx, dword [ebp + 8]
mov edx, dword [0x6fcafc]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push str.bUseSocks
push edx
mov dword [ebp - 0x1c], 4
call esi
test eax, eax
jne 0x4b0ace
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b0ace
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x150]
mov edx, dword [0x6fcafc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x150]
push eax
push ecx
push 0
push 0
push str.SocksHost
push edx
mov dword [ebp - 0x1c], 0x100
call esi
test eax, eax
jne 0x4b0ace
lea edi, [ebp - 0x150]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b0ace
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x1c]
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 [0x6fcafc]
push str.SocksPort
push eax
mov dword [ebp - 0x1c], 0xa
call esi
test eax, eax
jne 0x4b0ace
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00609e33
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
jle 0x4b0ace
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x250]
lea edx, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x350]
rep stosd dword es:[edi], eax
mov ecx, dword [0x6fcafc]
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 - 0x1c], 0x100
call esi
mov eax, dword [0x6fcafc]
lea edx, [ebp - 0x350]
push edx
push str.SocksPass
push 0x100
push eax
call fcn.005d0d60
mov eax, dword [0x6fcafc]
add esp, 0x10
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x14]
push ecx
push edx
push ebx
push ebx
mov edi, 4
push str.SocksType
push eax
mov dword [ebp - 0x1c], edi
call esi
test eax, eax
jne 0x4b0eda
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
mov ecx, dword [0x6fcafc]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edx
push eax
push 0
push 0
push str.Socks5ProxyDNS
push ecx
mov dword [ebp - 0x1c], edi
call esi
test eax, eax
jne 0x4b0f05
mov eax, dword [ebp - 0x14]
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.005dd050
jmp 0x4b0ad9