Function at 0x1003c3f0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10042774
mov eax, dword fs:[0]
push eax
sub esp, 0x90c
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0x908], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0x920]
mov dword fs:[0], eax
mov eax, dword [esp + 0x930]
mov edi, dword [esp + 0x934]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x938]
mov ebp, 8
cmp dword [edi + 0x18], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
jb 0x1003c466
mov edx, dword [edi + 4]
add edi, 4
jmp 0x1003c46b
add edi, 4
mov edx, edi
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c483
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.100025e0
cmp dword [esp + 0x34], ebp
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
jae 0x1003c4af
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1003c4d9
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1003c4db
xor al, al
cmp al, bl
sete byte [esp + 0x17]
cmp dword [esp + 0x34], ebp
jb 0x1003c4f5
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x17], bl
je 0x1003c502
mov al, 1
jmp 0x1003cd64
mov esi, dword [esp + 0x6c]
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0xb4]
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
call fcn.100020a0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x928], ebx
cmp dword [ecx + 0x18], ebp
jb 0x1003c546
mov ecx, dword [ecx + 4]
jmp 0x1003c549
add ecx, 4
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x18], ebp
jb 0x1003c557
mov eax, dword [eax + 4]
jmp 0x1003c55a
add eax, 4
push ecx
push eax
lea edx, [esp + 0xb4]
push edx
call fcn.10022760
push 0x7fe
lea eax, [esp + 0x12e]
push ebx
push eax
mov byte [esp + 0x2f], 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov word [esp + 0x134], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
cmp dword [esi + 0x18], ebp
mov dword [esp + 0x48], 0x800
jb 0x1003c5a5
mov eax, dword [edi]
jmp 0x1003c5a7
mov eax, edi
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1003c5e2
cmp dword [esp + 0xc4], ebp
jb 0x1003c5db
mov eax, dword [esp + 0xb0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1003cd64
mov eax, dword [esp + 0x40]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x130]
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1003cd38
lea ebx, [ebx]
mov eax, 7
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
mov byte [esp + 0x928], 1
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c653
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x120]
push ecx
lea esi, [esp + 0x98]
call fcn.100025e0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xe4]
push edx
push eax
mov edx, esi
mov byte [esp + 0x930], 2
call fcn.1003be90
mov byte [esp + 0x928], 1
cmp dword [esp + 0xa8], ebp
mov byte [esp + 0x16], al
jb 0x1003c6bc
mov ecx, dword [esp + 0x94]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1003ccdb
push 0xffffffffffffffff
mov edi, 7
push ebx
lea eax, [esp + 0xec]
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
call fcn.100020a0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x928], 3
call fcn.10002060
push eax
mov eax, dword [esp + 0x50]
call fcn.10002060
push eax
lea edx, [esp + 0xec]
push edx
call fcn.10022760
lea eax, [esp + 0x128]
add esp, 0xc
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c740
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x120]
push eax
lea esi, [esp + 0x7c]
call fcn.100025e0
mov ecx, esi
push ecx
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x108]
mov byte [esp + 0x930], 4
call fcn.10024290
add esp, 8
mov byte [esp + 0x928], 6
cmp dword [esp + 0x8c], ebp
jb 0x1003c7a1
mov eax, dword [esp + 0x78]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x118], ebp
mov eax, dword [esp + 0x104]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov dword [esp + 0x70], ebx
jae 0x1003c7cf
lea eax, [esp + 0x104]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
push 0x20019
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1003c958
mov eax, dword [esp + 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xfc], ebp
mov edx, dword [esp + 0xe8]
jae 0x1003c810
lea edx, [esp + 0xe8]
mov eax, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c822
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.100025e0
mov byte [esp + 0x928], 7
cmp dword [esp + 0xa8], ebp
mov edx, dword [esp + 0x94]
jae 0x1003c85b
lea edx, [esp + 0x94]
mov eax, edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c870
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x58]
call fcn.100025e0
mov byte [esp + 0x928], 8
cmp dword [esp + 0x34], ebp
mov eax, dword [esp + 0x20]
jae 0x1003c8a0
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x54]
call fcn.100098d0
test eax, eax
setne byte [esp + 0x16]
cmp dword [esp + 0x68], ebp
jb 0x1003c8cc
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x928], 6
cmp dword [esp + 0x34], ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x1003c8f8
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1003ca3a
lea eax, [esp + 0x11c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c920
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x120]
push ecx
lea esi, [esp + 0x24]
call fcn.100025e0
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x1003c9f9
mov byte [eax + 1], 1
xor al, al
jmp 0x1003ca16
cmp dword [esp + 0xf8], ebx
lea eax, [esp + 0x11c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
je 0x1003c9b1
jmp 0x1003c980
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c980
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x120]
push ecx
lea esi, [esp + 0x24]
call fcn.100025e0
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x1003c9f9
mov byte [eax + 1], 1
xor al, al
jmp 0x1003ca16
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003c9b1
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x120]
push edx
lea esi, [esp + 0x24]
call fcn.100025e0
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x1003c9e2
mov byte [eax + 1], 1
xor al, al
jmp 0x1003ca16
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0xb0]
call fcn.1003c160
jmp 0x1003ca16
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0xec]
lea eax, [esp + 0xb4]
call fcn.1003bf90
cmp al, bl
sete byte [esp + 0x16]
cmp dword [esp + 0x34], ebp
jb 0x1003ca30
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1003ca3a
mov byte [esp + 0x17], bl
mov edi, 7
lea eax, [esp + 0x11c]
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003ca60
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x120]
push edx
lea esi, [esp + 0xd0]
call fcn.100025e0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x928], 9
call fcn.10002060
push eax
mov eax, dword [esp + 0x50]
call fcn.10002060
push eax
mov eax, esi
push eax
call fcn.10022760
lea eax, [esp + 0x128]
add esp, 0xc
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003cac2
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x120]
push ecx
lea esi, [esp + 0x24]
call fcn.100025e0
mov byte [esp + 0x928], 0xa
cmp dword [esp + 0xe0], ebp
mov edx, dword [esp + 0xcc]
jae 0x1003cb02
lea edx, [esp + 0xcc]
mov eax, edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003cb14
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x58]
call fcn.100025e0
mov byte [esp + 0x928], 0xb
cmp dword [esp + 0x34], ebp
mov eax, dword [esp + 0x20]
jae 0x1003cb44
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x54]
call fcn.100098d0
test eax, eax
setne byte [esp + 0x16]
cmp dword [esp + 0x68], ebp
jb 0x1003cb70
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x928], 9
cmp dword [esp + 0x34], ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x1003cb9c
mov eax, dword [esp + 0x20]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1003cc5d
mov eax, dword [esp + 0x3c]
cmp byte [eax], bl
je 0x1003cbb4
mov byte [eax + 1], 1
jmp 0x1003cbd0
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0xcc]
lea eax, [esp + 0xb0]
call fcn.1003c160
cmp al, bl
jne 0x1003cbd4
mov byte [esp + 0x17], bl
lea eax, [esp + 0x11c]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1003cbf5
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x120]
push edx
lea esi, [esp + 0x7c]
call fcn.100025e0
mov ecx, dword [esp + 0x18]
mov eax, esi
push eax
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xb4]
mov byte [esp + 0x930], 0xc
call fcn.1003c1f0
test al, al
sete byte [esp + 0x16]
cmp dword [esp + 0x8c], ebp
jb 0x1003cc53
mov edx, dword [esp + 0x78]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x16], bl
je 0x1003cc5d
mov byte [esp + 0x17], bl
cmp dword [esp + 0xe0], ebp
jb 0x1003cc76
mov eax, dword [esp + 0xcc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x118], ebp
mov esi, 7
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x1003ccaa
mov ecx, dword [esp + 0x104]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0xa8], ebp
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x1003ccdf
mov edx, dword [esp + 0x94]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1003ccdf
mov byte [esp + 0x17], bl
add dword [esp + 0x38], 1
mov byte [esp + 0x928], bl
cmp dword [esp + 0xfc], ebp
mov dword [esp + 0x48], 0x800
jb 0x1003cd0c
mov eax, dword [esp + 0xe8]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x38]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x130]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1003c610
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x1003cd47
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc4], ebp
jb 0x1003cd60
mov edx, dword [esp + 0xb0]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x920]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x908]
xor ecx, esp
call fcn.1003ec9d
add esp, 0x918
ret 0xc