Function at 0x410cb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42d143
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x43d2ac]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43d2ac]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf4]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x43e04c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e04c
mov dword [esp + 0x1c], ebp
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
sub esp, 0x1c
mov dword [esp + 0x108], ebx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.CRLog
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], 0x80
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x3c]
push eax
call fcn.00410820
add esp, 0x20
cmp al, bl
jne 0x410d95
push 0x432d6e
xor edi, edi
lea eax, [esp + 0x18]
call fcn.00411240
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0xec], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x410f04
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x64]
push edx
push ebx
push ebx
push str.GUID
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x410e55
lea eax, [esp + 0x60]
push eax
push 0x4335a8
lea edi, [esp + 0x1c]
call fcn.00411380
add esp, 8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
jle 0x410df0
mov ecx, dword [esi - 0xc]
push ecx
mov edx, edi
push edx
call fcn.004110e0
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp esi, ebx
mov byte [esp + 0xec], 1
jne 0x410e0b
xor eax, eax
jmp 0x410e1d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410e10
sub eax, edx
js 0x410e4b
cmp eax, dword [esi - 8]
jg 0x410e4b
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea esi, [esp + 0x14]
call fcn.00411080
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x44]
jmp 0x410eca
push 0x80070057
call fcn.00405526
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi - 4], 1
jle 0x410e74
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004110e0
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp esi, ebx
mov byte [esp + 0xec], 3
jne 0x410e8f
xor eax, eax
jmp 0x410ea1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410e94
sub eax, edx
js 0x410e4b
cmp eax, dword [esi - 8]
jg 0x410e4b
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea esi, [esp + 0x14]
call fcn.00411080
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0xec], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00418bea
add esp, 0xdc
ret