Function at 0x1001e69c
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1214]
mov eax, 0x1214
call fcn.10102790
push 0xffffffffffffffff
push 0x10135e80
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x1210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
xor ebx, ebx
push 0xffe
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp], bx
call fcn.101027c0
push dword [ebp + 0x121c]
lea eax, [ebp]
push 0x7ff
push eax
push str.software
call fcn.100e0693
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
lea eax, [ebp - 0x94]
push eax
mov esi, 0x1015608c
lea edi, [ebp + 0x1208]
lea eax, [ebp + 0x1208]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 1
movsw word es:[edi], word [esi]
mov dword [ebp - 0x94], ebx
call fcn.1010457e
add esp, 0x28
mov esi, eax
jmp 0x1001e823
push esi
lea ecx, [ebp - 0x14]
call fcn.1000587e
mov eax, dword [0x1019a028]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
push ebx
push 0x10156088
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.100015a7
mov esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.10005459
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.100015d9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000e753
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.10005459
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.100015d9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.1001e43b
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp + 0x1208]
push eax
push ebx
call fcn.1010457e
add esp, 0xc
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.100015d9
cmp esi, ebx
jne 0x1001e75e
cmp dword [ebp - 0x9c], ebx
mov dword [ebp - 0x1c], ebx
jle 0x1001f004
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa4]
call fcn.1001da18
push eax
lea ecx, [ebp - 0x30]
call fcn.1000584b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.1001da3f
push eax
lea ecx, [ebp - 0x50]
call fcn.1000584b
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], eax
push dword [ebp + 0x121c]
mov edi, 0x103
push edi
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.10001a82
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x10152f84
push 0x10156080
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10001c5b
push dword [ebp + 0x121c]
lea ecx, [ebp - 0x38]
push edi
push 0x104
call fcn.10001a82
push eax
push 0x10152f84
push str.value
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call fcn.10001c5b
push dword [ebp + 0x121c]
lea ecx, [ebp - 0x34]
push edi
push 0x104
call fcn.10001a82
push eax
push 0x10152f84
push str.path
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.10001c5b
push dword [ebp + 0x121c]
lea ecx, [ebp - 0x3c]
push edi
push 0x104
call fcn.10001a82
push eax
push 0x10152f84
push str.pathname
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.10001c5b
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x1001e96b
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], ebx
jne 0x1001e96b
mov eax, dword [ebp - 0x34]
cmp dword [eax - 8], ebx
jne 0x1001e96b
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
je 0x1001efb6
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x28], 0x3a
mov dword [ebp - 0x18], ebx
call fcn.10001a82
push eax
call fcn.1010457e
add esp, 0xc
mov esi, eax
jmp 0x1001ea91
push esi
lea ecx, [ebp - 0x4c]
call fcn.1000587e
mov eax, dword [0x1019a028]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
push ebx
push 0x5c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.1001dad7
mov esi, eax
cmp esi, 0xffffffff
je 0x1001ea67
push esi
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x14
call fcn.10005459
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x13
call fcn.100015d9
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000e753
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.10005459
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x13
call fcn.100015d9
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1001e567
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1010457e
add esp, 0xc
lea ecx, [ebp - 0x90]
mov esi, eax
call fcn.1001db1c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.100015d9
cmp esi, ebx
jne 0x1001e9be
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], ebx
call fcn.10001a82
push eax
call fcn.1010457e
add esp, 0xc
mov esi, eax
jmp 0x1001ec89
push esi
lea ecx, [ebp - 0x10]
call fcn.1000587e
mov eax, dword [0x1019a028]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
push ebx
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x17
call fcn.1001dad7
mov esi, eax
cmp esi, 0xffffffff
je 0x1001ec5f
push esi
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
call fcn.10005459
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x17
call fcn.100015d9
push 0x2c
lea ecx, [ebp - 0x10]
call fcn.1001dab5
mov edi, eax
cmp edi, 0xffffffff
je 0x1001eb9c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e753
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x19
call fcn.10101418
pop ecx
mov dword [ebp - 0x8c], eax
push edi
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.10005459
lea ecx, [ebp - 0xc4]
call fcn.100015d9
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x17
call fcn.100015d9
jmp 0x1001eba6
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e753
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
call fcn.10005459
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x17
call fcn.100015d9
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1001dab5
mov esi, eax
cmp esi, 0xffffffff
je 0x1001ec5f
push esi
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e702
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1c
call fcn.10005459
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x17
call fcn.100015d9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000e753
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1d
call fcn.10005459
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x17
call fcn.100015d9
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
call fcn.1001e567
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1010457e
add esp, 0xc
lea ecx, [ebp - 0x90]
mov esi, eax
call fcn.1001db1c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.100015d9
cmp esi, ebx
jne 0x1001eabd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
call fcn.10001a82
push eax
jmp 0x1001ecd9
push eax
lea ecx, [ebp - 0xb8]
call fcn.1000587e
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
call fcn.1001e3c9
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call fcn.100015d9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1010457e
add esp, 0xc
cmp eax, ebx
jne 0x1001eca8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], ebx
call fcn.10001a82
push eax
jmp 0x1001ed2d
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000587e
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1f
call fcn.1001e3c9
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.100015d9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1010457e
add esp, 0xc
cmp eax, ebx
jne 0x1001ecfc
xor esi, esi
cmp dword [ebp - 0x58], ebx
jle 0x1001ed71
push esi
lea ecx, [ebp - 0x5c]
call fcn.1001da8e
add eax, 8
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x5c]
call fcn.1001da8e
mov ecx, dword [ebp - 0x98]
push edi
mov dword [ebp - 0x20], eax
call fcn.1001dcc7
mov ecx, dword [ebp - 0x20]
inc esi
mov dword [ecx], eax
cmp esi, dword [ebp - 0x58]
jl 0x1001ed40
xor esi, esi
cmp dword [ebp - 0x44], ebx
jle 0x1001eda9
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
add eax, 8
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
mov ecx, dword [ebp - 0x98]
push edi
mov dword [ebp - 0x20], eax
call fcn.1001dcc7
mov ecx, dword [ebp - 0x20]
inc esi
mov dword [ecx], eax
cmp esi, dword [ebp - 0x44]
jl 0x1001ed78
xor esi, esi
cmp dword [ebp - 0x78], ebx
jle 0x1001edc6
push esi
lea ecx, [ebp - 0x7c]
call fcn.1001be44
push eax
call fcn.100df8ca
inc esi
cmp esi, dword [ebp - 0x78]
pop ecx
jl 0x1001edb0
xor esi, esi
cmp dword [ebp - 0x6c], ebx
jle 0x1001ede3
push esi
lea ecx, [ebp - 0x70]
call fcn.1001be44
push eax
call fcn.100df8ca
inc esi
cmp esi, dword [ebp - 0x6c]
pop ecx
jl 0x1001edcd
xor edi, edi
cmp dword [ebp - 0x58], ebx
mov dword [ebp - 0x20], ebx
jle 0x1001ee36
push edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c], ebx
call fcn.1001da8e
add eax, 0xc
mov esi, dword [eax]
push edi
lea ecx, [ebp - 0x5c]
call fcn.1001da8e
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push ebx
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1001ef71
cmp dword [ebp - 0x2c], ebx
je 0x1001ee30
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, dword [ebp - 0x58]
jl 0x1001eded
xor esi, esi
cmp dword [ebp - 0x44], ebx
jle 0x1001ef26
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
cmp dword [eax + 4], 1
jne 0x1001eebf
push 0x206
lea eax, [ebp + 0x1002]
push ebx
push eax
mov word [ebp + 0x1000], bx
call fcn.101027c0
add esp, 0xc
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x64], 0x208
call fcn.1001da8e
add eax, 0x10
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
add eax, 0xc
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], eax
call fcn.1001da8e
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x1000]
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
add eax, 4
push eax
mov eax, dword [ebp - 0x60]
push edi
push dword [ebp - 0x2c]
jmp 0x1001ef10
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x64], 4
call fcn.1001da8e
add eax, 0x10
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
add eax, 0xc
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x60], eax
call fcn.1001da8e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.1001da8e
add eax, 4
push eax
mov eax, dword [ebp - 0x2c]
push edi
push dword [ebp - 0x60]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, ebx
jne 0x1001ef71
inc esi
cmp esi, dword [ebp - 0x44]
jl 0x1001ee41
xor esi, esi
cmp dword [ebp - 0x78], ebx
jle 0x1001ef48
push esi
lea ecx, [ebp - 0x7c]
call fcn.1001be44
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x1001ef71
inc esi
cmp esi, dword [ebp - 0x78]
jl 0x1001ef2d
xor esi, esi
cmp dword [ebp - 0x6c], ebx
jle 0x1001ef6a
push esi
lea ecx, [ebp - 0x70]
call fcn.1001be44
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x1001ef71
inc esi
cmp esi, dword [ebp - 0x6c]
jl 0x1001ef4f
mov dword [ebp - 0x20], 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push dword [ebp - 0x30]
push str._s_d
push eax
call fcn.100020c6
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x1019e0a4
call fcn.1001e3c9
lea ecx, [ebp - 0x70]
call fcn.1001c3eb
lea ecx, [ebp - 0x7c]
call fcn.1001c3eb
lea ecx, [ebp - 0x48]
call fcn.1001dc44
lea ecx, [ebp - 0x5c]
call fcn.1001dc44
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp - 0x3c]
call fcn.100015d9
lea ecx, [ebp - 0x34]
call fcn.100015d9
lea ecx, [ebp - 0x38]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x50]
call fcn.100015d9
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.100015d9
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x9c]
jl 0x1001e83a
lea ecx, [ebp - 0xa4]
call fcn.1001db54
lea ecx, [ebp + 0x121c]
call fcn.100015d9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1210]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x1214
leave
ret 4