Function at 0x410d40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42d193
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 [0x43e05c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e05c
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.004108b0
add esp, 0x20
cmp al, bl
jne 0x410e25
push 0x432d7e
xor edi, edi
lea eax, [esp + 0x18]
call fcn.004112d0
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 0x410e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x410f94
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 0x410ee5
lea eax, [esp + 0x60]
push eax
push 0x4335d8
lea edi, [esp + 0x1c]
call fcn.00411410
add esp, 8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
jle 0x410e80
mov ecx, dword [esi - 0xc]
push ecx
mov edx, edi
push edx
call fcn.00411170
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 0x410e9b
xor eax, eax
jmp 0x410ead
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410ea0
sub eax, edx
js 0x410edb
cmp eax, dword [esi - 8]
jg 0x410edb
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea esi, [esp + 0x14]
call fcn.004110f0
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 0x410f5a
push 0x80070057
call fcn.00405467
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi - 4], 1
jle 0x410f04
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00411170
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 0x410f1f
xor eax, eax
jmp 0x410f31
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x410f24
sub eax, edx
js 0x410edb
cmp eax, dword [esi - 8]
jg 0x410edb
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea esi, [esp + 0x14]
call fcn.004110f0
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 0x410f92
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.00418cca
add esp, 0xdc
ret