Function at 0x439c70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x61c
mov eax, dword [0x4a2e7c]
xor eax, esp
mov dword [esp + 0x618], eax
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.0044c830
push 9
push str.softwaremicrosoftwindows_ntcurrentversionperflib
lea ecx, [esp + 0x22c]
push str._s_03x
push ecx
call fcn.0041b570
add esp, 0x1c
lea edx, [esp + 4]
push edx
push 0x20019
push 0
lea eax, [esp + 0x224]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439faf
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push str.Counters
push eax
call ebx
test eax, eax
jne 0x439fa3
mov ecx, dword [esp + 4]
push ebp
push ecx
call fcn.0044dad6
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x439fa2
mov edx, dword [esp + 8]
push esi
push edi
push edx
push 0
push ebp
call fcn.0044c830
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0
push str.Counters
push edx
call ebx
test eax, eax
jne 0x439f93
cmp byte [ebp], al
mov esi, ebp
je 0x439e39
lea esp, [esp]
push str.process
push esi
call fcn.00450ab4
add esp, 8
test eax, eax
jne 0x439dc5
movsx eax, byte [esi - 2]
lea edi, [esi - 2]
push eax
call fcn.00450c74
add esp, 4
test eax, eax
je 0x439daa
movsx ecx, byte [edi - 1]
sub edi, 1
push ecx
call fcn.00450c74
add esp, 4
test eax, eax
jne 0x439d96
add edi, 1
push edi
lea edx, [esp + 0x22c]
push 0x400
push edx
call fcn.0044ca7b
add esp, 0xc
jmp 0x439e14
push str.id_process
push esi
call fcn.0044d9c2
add esp, 8
test eax, eax
jne 0x439e14
movsx eax, byte [esi - 2]
lea edi, [esi - 2]
push eax
call fcn.0044cde4
add esp, 4
test eax, eax
je 0x439e04
jmp 0x439df0
movsx ecx, byte [edi - 1]
sub edi, 1
push ecx
call fcn.0044cde4
add esp, 4
test eax, eax
jne 0x439df0
add edi, 1
push edi
call fcn.0044c365
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x439e20
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x439d70
push ebp
call fcn.0044db99
push 0xc800
mov dword [esp + 0x18], 0xc800
call fcn.0044dad6
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x439fa0
mov edx, dword [esp + 0x10]
push edx
push 0
push ebp
call fcn.0044c830
add esp, 0xc
mov edi, edi
lea eax, [esp + 0x10]
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x238]
push edx
push reloc.WS2_32.dll_connect
call ebx
test eax, eax
je 0x439ec3
cmp eax, 0xea
jne 0x439f93
mov eax, dword [esp + 0x10]
add eax, 0x6400
push eax
push ebp
mov dword [esp + 0x18], eax
call fcn.0044fc99
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
push 0
push ebp
call fcn.0044c830
add esp, 0x14
jmp 0x439e70
cmp dword [esp + 0x10], 0
jbe 0x439f93
cmp word [ebp], 0x50
jne 0x439f93
cmp word [ebp + 2], 0x45
jne 0x439f93
cmp word [ebp + 4], 0x52
jne 0x439f93
cmp word [ebp + 6], 0x46
jne 0x439f93
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + ebp + 8]
mov esi, dword [ecx + ebp + 0x20]
add ecx, ebp
add edx, ecx
xor eax, eax
test esi, esi
jbe 0x439f24
add edx, 4
mov edi, dword [esp + 0x1c]
cmp dword [edx], edi
je 0x439f24
add eax, 1
add edx, 0x28
cmp eax, esi
jb 0x439f12
mov edx, dword [ecx + 0x28]
cmp edx, 0x100
jbe 0x439f34
mov edx, 0x100
mov eax, dword [ecx + 4]
add eax, ecx
test edx, edx
jbe 0x439f93
mov edi, dword [esp + 0x1c]
mov ebx, edx
mov esi, dword [eax + 0x10]
push 0x103
add esi, eax
push esi
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.0045063d
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439f65
sub eax, edx
sar eax, 1
cmp eax, 0x103
jae 0x439f80
mov word [esp + eax*2 + 0x20], cx
mov word [esp + 0x226], 0
mov eax, dword [edi]
add eax, edi
sub ebx, 1
jne 0x439f43
test ebp, ebp
je 0x439fa0
push ebp
call fcn.0044db99
add esp, 4
pop edi
pop esi
pop ebp
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [esp + 0x618]
xor ecx, esp
xor eax, eax
call fcn.0044b607
add esp, 0x61c
ret