Function at 0x4acb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507093
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
push edi
lea edi, [ebp - 0x68]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x55370c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x38], 0
mov esi, esp
lea eax, [ebp - 0x24]
push eax
push 0x20019
push 0
push 0x51ecd4
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
je 0x4acb67
xor eax, eax
jmp 0x4accf5
lea ecx, [ebp - 0x20]
mov esi, esp
push ecx
push 0x20019
push 0
push 0x51ece0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4acc4c
lea eax, [ebp - 0x1c]
mov esi, esp
push eax
push 0x20019
push 0
push str.ConnectFile
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jne 0x4acc0a
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x50], 9
mov esi, esp
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0
push str.bConnect
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x38], 0
mov esi, esp
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
jmp 0x4acc37
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
xor eax, eax
jmp 0x4accf5
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
jmp 0x4acc53
xor eax, eax
jmp 0x4accf5
mov esi, esp
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Trim]
cmp esi, esp
call fcn.004f90e1
push 0x51ed00
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00401bd0
add esp, 8
movzx edx, al
test edx, edx
je 0x4accd2
mov dword [ebp - 0x64], 1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x64]
jmp 0x4accf5
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x68]
push edx
mov ecx, ebp
push eax
lea edx, [0x4acd28]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004f90d3
pop edi
pop esi
add esp, 0x68
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret