Function at 0x4371f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x61c
mov eax, dword [0x498e04]
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.00449d00
push 9
push str.softwaremicrosoftwindows_ntcurrentversionperflib
lea ecx, [esp + 0x22c]
push str._s_03x
push ecx
call fcn.004161f0
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 0x43752f
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 0x437523
mov ecx, dword [esp + 4]
push ebp
push ecx
call fcn.0044c06b
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x437522
mov edx, dword [esp + 8]
push esi
push edi
push edx
push 0
push ebp
call fcn.00449d00
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 0x437513
cmp byte [ebp], al
mov esi, ebp
je 0x4373b9
lea esp, [esp]
push str.process
push esi
call fcn.0044fcfb
add esp, 8
test eax, eax
jne 0x437345
movsx eax, byte [esi - 2]
lea edi, [esi - 2]
push eax
call fcn.0044fdd3
add esp, 4
test eax, eax
je 0x43732a
movsx ecx, byte [edi - 1]
sub edi, 1
push ecx
call fcn.0044fdd3
add esp, 4
test eax, eax
jne 0x437316
add edi, 1
push edi
lea edx, [esp + 0x22c]
push 0x400
push edx
call fcn.0044a9b1
add esp, 0xc
jmp 0x437394
push str.id_process
push esi
call fcn.0044bf57
add esp, 8
test eax, eax
jne 0x437394
movsx eax, byte [esi - 2]
lea edi, [esi - 2]
push eax
call fcn.0044b026
add esp, 4
test eax, eax
je 0x437384
jmp 0x437370
movsx ecx, byte [edi - 1]
sub edi, 1
push ecx
call fcn.0044b026
add esp, 4
test eax, eax
jne 0x437370
add edi, 1
push edi
call fcn.00449d7a
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 0x4373a0
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x4372f0
push ebp
call fcn.0044c12e
push 0xc800
mov dword [esp + 0x18], 0xc800
call fcn.0044c06b
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x437520
mov edx, dword [esp + 0x10]
push edx
push 0
push ebp
call fcn.00449d00
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 0x437443
cmp eax, 0xea
jne 0x437513
mov eax, dword [esp + 0x10]
add eax, 0x6400
push eax
push ebp
mov dword [esp + 0x18], eax
call fcn.0044f109
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
push 0
push ebp
call fcn.00449d00
add esp, 0x14
jmp 0x4373f0
cmp dword [esp + 0x10], 0
jbe 0x437513
cmp word [ebp], 0x50
jne 0x437513
cmp word [ebp + 2], 0x45
jne 0x437513
cmp word [ebp + 4], 0x52
jne 0x437513
cmp word [ebp + 6], 0x46
jne 0x437513
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 0x4374a4
add edx, 4
mov edi, dword [esp + 0x1c]
cmp dword [edx], edi
je 0x4374a4
add eax, 1
add edx, 0x28
cmp eax, esi
jb 0x437492
mov edx, dword [ecx + 0x28]
cmp edx, 0x100
jbe 0x4374b4
mov edx, 0x100
mov eax, dword [ecx + 4]
add eax, ecx
test edx, edx
jbe 0x437513
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.0044f820
mov eax, esi
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4374e5
sub eax, edx
sar eax, 1
cmp eax, 0x103
jae 0x437500
mov word [esp + eax*2 + 0x20], cx
mov word [esp + 0x226], 0
mov eax, dword [edi]
add eax, edi
sub ebx, 1
jne 0x4374c3
test ebp, ebp
je 0x437520
push ebp
call fcn.0044c12e
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.00449ce2
add esp, 0x61c
ret