Function at 0x10003f40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10011b09
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10019024]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10019024]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push 0x20019
push ebx
push eax
push 0x80000002
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x2a], 1
mov byte [esp + 0x2b], 1
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x100041cd
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x10003fc5
mov eax, dword [esp + 0x24]
lea edi, [eax*8]
sub edi, eax
cmp dword [edi*4 + 0x1001aa88], 0x10
lea edi, [edi*4 + 0x1001aa70]
jb 0x10003fe4
mov eax, dword [edi + 4]
jmp 0x10003fe7
lea eax, [edi + 4]
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call ebp
cmp eax, ebx
je 0x10004045
cmp eax, 2
jne 0x100041bc
cmp dword [esp + 0x24], eax
jne 0x100041bc
cmp dword [0x1001aa50], 0x10
mov eax, dword [0x1001aa3c]
mov byte [esp + 0x17], bl
jae 0x10004029
mov eax, 0x1001aa3c
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call ebp
test eax, eax
jne 0x100041bc
mov ecx, dword [esp + 0x20]
inc ecx
cmp dword [esp + 0x2c], ecx
jae 0x10004077
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x24]
inc eax
push 0x10019260
push eax
mov dword [esp + 0x38], eax
call fcn.10010d8f
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x100041bc
mov edx, dword [esp + 0x2c]
push edx
push ebx
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp byte [esp + 0x17], bl
je 0x1000409c
cmp dword [edi + 0x18], 0x10
jb 0x10004097
mov eax, dword [edi + 4]
jmp 0x100040af
lea eax, [edi + 4]
jmp 0x100040af
cmp dword [0x1001aa50], 0x10
mov eax, dword [0x1001aa3c]
jae 0x100040af
mov eax, 0x1001aa3c
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x30]
push edx
push ebx
push eax
mov eax, dword [esp + 0x2c]
push eax
call ebp
cmp eax, ebx
jne 0x100041bc
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x24]
sub eax, ebx
mov dword [esp + 0x58], ebx
je 0x10004188
sub eax, 1
je 0x1000417f
sub eax, 1
jne 0x10004196
cmp byte [esp + 0x17], bl
je 0x1000410c
movzx ecx, byte [esi]
mov edx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
jmp 0x10004196
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edi, dword [sym.imp.MSVCP90.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x30]
push eax
push 0x1001a9c8
call edi
add esp, 8
test al, al
je 0x1000413d
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], 9
jmp 0x10004196
lea edx, [esp + 0x30]
push edx
push 0x1001a9e4
call edi
add esp, 8
test al, al
je 0x10004159
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ebx
jmp 0x10004196
lea ecx, [esp + 0x30]
push ecx
push 0x1001aa00
call edi
add esp, 8
test al, al
je 0x10004179
mov edx, dword [esp + 0x1c]
mov dword [edx + 4], 0xa
jmp 0x10004196
mov byte [esp + 0x16], bl
jmp 0x10004196
mov ecx, dword [esp + 0x1c]
add ecx, 0x40
jmp 0x1000418f
mov ecx, dword [esp + 0x1c]
add ecx, 8
push esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 3
mov dword [esp + 0x24], eax
jl 0x10003fc1
jmp 0x100041c0
mov byte [esp + 0x16], bl
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov bl, byte [esp + 0x1a]
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10010d80
add esp, 0x48
ret 4