Function at 0x435b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fad8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push esi
push edi
lea eax, [ebp - 0x204]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00401350
add esp, 4
lea ecx, [ebp - 0x84]
push 1
call fcn.004f0653
mov edx, dword [0x4fe4e8]
lea ecx, [ebp - 0x84]
push edx
push 8
push str.c:endpcacheprocess_log.txt
mov byte [ebp - 4], 1
call fcn.004f0727
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
push 0x20019
push esi
push str.SYSTEMCurrentControlSetServicesTermService
push closesocket
mov dword [ebp - 0x18], 0x80
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push esi
push str.Start
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x435e44
mov eax, dword [ebp - 0x284]
and eax, 0xff
jne 0x435d4e
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x184]
push eax
push 0x51aed8
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
cmp eax, esi
jne 0x435d0f
cmp dword [0xe56dbc], esi
jne 0x435cdb
mov ebx, dword [ebp + 0x1b4]
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
mov ecx, 0x6a
push edx
push ebx
push eax
lea esi, [ebp + 8]
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
jmp 0x435d15
mov ebx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
lea esi, [ebp + 8]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
jmp 0x435d15
mov ebx, dword [ebp + 0x1b4]
lea eax, [ebp - 0x184]
lea ecx, [ebp - 0x78]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0xe56d6c]
mov esi, 1
inc eax
mov dword [0xe56d6c], eax
jmp 0x435e4a
cmp eax, 2
jne 0x435e44
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x204]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x184]
push 0x51ae88
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
cmp eax, esi
jne 0x435e08
cmp dword [0xe56dbc], esi
jne 0x435dd4
mov ebx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
lea esi, [ebp + 8]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
jmp 0x435e0e
mov ebx, dword [ebp + 0x1b4]
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
lea esi, [ebp + 8]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
jmp 0x435e0e
mov ebx, dword [ebp + 0x1b4]
lea edx, [ebp - 0x184]
lea ecx, [ebp - 0x78]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0xe56d6c]
mov esi, 1
inc eax
mov dword [0xe56d6c], eax
jmp 0x435e4a
mov ebx, dword [ebp + 0x1b4]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesRDSessMgr
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x284]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push str.Start
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43603d
mov eax, dword [ebp - 0x284]
and eax, 0xff
jne 0x435f62
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x204]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x184]
push eax
push 0x51ae0c
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x435f56
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x435f2a
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
lea ecx, [ebp - 0x184]
push ecx
jmp 0x436010
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea ecx, [ebp - 0x184]
push ecx
jmp 0x436010
cmp eax, 2
jne 0x43603d
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x184]
push eax
push 0x51adb8
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x436009
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x435fdd
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x436003
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x78]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0xe56d6c]
mov esi, 1
inc eax
mov dword [0xe56d6c], eax
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesTlntSvr
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x284]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push str.Start
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x436226
mov eax, dword [ebp - 0x284]
and eax, 0xff
jne 0x43614b
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x204]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x184]
push eax
push 0x51ad3c
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x43613f
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x436113
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
lea ecx, [ebp - 0x184]
push ecx
jmp 0x4361f9
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea ecx, [ebp - 0x184]
push ecx
jmp 0x4361f9
cmp eax, 2
jne 0x436226
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x184]
push eax
push 0x51ace8
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x4361f2
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x4361c6
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4361ec
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0x78]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0xe56d6c]
mov esi, 1
inc eax
mov dword [0xe56d6c], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesRemoteRegistry
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x284]
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
push str.Start
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x436419
mov eax, dword [ebp - 0x284]
and eax, 0xff
jne 0x43633e
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x204]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x184]
push 0x51ac60
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x436332
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x436306
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
lea edx, [ebp - 0x184]
push edx
jmp 0x4363ec
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea edx, [ebp - 0x184]
push edx
jmp 0x4363ec
cmp eax, 2
jne 0x436419
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x204]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x184]
push eax
push 0x51ac08
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x4363e5
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x4363b9
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4363df
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x78]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0xe56d6c]
mov esi, 1
inc eax
mov dword [0xe56d6c], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesCiSvc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
push 0
push str.Start
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43660c
mov eax, dword [ebp - 0x284]
and eax, 0xff
jne 0x436531
lea edx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x184]
push eax
push 0x51ab94
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x436525
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x4364f9
mov eax, dword [ebp + 0x1b0]
lea edx, [ebp - 0x184]
push edx
push ebx
push eax
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
add esp, 0x1b4
lea eax, [ebp - 0x184]
push eax
jmp 0x4365df
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea eax, [ebp - 0x184]
push eax
jmp 0x4365df
cmp eax, 2
jne 0x43660c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x184], 0
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x204]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x184]
push 0x51ab44
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x10
test eax, eax
jne 0x4365d8
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x4365ac
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4365d2
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x78]
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [0xe56d6c]
mov esi, 1
inc eax
mov dword [0xe56d6c], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4366ef
lea ecx, [ebp - 0x3c]
push 0x51ab18
push ecx
mov byte [ebp - 0x184], 0
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x204]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x184]
push 0x5190b4
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x4366c1
mov eax, dword [0xe56dbc]
test eax, eax
jne 0x436695
mov edx, dword [ebp + 0x1b0]
lea ecx, [ebp - 0x184]
push ecx
push ebx
push edx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x4366bb
mov ecx, dword [ebp + 0x1b0]
lea eax, [ebp - 0x184]
push eax
push ebx
push ecx
mov ecx, 0x6a
sub esp, 0x1a8
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea edx, [ebp - 0x184]
lea ecx, [ebp - 0x78]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov dword [0xe56d6c], 0
lea ecx, [ebp - 0x84]
call fcn.004f076e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x70]
call fcn.004f05fb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret