Function at 0x41b650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x456d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x224], ecx
cmp dword [0x4588e4], edi
je 0x41b6c9
cmp byte [ebp + 0x20], 0
jne 0x41b6c9
cmp byte [0x4587e0], 0
je 0x41b6b7
push 0x4587e0
push dword [ebp + 0x18]
push ebx
call fcn.00427b16
add esp, 0xc
lea eax, [edi + 1]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265fb
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265fb
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
mov dword [0x4588e4], 1
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b6b7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x214]
push eax
push 0
lea eax, [ebp - 0x220]
push eax
push 0
push str.Order
push dword [ebp - 0x210]
call esi
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x41b8c9
inc eax
push eax
mov dword [ebp - 0x214], eax
call fcn.00427138
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], ebx
push eax
push ebx
lea eax, [ebp - 0x220]
push eax
push 0
push str.Order
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x41b8b6
lea eax, [ebp - 0x228]
push eax
push 0x4468b8
push ebx
call fcn.0042be31
add esp, 0xc
mov esi, eax
lea ebx, [ebx]
test esi, esi
je 0x41b8b0
cmp byte [esi], 0x5c
lea eax, [ebp - 0x108]
push esi
je 0x41b7a1
push str._s
push eax
call fcn.00404cf0
jmp 0x41b7ac
push 0x104
push eax
call fcn.00427b16
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0042a690
lea ecx, [ebp - 0x108]
add esp, 8
mov ebx, eax
lea edx, [ecx + 1]
jmp 0x41b7d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b7d0
sub ecx, edx
mov edx, ebx
lea edi, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x41b7e0
sub edx, edi
lea eax, [ebp - 0x108]
sub ecx, edx
push ecx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00427f68
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b810
sub eax, edx
mov edx, ebx
lea edi, [edx + 1]
mov edi, edi
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x41b820
sub edx, edi
sub eax, edx
cmp eax, 0x104
jae 0x41b924
mov byte [ebp + eax - 0x20c], cl
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push str._s__s
push eax
call fcn.00404cf0
push esi
push str.pGroupName___s_n
push 3
call fcn.0041a380
push dword [ebp - 0x224]
push esi
call fcn.00420b30
mov edi, eax
mov ecx, str.true
test edi, edi
mov eax, str.false
cmove ecx, eax
push ecx
push str.bMember___s_r_n
push 3
call fcn.0041a380
lea eax, [ebp - 0x228]
push eax
push 0x4468b8
push 0
call fcn.0042be31
add esp, 0x3c
mov esi, eax
test edi, edi
je 0x41b780
mov ebx, dword [ebp - 0x218]
test ebx, ebx
je 0x41b8c3
push ebx
call fcn.00426f24
add esp, 4
mov ebx, dword [ebp - 0x21c]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
test edi, edi
je 0x41b912
lea eax, [ebp - 0x106]
push eax
push 0x104
push 0x4587e0
call fcn.00427b16
push 0x4587e0
push dword [ebp + 0x18]
push ebx
call fcn.00427b16
push 0x4587e0
push str.GroupReg___s_n
push 3
call fcn.0041a380
add esp, 0x24
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004265fb
mov esp, ebp
pop ebp
ret
call fcn.00428745
int3