Function at 0x41bbe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45efea
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x476028]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp dword [esi + 0x14], 8
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x18], 0
jb 0x41bc30
mov eax, dword [esi]
jmp 0x41bc32
mov eax, esi
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x41beb0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41beb0
push eax
mov ecx, ebx
call fcn.00405950
cmp dword [esi + 0x14], 8
jb 0x41bc6b
mov eax, dword [esi]
jmp 0x41bc6d
mov eax, esi
lea ecx, [ebp - 0x18]
push ecx
push dword [ebx]
push dword [ebp - 0x100]
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x41bed0
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
call fcn.0040e650
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41bcc4
mov ecx, dword [esi]
jmp 0x41bcc6
mov ecx, esi
mov edx, dword [esi + 0x10]
cmp eax, 8
jb 0x41bcd0
mov esi, dword [esi]
lea eax, [ecx + edx*2]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0040adb0
push ecx
lea ecx, [ebp - 0xe4]
call fcn.004014c0
sub esp, 8
lea ecx, [ebp - 0xe4]
call fcn.00404c60
mov edx, ebx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.004212e0
mov ebx, eax
mov byte [ebp - 4], 2
push dword [edi + 0x1c]
mov edx, str.Failed_to_get_key_value:
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0040a140
add esp, 4
mov ecx, eax
call fcn.00418940
mov edx, 0x46b160
mov ecx, eax
call fcn.0040a140
mov esi, eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x30]
call fcn.004139b0
mov edx, eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040a400
mov byte [ebp - 4], 2
cmp dword [ebp - 0xe8], 8
mov esi, eax
jb 0x41bd73
push dword [ebp - 0xfc]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov edx, 0x46b1a0
mov ecx, esi
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
call fcn.0040a140
mov edx, ebx
mov ecx, eax
call fcn.0040a400
cmp dword [ebp - 0x104], 8
jb 0x41bdbc
push dword [ebp - 0x118]
call fcn.0043f2ce
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 7
mov dword [ebp - 0xec], 0
mov word [ebp - 0xfc], ax
mov byte [ebp - 4], 4
cmp dword [0x47778c], 8
mov eax, dword [0x477788]
mov esi, 0x477778
mov edx, esi
cmovae edx, dword [0x477778]
cmovae esi, dword [0x477778]
lea eax, [edx + eax*2]
push eax
push esi
lea ecx, [ebp - 0xfc]
call fcn.0040adb0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 5
call fcn.00404d90
lea edx, [ebp - 0xfc]
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0041edd0
cmp dword [ebp - 0x104], 8
jb 0x41be4c
push dword [ebp - 0x118]
call fcn.0043f2ce
add esp, 4
xor eax, eax
cmp dword [ebp - 0xe8], 8
mov dword [ebp - 0x104], 7
mov dword [ebp - 0x108], 0
mov word [ebp - 0x118], ax
jb 0x41be80
push dword [ebp - 0xfc]
call fcn.0043f2ce
add esp, 4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0
call fcn.00404d10
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], vtable.std::ios_base.0
call fcn.0042af96
add esp, 4
cmp dword [ebp - 0x1c], 8
jb 0x41beb0
push dword [ebp - 0x30]
call fcn.0043f2ce
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043f2bf
mov esp, ebp
pop ebp
ret 0xc
mov al, 1
jmp 0x41beb2