Function at 0x41b9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4822eb
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x4a2e7c]
xor eax, esp
mov dword [esp + 0x554], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2e7c]
xor eax, esp
push eax
lea eax, [esp + 0x56c]
mov dword fs:[0], eax
push 9
push str.softwaremicrosoftwindows_ntcurrentversionperflib
lea eax, [esp + 0x170]
push str._s_03x
push eax
mov dword [esp + 0x34], ecx
call fcn.0041b570
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x174]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41bda9
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push 0
push str.Counters
push edx
call ebx
test eax, eax
jne 0x41bd9e
mov eax, dword [esp + 0x14]
push eax
call fcn.0044dad6
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x41bd9e
mov ecx, dword [esp + 0x14]
push ecx
push 0
push ebp
call fcn.0044c830
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x30]
push eax
push 0
push str.Counters
push ecx
call ebx
test eax, eax
jne 0x41bd91
cmp byte [ebp], al
mov esi, ebp
je 0x41bbb9
jmp 0x41baf0
push str.process
push esi
call fcn.00450ab4
add esp, 8
test eax, eax
jne 0x41bb45
movsx edx, byte [esi - 2]
lea edi, [esi - 2]
push edx
call fcn.00450c74
add esp, 4
test eax, eax
je 0x41bb2a
movsx eax, byte [edi - 1]
sub edi, 1
push eax
call fcn.00450c74
add esp, 4
test eax, eax
jne 0x41bb16
add edi, 1
push edi
lea ecx, [esp + 0x16c]
push 0x400
push ecx
call fcn.0044ca7b
add esp, 0xc
jmp 0x41bb94
push str.id_process
push esi
call fcn.0044d9c2
add esp, 8
test eax, eax
jne 0x41bb94
movsx edx, byte [esi - 2]
lea edi, [esi - 2]
push edx
call fcn.0044cde4
add esp, 4
test eax, eax
je 0x41bb84
jmp 0x41bb70
movsx eax, byte [edi - 1]
sub edi, 1
push eax
call fcn.0044cde4
add esp, 4
test eax, eax
jne 0x41bb70
add edi, 1
push edi
call fcn.0044c365
add esp, 4
mov dword [esp + 0x18], eax
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41bba0
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x41baf0
push ebp
call fcn.0044db99
push 0xc800
mov dword [esp + 0x1c], 0xc800
call fcn.0044dad6
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x41bd9e
mov ecx, dword [esp + 0x14]
push ecx
push 0
push ebp
call fcn.0044c830
add esp, 0xc
mov edi, edi
lea edx, [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0x178]
push ecx
push reloc.WS2_32.dll_connect
call ebx
test eax, eax
je 0x41bc43
cmp eax, 0xea
jne 0x41bd91
mov eax, dword [esp + 0x14]
add eax, 0x6400
push eax
push ebp
mov dword [esp + 0x1c], eax
call fcn.0044fc99
mov edx, dword [esp + 0x1c]
push edx
mov ebp, eax
push 0
push ebp
call fcn.0044c830
add esp, 0x14
jmp 0x41bbf0
cmp dword [esp + 0x14], 0
jbe 0x41bd91
cmp word [ebp], 0x50
jne 0x41bd91
cmp word [ebp + 2], 0x45
jne 0x41bd91
cmp word [ebp + 4], 0x52
jne 0x41bd91
cmp word [ebp + 6], 0x46
jne 0x41bd91
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + ebp + 8]
mov esi, dword [eax + ebp + 0x20]
add eax, ebp
add ecx, eax
xor edx, edx
test esi, esi
jbe 0x41bcac
nop
mov edi, dword [esp + 0x18]
cmp dword [ecx + 4], edi
je 0x41bca5
add edx, 1
add ecx, 0x28
cmp edx, esi
jb 0x41bc90
jmp 0x41bcac
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x28]
cmp ecx, 0x100
jbe 0x41bcbc
mov ecx, 0x100
mov esi, dword [eax + 4]
add esi, eax
test ecx, ecx
jbe 0x41bd91
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x10]
push 0
push 0
push 0x104
lea edx, [esp + 0x70]
push edx
push 0xffffffffffffffff
add eax, esi
push eax
push 0
push 0
call ebx
test eax, eax
je 0x41bd82
mov edi, dword [esi]
mov eax, dword [esp + 0x20]
add edi, esi
mov esi, dword [edi + eax]
push esi
lea ecx, [esp + 0x48]
push 0x48c278
push ecx
call fcn.0040dd60
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x44]
push edx
add ecx, 0x14
call fcn.0041a7b0
push 0
push esi
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0041b360
lea ecx, [esp + 0x2c]
mov dword [esp + 0x574], 0
call fcn.00416460
test eax, eax
jne 0x41bd5c
lea ecx, [esp + 0x64]
push ecx
jmp 0x41bd66
lea ecx, [esp + 0x2c]
call fcn.00416560
push eax
lea ecx, [esi + 4]
call fcn.0041a7b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x574], 0xffffffff
call fcn.00416420
mov esi, dword [edi]
add esi, edi
sub dword [esp + 0x18], 1
jne 0x41bcd7
test ebp, ebp
je 0x41bd9e
push ebp
call fcn.0044db99
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x56c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x554]
xor ecx, esp
call fcn.0044b607
add esp, 0x564
ret