Function at 0x410d50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42d1e3
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.004108c0
add esp, 0x20
cmp al, bl
jne 0x410e35
push 0x432d6e
xor edi, edi
lea eax, [esp + 0x18]
call fcn.004112e0
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 0x410e2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x410fa4
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 0x410ef5
lea eax, [esp + 0x60]
push eax
push 0x4335a8
lea edi, [esp + 0x1c]
call fcn.00411420
add esp, 8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
jle 0x410e90
mov ecx, dword [esi - 0xc]
push ecx
mov edx, edi
push edx
call fcn.00411180
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 0x410eab
xor eax, eax
jmp 0x410ebd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410eb0
sub eax, edx
js 0x410eeb
cmp eax, dword [esi - 8]
jg 0x410eeb
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea esi, [esp + 0x14]
call fcn.00411120
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 0x410f6a
push 0x80070057
call fcn.00405520
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi - 4], 1
jle 0x410f14
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00411180
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 0x410f2f
xor eax, eax
jmp 0x410f41
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410f34
sub eax, edx
js 0x410eeb
cmp eax, dword [esi - 8]
jg 0x410eeb
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea esi, [esp + 0x14]
call fcn.00411120
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 0x410fa2
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.00418c9a
add esp, 0xdc
ret