Function at 0x412760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c2f6
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x398], esi
lea ecx, [ebp - 0x134]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0044fd40
push 8
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], reloc.WS2_32.dll_bind
mov dword [ebp - 0x130], 7
call fcn.00450b00
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
movups xmm0, xmmword [str.MACHINE]
cmove eax, dword [ebp - 0x12c]
movups xmmword [eax + 4], xmm0
push 1
push 0
push 0
push 0x557380
push esi
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0
call fcn.0044f620
test al, al
jne 0x41283b
mov ecx, esi
call fcn.00450c80
push 0x5573b4
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
mov byte [ebp - 0x389], 0
jmp 0x412a86
lea ecx, [ebp - 0x388]
call fcn.0044fd40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x380]
push 0x105
mov dword [ebp - 0x268], 0x105
call fcn.00450b00
cmp byte [ebp - 0x26c], 0
lea eax, [ebp - 0x37c]
lea ecx, [ebp - 0x394]
mov dword [ebp - 0x390], 0
cmove eax, dword [ebp - 0x380]
push ecx
add eax, 4
mov dword [ebp - 0x394], 0x208
push eax
lea eax, [ebp - 0x390]
push eax
push 0
push 0
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4128e0
cmp byte [ebp - 0x18], 0
lea edi, [ebp - 0x128]
push eax
cmove edi, dword [ebp - 0x12c]
mov ecx, esi
call fcn.00450c80
mov ecx, eax
call fcn.00450ff0
mov ecx, esi
call fcn.00450c80
push 0x59d0a8
jmp 0x412906
cmp dword [ebp - 0x390], 1
je 0x41295a
cmp byte [ebp - 0x18], 0
lea edi, [ebp - 0x128]
mov ecx, esi
cmove edi, dword [ebp - 0x12c]
call fcn.00450c80
push 0x59d0b8
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
lea ecx, [edi + 4]
push ecx
push 0x5971f4
push esi
call fcn.00450580
add esp, 0x18
lea ecx, [ebp - 0x388]
call fcn.0044ff00
mov ecx, dword [ebp - 0x398]
call fcn.00450c80
push 0x5573b4
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
mov byte [ebp - 0x389], 0
jmp 0x412a5a
lea ecx, [ebp - 0x388]
call fcn.004502b0
cmp byte [ebp - 0x26c], 0
lea eax, [ebp - 0x37c]
push 0
cmove eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x264]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.00451610
cmp byte [ebp - 0x148], 0
lea eax, [ebp - 0x258]
mov ecx, edi
cmove eax, dword [ebp - 0x25c]
add eax, 4
push eax
call fcn.0044ff70
cmp byte [ebp - 0x148], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4129dd
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x4129dd
push eax
call fcn.004e1b56
add esp, 4
push 0
push 0
push 0
push 0
push 0
push str.ComponentConfig.ini
lea ecx, [ebp - 0x264]
call fcn.00451610
cmp byte [ebp - 0x148], 0
lea eax, [ebp - 0x258]
mov ecx, edi
cmove eax, dword [ebp - 0x25c]
cmp word [eax + 4], 0x2e
lea eax, [ebp - 0x264]
push eax
jne 0x412a22
call fcn.004527a0
jmp 0x412a27
call fcn.00451c90
cmp byte [ebp - 0x148], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x412a53
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x412a53
push eax
call fcn.004e1b56
add esp, 4
mov byte [ebp - 0x389], 1
cmp byte [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x412a86
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x37c]
cmp eax, ecx
je 0x412a86
push eax
call fcn.004e1b56
add esp, 4
mov eax, dword [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x412aa1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x412ad4
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x412ad4
push eax
call fcn.004e1b56
add esp, 4
mov al, byte [ebp - 0x389]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret