Function at 0x41f530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e552
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x48d814]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x8c]
mov esi, ecx
push eax
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xc0], edi
call fcn.0041c6d0
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [esi + 0x18]
mov eax, dword [esi]
test ecx, ecx
je 0x41f58f
cmp ecx, eax
je 0x41f594
call fcn.00450ac2
cmp dword [ebp - 0x88], ebx
jne 0x41faf0
lea ecx, [ebp - 0xec]
call fcn.0043d6d0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp - 4], 1
xor ecx, ecx
push 0x1a
mov word [ebp - 0x44], cx
push str.SOFTWAREATAE_TestingQL_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
call fcn.00402fe0
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.00406370
push 4
push str.4.0
lea ecx, [ebp - 0x48]
call fcn.00406500
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x41f604
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x84]
push edx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fa8d
lea ecx, [ebp - 0xb4]
call fcn.0043d6d0
mov byte [ebp - 4], 3
push ebx
push ebx
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x9c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41f682
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0041d460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00402020
jmp 0x41fac9
mov eax, dword [ebp - 0x90]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f520
mov esi, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xb8], esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x94]
inc eax
push eax
call fcn.0044f520
add esp, 8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 5
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], cx
mov byte [ebp - 4], 6
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
mov byte [ebp - 4], al
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041c570
mov edx, dword [ebp - 0x94]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041c570
xor edi, edi
cmp dword [ebp - 0x9c], ebx
jbe 0x41f80a
mov eax, dword [ebp - 0x90]
push ebx
push ebx
lea ecx, [ebp - 0xd0]
push ecx
push ebx
lea edx, [ebp - 0xcc]
push edx
inc eax
push esi
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x84]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41f7fd
cmp dword [ebp - 0xd0], 1
jne 0x41f7fd
mov eax, esi
lea edx, [eax + 2]
jmp 0x41f780
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f780
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.00402fe0
cmp dword [ebp - 0x50], 7
jbe 0x41f7fd
push 7
push ebx
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00408740
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x80]
call fcn.00402a00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
call fcn.00402020
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x41f7dc
lea eax, [ebp - 0x7c]
push eax
push 0x474b38
call fcn.00450d36
add esp, 8
test eax, eax
jne 0x41f7fd
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0xb4]
call fcn.0041f020
inc edi
cmp edi, dword [ebp - 0x9c]
jb 0x41f731
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
mov edi, eax
cmp esi, eax
jbe 0x41f82d
call fcn.00450ac2
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xb4]
cmp esi, eax
jbe 0x41f83c
call fcn.00450ac2
test ebx, ebx
je 0x41f848
cmp ebx, dword [ebp - 0xb4]
je 0x41f84d
call fcn.00450ac2
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
push 0x41c4b0
add eax, edx
push eax
push edi
push esi
call fcn.0041ebf0
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
add esp, 0x10
cmp esi, eax
jbe 0x41f88f
call fcn.00450ac2
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], esi
mov esi, eax
cmp dword [ebp - 0xa8], eax
jbe 0x41f8b0
call fcn.00450ac2
xor ebx, ebx
cmp edi, ebx
je 0x41f8be
cmp edi, dword [ebp - 0xb4]
je 0x41f8c3
call fcn.00450ac2
cmp dword [ebp - 0x88], esi
je 0x41f9d4
mov ecx, dword [ebp - 0x94]
inc ecx
mov dword [ebp - 0xc8], ecx
cmp edi, ebx
jne 0x41f9c9
call fcn.00450ac2
xor eax, eax
mov edx, dword [ebp - 0x88]
cmp edx, dword [eax + 0x10]
jb 0x41f8fb
call fcn.00450ac2
mov eax, dword [ebp - 0x88]
add eax, 4
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41f910
mov eax, dword [eax]
mov esi, dword [ebp - 0x98]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0xc8]
push ecx
push esi
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f990
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f937
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jbe 0x41f981
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41f963
call fcn.00450ac2
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x41f96e
lea eax, [ebp - 0x28]
cmp word [eax + esi*2], 0x5c
je 0x41f981
push 0x5c
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041c610
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xec]
call fcn.0041f020
mov eax, dword [ebp - 0x8c]
cmp eax, ebx
jne 0x41f9d0
call fcn.00450ac2
xor eax, eax
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax + 0x10]
jb 0x41f9b1
call fcn.00450ac2
add dword [ebp - 0x88], 0x1c
mov eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x8c]
jmp 0x41f8a1
mov eax, dword [edi]
jmp 0x41f8eb
mov eax, dword [eax]
jmp 0x41f9a1
mov byte [ebp - 4], 7
mov edi, 8
cmp dword [ebp - 0x68], edi
jb 0x41f9ee
mov edx, dword [ebp - 0x7c]
push edx
call fcn.00450138
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], edi
jb 0x41fa14
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00450138
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x4c], edi
jb 0x41fa35
mov eax, dword [ebp - 0x60]
push eax
call fcn.00450138
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x98]
push edx
call fcn.00450ad2
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xc4]
push eax
call fcn.00450ad2
add esp, 8
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0041d460
mov esi, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xc0]
xor ebx, ebx
lea ecx, [ebp - 0xec]
push ecx
push edi
mov ecx, esi
call fcn.0041f430
mov ecx, eax
call fcn.0041e190
mov byte [ebp - 4], 1
cmp dword [ebp - 0x30], 8
jb 0x41fab9
mov edx, dword [ebp - 0x44]
push edx
call fcn.00450138
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84]
cmp eax, ebx
je 0x41fade
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.0041d460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045075f
mov esp, ebp
pop ebp
ret 4