Function at 0x441350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479b43
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x49c128]
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 ebx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
push 0x201
push 0
push ebx
push ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x44143e
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xd8]
call fcn.00404b20
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x441415
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.00416af0
mov al, byte [esi + 0x48]
test al, al
je 0x441415
mov edx, ebx
mov ecx, esi
call fcn.00416e30
mov al, byte [esi + 0x48]
test al, al
je 0x441415
mov edx, str._failed
mov ecx, esi
call fcn.00416af0
cmp byte [esi + 0x48], 0
je 0x441415
push edi
mov ecx, esi
call fcn.00435b20
lea ecx, [ebp - 0x78]
call fcn.004048b0
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.00452e26
add esp, 4
xor al, al
jmp 0x4415b1
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x1c]
push 0x7fff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00418b60
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.004572c0
add esp, 0xc
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push ecx
push 0
push 0
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4414e4
mov esi, dword [ebp - 0x1c]
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4414c6
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
sar edx, 1
push edx
push esi
call fcn.00418a50
jmp 0x44156e
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x180]
call fcn.00404b20
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
mov al, byte [esi + 0x48]
test al, al
je 0x441546
mov edx, str.RegQueryValueEx
mov ecx, esi
call fcn.00416af0
mov al, byte [esi + 0x48]
test al, al
je 0x441546
mov edx, ebx
mov ecx, esi
call fcn.00416e30
mov al, byte [esi + 0x48]
test al, al
je 0x441546
mov edx, str._failed
mov ecx, esi
call fcn.00416af0
cmp byte [esi + 0x48], 0
je 0x441546
push edi
mov ecx, esi
call fcn.00435b20
lea ecx, [ebp - 0x120]
call fcn.004048b0
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00452e26
add esp, 4
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
test edi, edi
sete bl
test edx, edx
je 0x4415af
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4415a5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4415cd
push ecx
push edx
call fcn.004553f5
add esp, 8
mov al, bl
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.004553e7
mov esp, ebp
pop ebp
ret
call fcn.00459a2f
int3