Function at 0x483ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c3c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
push ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [eax]
push 0x5a14f0
mov esi, 4
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x483e1f
cmp dword [ebp - 0x1c], esi
jne 0x483e1f
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0xc]
jne 0x483e1f
mov eax, dword [edi + 8]
push ebx
push ebx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov dword [ebp - 0x24], eax
cmp eax, ebx
jbe 0x483e0a
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0xe8]
mov eax, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x100], 0x5a6af0
mov dword [ebp - 0xf0], 0x5a29fc
mov dword [ebp - 0xa0], vtable.std::ios_base.0
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 1
or dword [ebp - 0x14], 2
push ebx
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x100]
call fcn.0047f560
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x100]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xe8]
mov dword [ebp + eax - 0x100], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00476c00
mov byte [ebp - 4], 3
mov dword [ebp - 0xe8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 4], 6
push esi
lea ecx, [ebp - 0xf0]
push 0x5a14e4
push ecx
call fcn.0047bd80
add esp, 8
mov ecx, eax
call fcn.0047d5e0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x18], 0x50
call fcn.004834f0
mov byte [ebp - 4], 8
or dword [ebp - 0x14], 1
cmp dword [eax + 0x14], 8
jb 0x483d1f
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x150]
push edx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x483d4a
cmp dword [ebp - 0x1c], 3
mov byte [ebp - 0xd], 1
je 0x483d4d
mov byte [ebp - 0xd], bl
mov dword [ebp - 4], 7
test byte [ebp - 0x14], 1
je 0x483d80
and dword [ebp - 0x14], 0xfffffffe
cmp dword [ebp - 0x44], 8
jb 0x483d70
mov eax, dword [ebp - 0x58]
push eax
call fcn.00553d26
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], cx
cmp byte [ebp - 0xd], bl
je 0x483dc4
mov edx, dword [ebp - 0x11c]
mov eax, dword [edi + 8]
push ebx
push edx
push 0x410
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 8]
push esi
push eax
push 0x427
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 8]
lea edx, [ebp - 0x150]
push edx
push esi
push 0x40b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00477d10
mov dword [ebp - 0xa0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.0053fee3
inc esi
add esp, 4
cmp esi, dword [ebp - 0x24]
jb 0x483c40
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8