Function at 0x437660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619d5e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x69cffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437cc1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, str.SoftwareRegInfo
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
test eax, 0xffff0000
jne 0x4376d3
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x4376df
push 0x10
push str.SoftwareRegInfo
call fcn.00402df0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x4376fe
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x437714
call fcn.0044a657
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x437ccb
mov eax, dword [ecx]
call dword [eax + 0xc]
push 7
push str.Client
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00404650
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
add esp, 0x14
mov dword [ebp - 0x20], 0
push eax
push 0x2001f
push 0
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [ebp - 0x20]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 2
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43777f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x437798
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x437cad
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437cd5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov esi, 0x66eae8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
shr esi, 0x10
test esi, esi
jne 0x4377e2
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x4377ee
push 0
push 0x66eae8
call fcn.00402df0
push edi
mov edx, str.ServerIP
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00438b70
add esp, 8
and al, 1
mov byte [ebp - 0x11], al
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437cdf
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 5
test esi, esi
jne 0x43783f
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x43784b
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 4]
mov byte [ebp - 4], 0
push eax
mov edx, str.BaseDirectory
mov ecx, ebx
call fcn.00438b70
add esp, 8
mov cl, al
and byte [ebp - 0x11], cl
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437ce9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 6
test esi, esi
jne 0x43789f
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x4378ab
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 8]
mov byte [ebp - 4], 0
push eax
mov edx, str.UserName
mov ecx, ebx
call fcn.00438b70
and byte [ebp - 0x11], al
add esp, 8
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437cf3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 7
test esi, esi
jne 0x4378fd
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x437909
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 0xc]
mov byte [ebp - 4], 0
push eax
mov edx, 0x6727e4
mov ecx, ebx
call fcn.00438b70
and byte [ebp - 0x11], al
add esp, 8
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437cfd
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 8
test esi, esi
jne 0x43795b
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x437967
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 0x10]
mov byte [ebp - 4], 0
push eax
mov edx, 0x6727f8
mov ecx, ebx
call fcn.00438b70
and byte [ebp - 0x11], al
add esp, 8
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437d07
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 9
test esi, esi
jne 0x4379b9
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x4379c5
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 0x1c]
mov byte [ebp - 4], 0
push eax
mov edx, 0x670da0
mov ecx, ebx
call fcn.00438b70
and byte [ebp - 0x11], al
add esp, 8
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437d11
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x437a17
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x437a23
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 0x20]
mov byte [ebp - 4], 0
push eax
mov edx, str.OldVersion
mov ecx, ebx
call fcn.00438b70
add esp, 8
push ecx
mov dword [ebp - 0x24], esp
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437d1b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x24]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xb
test esi, esi
jne 0x437a72
mov eax, 0x66eae8
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x437a7e
push 0
push 0x66eae8
call fcn.00402df0
lea eax, [edi + 0x24]
mov byte [ebp - 4], 0
push eax
mov edx, 0x672824
mov ecx, ebx
call fcn.00438b70
and byte [ebp - 0x11], al
add esp, 8
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437d25
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.NetMnt.exe
mov byte [ebp - 4], 0xc
mov ecx, esi
test eax, 0xffff0000
jne 0x437ad4
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x437ae0
push 0xa
push str.NetMnt.exe
call fcn.00402df0
lea eax, [edi + 0x64]
mov byte [ebp - 4], 0
push eax
mov edx, str.NetMnt
mov ecx, ebx
call fcn.00438b70
add esp, 8
push ecx
mov esi, esp
mov dword [ebp - 0x24], esi
call fcn.0044a657
mov ecx, eax
test ecx, ecx
je 0x437d2f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, str.TVUpdater.exe
mov byte [ebp - 4], 0xd
mov ecx, esi
test eax, 0xffff0000
jne 0x437b33
movzx eax, ax
push eax
call fcn.00402c80
jmp 0x437b3f
push 0xd
push str.TVUpdater.exe
call fcn.00402df0
lea eax, [edi + 0x60]
mov byte [ebp - 4], 0
push eax
mov edx, str.TVUpdater
mov ecx, ebx
call fcn.00438b70
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x24]
add esp, 8
mov dword [edi + 0x14], 1
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.SessionTime
push ebx
call esi
test eax, eax
jne 0x437b8f
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x14], eax
cmp dword [edi + 0x14], 0
jne 0x437b9c
mov dword [edi + 0x14], 1
lea eax, [ebp - 0x24]
mov dword [edi + 0x18], 0x12c
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 4
push eax
push 0
push 0
push str.ActiveDuration
push ebx
mov dword [ebp - 0x1c], 0
call esi
test eax, eax
jne 0x437bcf
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x18], eax
cmp dword [edi + 0x18], 0
jne 0x437bdc
mov dword [edi + 0x18], 0x12c
lea eax, [ebp - 0x24]
mov dword [edi + 0x30], 0x23
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 4
push eax
push 0
push 0
push str.CaptureTime
push ebx
mov dword [ebp - 0x1c], 0
call esi
test eax, eax
jne 0x437c0f
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x437c22
mov dword [edi + 0x30], 0x23
mov eax, 0x23
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
mov dword [edi + 0x28], 0
push eax
push 0
push 0
push str.EnableRemote
push ebx
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x1c], 0
call esi
test eax, eax
jne 0x437c58
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x28], eax
lea eax, [ebp - 0x28]
mov dword [edi + 0x2c], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 4
push eax
push 0
push 0
push str.EnableDataSend
push ebx
mov dword [ebp - 0x18], 0
call esi
test eax, eax
jne 0x437c8b
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x2c], ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
push 0x80004005
call fcn.00403270
int3