Function at 0x4b7780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x520]
sub esp, 0x520
push 0xffffffffffffffff
push 0x650d30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x51c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x528]
mov dword [ebp - 4], 0
cmp byte [edi + 0xa95], 0
jne 0x4b7a85
lea ecx, [edi + 0xa98]
mov dword [ebp - 0x40], ecx
call fcn.005c9cb0
push 0
push 0
mov ecx, edi
call fcn.005b6cf0
mov ecx, 0x75e770
call fcn.005476b0
mov eax, dword [0x75e774]
mov dword [ebp - 0x3c], eax
lea ebx, [edi + 0x3b4]
mov edx, dword [ebx]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7810
sub eax, esi
jne 0x4b7833
mov eax, dword [edi + 0x3b8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7824
sub eax, esi
je 0x4b7996
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7838
sub eax, edx
mov eax, ebx
jne 0x4b784b
lea eax, [edi + 0x3b8]
mov eax, dword [eax]
push eax
mov ecx, 0x75e7e8
call fcn.0054f3a0
test eax, eax
jne 0x4b798f
mov edx, dword [ebx]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7867
sub eax, esi
je 0x4b78df
push 0x19
push str.7:socks5:__127.0.0.1:9150
push edx
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [ebx]
push 0x19
push str.7:socks5:__127.0.0.1:9050
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [ebx]
push 0x19
push str.1:socks5:__127.0.0.1:9150
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [ebx]
push 0x19
push str.1:socks5:__127.0.0.1:9050
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [ebx]
jmp 0x4b7974
mov edx, dword [edi + 0x3b8]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b78f0
sub eax, esi
je 0x4b7996
cmp dword [edi + 0x3bc], 2
jne 0x4b7996
push 0x19
push str.7:socks5:__127.0.0.1:9150
push edx
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [edi + 0x3b8]
push 0x19
push str.7:socks5:__127.0.0.1:9050
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [edi + 0x3b8]
push 0x19
push str.1:socks5:__127.0.0.1:9150
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [edi + 0x3b8]
push 0x19
push str.1:socks5:__127.0.0.1:9050
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b798f
mov eax, dword [edi + 0x3b8]
cmp dword [eax - 0xc], 0
jge 0x4b7984
push 0x80070057
call fcn.00401090
cmp byte [eax], 0x34
jne 0x4b7996
cmp dword [ebp - 0x3c], 1
jne 0x4b7996
mov byte [edi + 0xaff], 1
cmp byte [edi + 0xaff], 0
je 0x4b7ab5
cmp byte [0x75e77d], 0
je 0x4b7ab5
mov eax, dword [edi + 0x17c]
test eax, 0x80000
je 0x4b7ab5
test al, 0x20
jne 0x4b7b4a
mov eax, dword [edi + 0x148]
push 7
push str.IDMIECC
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b7b4a
mov eax, dword [edi + 0x148]
push 0xc
push str.iexplore.exe
push eax
call fcn.006282cf
add esp, 0xc
test eax, eax
je 0x4b7b4a
mov ebx, dword [ebx]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7a10
sub eax, edx
jne 0x4b7a33
mov eax, dword [edi + 0x3b8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7a24
sub eax, edx
je 0x4b7ab5
cmp dword [edi + 0x3bc], 2
jne 0x4b7a59
mov edx, dword [edi + 0x3b8]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7a47
sub eax, esi
je 0x4b7a59
lea ecx, [ebp - 0x18]
push ecx
push edx
jmp 0x4b7a70
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7a60
sub eax, edx
je 0x4b7ab5
lea edx, [ebp - 0x18]
push edx
push ebx
push edi
call fcn.004b6720
add esp, 0xc
cmp eax, 2
jne 0x4b7aaa
mov byte [edi + 0xa96], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x51c]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x520
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4b7ab5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 1
je 0x4b7a85
cmp eax, 2
jne 0x4b7d76
test byte [0x75e788], 0x10
je 0x4b7d55
mov ecx, dword [edi + 0x20]
push ecx
mov ecx, 0x75e7c0
call fcn.004acd50
test eax, eax
jne 0x4b7d55
lea ecx, [ebp - 0x1c]
call fcn.004024f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004024f0
mov byte [ebp - 4], 2
mov byte [ebp - 0x25], 0
cmp byte [0x75e7b8], 0
je 0x4b7b56
cmp dword [edi + 0x44], 1
jne 0x4b7b56
mov edx, dword [0x75e798]
cmp dword [edx - 0xc], 0
je 0x4b7c64
mov eax, dword [0x75e79c]
cmp dword [eax - 0xc], 0
je 0x4b7c64
push 0x75e798
lea ecx, [ebp - 0x1c]
call fcn.00405900
push 0x75e79c
jmp 0x4b7be1
mov dword [ebp - 0x3c], 2
jmp 0x4b7ac6
cmp byte [0x75e7ba], 0
je 0x4b7b99
cmp dword [edi + 0x44], 2
jne 0x4b7b99
mov ecx, dword [0x75e7a0]
cmp dword [ecx - 0xc], 0
je 0x4b7c64
mov edx, dword [0x75e7a4]
cmp dword [edx - 0xc], 0
je 0x4b7c64
push 0x75e7a0
lea ecx, [ebp - 0x1c]
call fcn.00405900
push 0x75e7a4
jmp 0x4b7be1
cmp byte [0x75e7b9], 0
je 0x4b7c64
cmp dword [edi + 0x44], 0
jne 0x4b7c64
mov eax, dword [0x75e7a8]
cmp dword [eax - 0xc], 0
je 0x4b7c64
mov ecx, dword [0x75e7ac]
cmp dword [ecx - 0xc], 0
je 0x4b7c64
push 0x75e7a8
lea ecx, [ebp - 0x1c]
call fcn.00405900
push 0x75e7ac
lea ecx, [ebp - 0x18]
call fcn.00405900
mov byte [ebp - 0x25], 1
mov edx, dword [ebp - 0x18]
push edx
call fcn.006223c1
add esp, 4
mov esi, eax
test esi, esi
jle 0x4b7d3d
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov bl, 3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004024f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, 0x75e770
call fcn.005466f0
test eax, eax
je 0x4b7c53
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push esi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.005b6e60
jmp 0x4b7d26
push esi
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, edi
call fcn.005b6cf0
jmp 0x4b7d26
cmp byte [0x75e7bb], 0
je 0x4b7d3d
mov edx, dword [0x75e7b0]
cmp dword [edx - 0xc], 0
je 0x4b7d3d
mov eax, dword [0x75e7b4]
cmp dword [eax - 0xc], 0
je 0x4b7d3d
push eax
call fcn.006223c1
add esp, 4
mov esi, eax
test esi, esi
jle 0x4b7d3d
mov ebx, 5
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004024f0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [0x75e7b4]
push edx
mov eax, dword [0x75e7b0]
push eax
mov ecx, 0x75e770
call fcn.00546320
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [0x75e7b4]
push eax
mov ecx, dword [0x75e7b0]
push ecx
mov ecx, 0x75e770
call fcn.005466f0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push esi
mov eax, dword [0x75e7b0]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.005c9de0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00402560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov al, byte [0x75e788]
test al, 8
jne 0x4b7d66
test al, 4
je 0x4b7a85
push 0
push edi
call fcn.004b5ea0
add esp, 8
jmp 0x4b7a85
test al, 4
jne 0x4b7d66
test al, 8
jne 0x4b7d66
test al, 0x10
je 0x4b8320
push str.ExceptionProxyServers
lea ecx, [ebp - 0x4c]
call fcn.004ad330
mov byte [ebp - 4], 7
mov ecx, dword [edi + 0x20]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004acd50
test eax, eax
jne 0x4b7e60
lea ecx, [ebp - 0x1c]
call fcn.004024f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.004024f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.004024f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.004024f0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x38]
call fcn.004024f0
mov byte [ebp - 4], 0xd
mov eax, dword [edi + 0x44]
sub eax, 0
je 0x4b7f04
sub eax, 1
je 0x4b7ebc
sub eax, 1
je 0x4b7e71
push 0
push 0
mov ecx, edi
call fcn.005b6cf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x38]
call fcn.00402560
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00402560
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00402560
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00402560
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402560
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004acca0
jmp 0x4b7a85
push str.UseHttpsProxy
lea ecx, [ebp - 0x1c]
call fcn.0054f750
push str.HttpsProxy
lea ecx, [ebp - 0x20]
call fcn.0054f750
push str.HttpsPort
lea ecx, [ebp - 0x24]
call fcn.0054f750
push str.HttpsUserName
lea ecx, [ebp - 0x34]
call fcn.0054f750
push str.HttpsPasword
lea ecx, [ebp - 0x30]
call fcn.0054f750
push str.HttpsEncPassword
jmp 0x4b7f4a
push str.UseHttpProxy
lea ecx, [ebp - 0x1c]
call fcn.0054f750
push str.HttpProxy
lea ecx, [ebp - 0x20]
call fcn.0054f750
push str.HttpPort
lea ecx, [ebp - 0x24]
call fcn.0054f750
push str.HttpUserName
lea ecx, [ebp - 0x34]
call fcn.0054f750
push str.HttpPasword
lea ecx, [ebp - 0x30]
call fcn.0054f750
push str.HttpEncPassword
jmp 0x4b7f4a
push str.UseFtpProxy
lea ecx, [ebp - 0x1c]
call fcn.0054f750
push str.FtpProxy
lea ecx, [ebp - 0x20]
call fcn.0054f750
push str.FtpPort
lea ecx, [ebp - 0x24]
call fcn.0054f750
push str.FtpUserName
lea ecx, [ebp - 0x34]
call fcn.0054f750
push str.FtpPasword
lea ecx, [ebp - 0x30]
call fcn.0054f750
push str.FtpEncPassword
lea ecx, [ebp - 0x38]
call fcn.0054f750
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x75dbe4]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
jne 0x4b80f1
cmp dword [ebp - 0x18], eax
je 0x4b80f1
push 0x100
push eax
lea eax, [ebp + 0x410]
push eax
call fcn.00621270
add esp, 0xc
mov dword [ebp - 0x14], 0x100
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x410]
push edx
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [0x75dbe4]
push ecx
call esi
test eax, eax
jne 0x4b80f1
lea eax, [ebp + 0x410]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7fd2
sub eax, edx
je 0x4b80f1
xor eax, eax
mov dword [ebp + 0x510], eax
mov dword [ebp + 0x514], eax
mov word [ebp + 0x518], ax
mov dword [ebp - 0x14], 0xa
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x510]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [0x75dbe4]
push edx
call esi
test eax, eax
jne 0x4b80f1
lea eax, [ebp + 0x510]
push eax
call fcn.006223c1
add esp, 4
mov ebx, eax
test ebx, ebx
jle 0x4b80f1
push 0x100
push 0
lea ecx, [ebp + 0x310]
push ecx
call fcn.00621270
push 0x100
push 0
lea edx, [ebp + 0x210]
push edx
call fcn.00621270
add esp, 0x18
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x310]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [0x75dbe4]
push eax
call esi
lea eax, [ebp + 0x310]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b8090
sub eax, edx
je 0x4b80e4
lea ecx, [ebp + 0x210]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 0x100
mov ecx, dword [0x75dbe4]
push ecx
call fcn.005ba5a0
add esp, 0x14
test eax, eax
je 0x4b80e4
lea edx, [ebp + 0x210]
push edx
lea eax, [ebp + 0x310]
push eax
push ebx
lea ecx, [ebp + 0x410]
push ecx
mov ecx, edi
call fcn.005b6e60
jmp 0x4b7e18
push ebx
lea edx, [ebp + 0x410]
push edx
jmp 0x4b7e11
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.bUseSocks
mov edx, dword [0x75dbe4]
push edx
call esi
test eax, eax
jne 0x4b82c1
cmp dword [ebp - 0x18], eax
je 0x4b82c1
push 0x100
push eax
lea eax, [ebp + 0x410]
push eax
call fcn.00621270
add esp, 0xc
mov dword [ebp - 0x14], 0x100
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x410]
push edx
push 0
push 0
push str.SocksHost
mov eax, dword [0x75dbe4]
push eax
call esi
test eax, eax
jne 0x4b82c1
lea eax, [ebp + 0x410]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b8170
sub eax, edx
je 0x4b82c1
xor eax, eax
mov dword [ebp + 0x510], eax
mov dword [ebp + 0x514], eax
mov word [ebp + 0x518], ax
mov dword [ebp - 0x14], 0xa
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x510]
push edx
push eax
push eax
push str.SocksPort
mov eax, dword [0x75dbe4]
push eax
call esi
test eax, eax
jne 0x4b82c1
lea ecx, [ebp + 0x510]
push ecx
call fcn.006223c1
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
jle 0x4b82c1
mov ebx, 5
xor edi, edi
push 0x100
push edi
lea edx, [ebp + 0x310]
push edx
call fcn.00621270
push 0x100
push edi
lea eax, [ebp + 0x210]
push eax
call fcn.00621270
add esp, 0x18
mov dword [ebp - 0x14], 0x100
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x310]
push edx
push edi
push edi
push str.SocksUser
mov eax, dword [0x75dbe4]
push eax
call esi
lea ecx, [ebp + 0x210]
push ecx
push str.SocksPass
push 0x100
mov edx, dword [0x75dbe4]
push edx
call fcn.005b76c0
add esp, 0x10
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edi
push edi
push str.SocksType
mov edx, dword [0x75dbe4]
push edx
call esi
test eax, eax
jne 0x4b826c
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.Socks5ProxyDNS
mov edx, dword [0x75dbe4]
push edx
call esi
test eax, eax
jne 0x4b8299
cmp dword [ebp - 0x18], edi
setne al
mov edi, eax
lea ecx, [ebp + 0x210]
push ecx
lea edx, [ebp + 0x310]
push edx
push edi
push ebx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x410]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.005c9de0
jmp 0x4b7e18
push 0
push 0
mov ecx, edi
call fcn.005b6cf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x38]
call fcn.00402560
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.00402560
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x34]
call fcn.00402560
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00402560
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00402560
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1c]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004acca0
mov dword [ebp - 4], 0xffffffff
jmp 0x4b7a85