Function at 0x46a0d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6de2
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x517b80]
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 eax, dword [ebp + 0xc]
mov ecx, dword [0x52ee74]
mov dword [ebp - 0x1c], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x52dfc0]
mov dword [ebp - 0x24], ebx
cmp eax, dword [ebx + 0xc]
jg 0x46a3c6
mov eax, dword [0x52dfcc]
cmp eax, dword [ebx + 0xc]
jg 0x46a53a
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
push 0
push ecx
push ecx
push 1
movzx eax, si
push eax
push dword [0x52f1b0]
mov dword [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov bh, byte [ebp + 0x10]
mov edi, eax
test bh, bh
je 0x46a1f2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 4
push eax
push 0
push 0x10
push 0x4f3fe4
push 0x4f3fa4
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [ebp - 0x1c], 1
jne 0x46a1f2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 4
push eax
push 0
push 0x10
push 0x4f4004
push 0x4f3fa4
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp - 0x24]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dx
shr eax, 8
lea eax, [eax + eax*4]
add ecx, eax
movzx eax, dl
lea eax, [ecx + eax*2]
cmp eax, 0x400
setbe bl
jmp 0x46a200
call fcn.00413530
mov ecx, eax
call fcn.00411430
mov bl, al
lea eax, [ebp + 8]
mov ecx, 0x52dfb8
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00425f20
mov ecx, dword [ebp - 0x30]
mov eax, dword [0x52dfb8]
cmp byte [ecx + 0xd], 0
jne 0x46a225
cmp esi, dword [ecx + 0x10]
jae 0x46a227
mov ecx, eax
test bh, bh
jne 0x46a2a0
cmp ecx, eax
je 0x46a2a0
movzx eax, bl
mov dword [ebp - 0x90], vtable.std::_Func_impl_no_alloc_class__struct_HICON______cdecl_LoadIconWithTheme_unsigned_int__int__bool_::_2::_lambda_1___void__int__int__struct_tagRGBQUAD__.0
mov eax, dword [ecx + eax*4 + 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x6c], eax
push eax
push edi
mov dword [ebp - 4], 6
call fcn.00467af0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x46a39b
mov esi, dword [eax]
lea ecx, [ebp - 0x90]
cmp eax, ecx
setne dl
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx edx, dl
push edx
call dword [0x4dc8a4]
mov ecx, dword [ebp - 0x6c]
jmp 0x46a399
test bl, bl
je 0x46a3a8
lea eax, [ebp + 8]
mov ecx, 0x52dfc4
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00425f20
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0xd], 0
jne 0x46a32b
cmp esi, dword [eax + 0x10]
jb 0x46a32b
cmp eax, dword [0x52dfc4]
je 0x46a32b
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], vtable.std::_Func_impl_no_alloc_class__struct_HICON______cdecl_LoadIconWithTheme_unsigned_int__int__bool_::_2::_lambda_2___void__int__int__struct_tagRGBQUAD__.0
mov dword [ebp - 0xbc], eax
push eax
push edi
mov dword [ebp - 4], 7
call fcn.00467af0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x46a39b
mov esi, dword [eax]
lea ecx, [ebp - 0xe0]
cmp eax, ecx
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x4dc8a4]
mov ecx, dword [ebp - 0xbc]
jmp 0x46a399
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], 0xffffff
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], vtable.std::_Func_impl_no_alloc_class__struct_HICON______cdecl_LoadIconWithTheme_unsigned_int__int__bool_::_2::_lambda_1___void__int__int__struct_tagRGBQUAD__.0
mov dword [ebp - 0x94], eax
push eax
push edi
mov dword [ebp - 4], 8
call fcn.00467af0
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x46a39b
mov esi, dword [eax]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
setne al
mov esi, dword [esi + 0x10]
mov ecx, esi
movzx eax, al
push eax
call dword [0x4dc8a4]
mov ecx, dword [ebp - 0x94]
call esi
test ebx, ebx
je 0x46a3a8
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, ebx
mov eax, edi
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.004a71aa
mov esp, ebp
pop ebp
ret
push 0x52dfc0
call fcn.004a74f5
add esp, 4
cmp dword [0x52dfc0], 0xffffffff
jne 0x46a127
push 0x1c
mov dword [ebp - 4], 0
lea esi, [ebp - 0x68]
mov dword [ebp - 0x68], 0x8a
mov dword [ebp - 0x64], 0xc08000
mov dword [ebp - 0x60], 0xffc000
mov dword [ebp - 0x5c], 0x80
mov dword [ebp - 0x58], 0x90d0
mov dword [ebp - 0x54], 0xd0ff
mov dword [ebp - 0x50], 0x82
mov dword [ebp - 0x4c], 0x802060
mov dword [ebp - 0x48], 0xffa0c0
mov dword [ebp - 0x44], 0x83
mov dword [ebp - 0x40], 0x8020
mov dword [ebp - 0x3c], 0xd040
call fcn.004a71b8
mov edi, eax
add esp, 4
mov ebx, edi
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [edi + 8], edi
mov word [edi + 0xc], 0x101
mov dword [0x52dfb8], ebx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x46a514
jmp 0x46a471
push esi
push edi
lea eax, [ebp - 0xec]
mov ecx, 0x52dfb8
push eax
call fcn.00464100
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
test al, al
jne 0x46a504
cmp dword [0x52dfbc], 0x9249249
je 0x46a654
mov dword [ebp - 0x18], 0x52dfb8
push 0x1c
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
call fcn.004a71b8
movq xmm0, qword [esi]
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
movq qword [eax + 0x10], xmm0
mov ecx, dword [esi + 8]
mov dword [eax + 0x18], ecx
mov ecx, 0x52dfb8
push eax
push dword [ebp - 0x34]
mov dword [eax], ebx
push dword [ebp - 0x38]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov word [eax + 0xc], 0
call fcn.0041b620
mov ebx, dword [0x52dfb8]
jmp 0x46a504
add esi, 0xc
lea eax, [ebp - 0x38]
cmp esi, eax
jne 0x46a471
jmp 0x46a514
push 0x4db320
call fcn.004a7464
push 0x52dfc0
mov dword [ebp - 4], 0xffffffff
call fcn.004a74a4
mov ebx, dword [ebp - 0x24]
add esp, 8
jmp 0x46a127
push 0x52dfcc
call fcn.004a74f5
add esp, 4
cmp dword [0x52dfcc], 0xffffffff
jne 0x46a138
push 0x14
mov dword [ebp - 4], 3
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], 0xc4
call fcn.004a71b8
mov edi, eax
add esp, 4
mov ebx, edi
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [edi + 8], edi
mov word [edi + 0xc], 0x101
mov dword [0x52dfc4], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
cmp esi, eax
je 0x46a631
jmp 0x46a598
push esi
push edi
lea eax, [ebp - 0xec]
mov ecx, 0x52dfc4
push eax
call fcn.00464330
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
test al, al
jne 0x46a621
cmp dword [0x52dfc8], 0xccccccc
je 0x46a654
mov dword [ebp - 0x28], 0x52dfc4
push 0x14
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], 0
call fcn.004a71b8
mov ecx, dword [esi]
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 0
mov dword [eax + 0x10], ecx
mov ecx, 0x52dfc4
push eax
push dword [ebp - 0x34]
mov dword [eax], ebx
push dword [ebp - 0x38]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov word [eax + 0xc], 0
call fcn.0041b620
mov ebx, dword [0x52dfc4]
jmp 0x46a621
add esi, 4
lea eax, [ebp - 0x10]
cmp esi, eax
jne 0x46a598
jmp 0x46a631
push 0x4db2d0
call fcn.004a7464
push 0x52dfcc
mov dword [ebp - 4], 0xffffffff
call fcn.004a74a4
add esp, 8
jmp 0x46a138
call fcn.0041b810
int3