Function at 0x634800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68752b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x78a6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x445], dl
mov edi, ecx
xor esi, esi
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x634842
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 0x10], esi
mov word [eax], cx
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x44c], ecx
test dl, dl
mov dword [ebp - 4], ecx
mov ebx, str.SoftwareCiscoCisco_AnyConnect_Secure_Mobility_Client_
mov eax, str.SoftwareCiscoCisco_Secure_Client_
cmove ebx, eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], ecx
push eax
push 0x20019
push ecx
push ebx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6348a3
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 0
test eax, eax
je 0x634927
jg 0x6348b1
mov esi, eax
jmp 0x6348ba
movzx esi, ax
or esi, 0x80070000
push 3
lea eax, [ebp - 0x424]
push ebx
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.0045b7a0
mov byte [ebp - 4], 2
push dword [ebp - 0x428]
push str.failed_to_open_subkey__s
push 0
push esi
push str.CRegKey::Open
push 0x57
push 0x78
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinVarious.cpp
push str.GetAnyConnectDirectory
call fcn.00612830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x424]
mov eax, dword [ebp - 0x428]
add esp, 0x24
cmp eax, ecx
je 0x634a33
push eax
call fcn.0059a280
add esp, 4
jmp 0x634a33
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0058d130
add esp, 0xc
mov dword [ebp - 0x444], 0x208
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.InstallPathWithSlash
push dword [ebp - 0x454]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x634979
jg 0x6349b1
mov esi, eax
jmp 0x6349ba
mov eax, dword [ebp - 0x424]
cmp eax, 1
je 0x634989
cmp eax, 2
jne 0x6349ac
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x634d11
test al, 1
jne 0x6349ac
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x634d1a
mov eax, 0xd
movzx esi, ax
or esi, 0x80070000
push str.InstallPathWithSlash
call fcn.0059a3bd
inc eax
add esp, 4
cmp eax, 0x3fffffff
jg 0x634a0a
add eax, eax
mov dword [ebp - 0x424], eax
call fcn.0058b710
mov ebx, esp
test ebx, ebx
je 0x634a0a
push 0
push 0
push dword [ebp - 0x424]
mov byte [ebx], 0
push ebx
push 0xffffffffffffffff
push str.InstallPathWithSlash
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
jmp 0x634a0c
xor ebx, ebx
push ebx
push str.failed_to_open_key_value__s
push 0
push esi
push str.CRegKey::QueryStringValue
push 0x57
push 0x89
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinVarious.cpp
push str.GetAnyConnectDirectory
call fcn.00612830
add esp, 0x24
test esi, esi
jns 0x634d41
xor esi, esi
mov ebx, str.SystemCurrentControlSetServices_vpnagent
cmp byte [ebp - 0x445], 0
mov eax, str.SystemCurrentControlSetServicescsc_vpnagent
cmove ebx, eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], esi
push eax
push 0x20019
push esi
push ebx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x634a9b
mov ecx, dword [ebp - 0x454]
test ecx, ecx
je 0x634a85
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x634b1e
jg 0x634aa9
mov esi, eax
jmp 0x634ab2
movzx esi, ax
or esi, 0x80070000
push 3
lea eax, [ebp - 0x424]
push ebx
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.0045b7a0
mov byte [ebp - 4], 4
push dword [ebp - 0x428]
push str.failed_to_open_subkey__s
push 0
push esi
push str.CRegKey::Open
push 0x57
push 0xa1
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinVarious.cpp
push str.GetAnyConnectDirectory
call fcn.00612830
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x424]
add esp, 0x24
cmp eax, ecx
je 0x634d41
push eax
call fcn.0059a280
add esp, 4
jmp 0x634d41
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0058d130
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
lea ecx, [ebp - 0x454]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x7544cc
call fcn.0045ed50
test eax, eax
je 0x634b9f
jg 0x634b66
mov esi, eax
jmp 0x634b6f
movzx esi, ax
or esi, 0x80070000
push str.ImagePath
push str.failed_to_open_key_value__s
push 0
push esi
push str.CRegKey::QueryStringValue
push 0x57
push 0xb1
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonUtilityWinVarious.cpp
push str.GetAnyConnectDirectory
call fcn.00612830
add esp, 0x24
jmp 0x634d41
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x634bb0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00447250
cmp dword [edi + 0x14], 8
mov ebx, edi
jb 0x634bd8
mov ebx, dword [edi]
mov ecx, edi
jb 0x634bde
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
lea ecx, [ecx + eax*2]
mov eax, edi
jb 0x634bea
mov eax, dword [edi]
push ebx
push ecx
push eax
mov edx, fcn.005a1b70
lea ecx, [ebp - 0x424]
call fcn.0045c160
add esp, 0xc
mov ecx, edi
push 0
push str.vpnagent.exe
call fcn.00459c70
mov edx, eax
cmp edx, 0xffffffff
je 0x634c99
cmp dword [edi + 0x10], 0
jbe 0x634d76
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x634c2d
mov ecx, dword [edi]
xor eax, eax
cmp word [ecx], 0x22
mov ecx, edi
sete al
sub edx, eax
push edx
push eax
lea eax, [ebp - 0x440]
push eax
call int.004505a0
push eax
mov ecx, edi
call fcn.004506b0
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x634d41
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x634c8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x634d7b
push edx
push ecx
call fcn.0058ab22
add esp, 8
jmp 0x634d41
cmp dword [edi + 0x14], 8
mov esi, 0x80070003
jb 0x634ca6
mov edi, dword [edi]
test edi, edi
je 0x634cf1
push edi
call fcn.0059a3bd
inc eax
add esp, 4
cmp eax, 0x3fffffff
jg 0x634cf1
add eax, eax
mov dword [ebp - 0x424], eax
call fcn.0058b710
mov ebx, esp
test ebx, ebx
je 0x634cf1
push 0
push 0
push dword [ebp - 0x424]
mov byte [ebx], 0
push ebx
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x634cf3
xor eax, eax
push eax
push str.failed_to_find_agent_binary_in_path
push 0
push 0x80070003
push str.tstring::find
push 0x57
push 0xc8
jmp 0x634b88
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x634d23
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00447250
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x634d52
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea esp, [ebp - 0x468]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058a893
mov esp, ebp
pop ebp
ret
call fcn.0044a9d0
call fcn.005968cf
int3