Function at 0x1002a76b
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.10146c50
push 0xffffffffffffffff
push 0x1017c9ee
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x101f6410]
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.10146c80
push dword [ebp + 0x121c]
lea eax, [ebp]
push 0x7ff
push eax
push str.software
call fcn.10120256
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
lea eax, [ebp - 0x94]
push eax
mov esi, 0x101a3008
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.101490ef
add esp, 0x28
mov esi, eax
jmp 0x1002a8f2
push esi
lea ecx, [ebp - 0x14]
call fcn.10007b11
mov eax, dword [0x101f3028]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
push ebx
push 0x101a2c5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10003b43
mov esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x14]
call fcn.10011725
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.10007845
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.10003b75
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.10011776
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.10007845
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.10003b75
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.1002a50a
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp + 0x1208]
push eax
push ebx
call fcn.101490ef
add esp, 0xc
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.10003b75
lea ecx, [ebp - 0x1c]
call fcn.10003b75
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10003b75
cmp esi, ebx
jne 0x1002a82d
cmp dword [ebp - 0x9c], ebx
mov dword [ebp - 0x1c], ebx
jle 0x1002b0d3
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa4]
call fcn.10029fa4
push eax
lea ecx, [ebp - 0x30]
call fcn.10007ade
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.10029fcb
push eax
lea ecx, [ebp - 0x50]
call fcn.10007ade
mov eax, dword [0x101f3028]
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.1000401e
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x1019f188
push 0x101a3000
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.100041f7
push dword [ebp + 0x121c]
lea ecx, [ebp - 0x38]
push edi
push 0x104
call fcn.1000401e
push eax
push 0x1019f188
push str.value
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call fcn.100041f7
push dword [ebp + 0x121c]
lea ecx, [ebp - 0x34]
push edi
push 0x104
call fcn.1000401e
push eax
push 0x1019f188
push str.path
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call fcn.100041f7
push dword [ebp + 0x121c]
lea ecx, [ebp - 0x3c]
push edi
push 0x104
call fcn.1000401e
push eax
push 0x1019f188
push str.pathname
push dword [ebp - 0x30]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.100041f7
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jne 0x1002aa3a
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], ebx
jne 0x1002aa3a
mov eax, dword [ebp - 0x34]
cmp dword [eax - 8], ebx
jne 0x1002aa3a
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 8], ebx
je 0x1002b085
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.1000401e
push eax
call fcn.101490ef
add esp, 0xc
mov esi, eax
jmp 0x1002ab60
push esi
lea ecx, [ebp - 0x4c]
call fcn.10007b11
mov eax, dword [0x101f3028]
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.10025bce
mov esi, eax
cmp esi, 0xffffffff
je 0x1002ab36
push esi
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10011725
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x14
call fcn.10007845
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x13
call fcn.10003b75
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.10011776
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.10007845
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x13
call fcn.10003b75
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1002a636
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.101490ef
add esp, 0xc
lea ecx, [ebp - 0x90]
mov esi, eax
call fcn.1002a076
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.10003b75
cmp esi, ebx
jne 0x1002aa8d
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.1000401e
push eax
call fcn.101490ef
add esp, 0xc
mov esi, eax
jmp 0x1002ad58
push esi
lea ecx, [ebp - 0x10]
call fcn.10007b11
mov eax, dword [0x101f3028]
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.10025bce
mov esi, eax
cmp esi, 0xffffffff
je 0x1002ad2e
push esi
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x10]
call fcn.10011725
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
call fcn.10007845
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x17
call fcn.10003b75
push 0x2c
lea ecx, [ebp - 0x10]
call fcn.1002a041
mov edi, eax
cmp edi, 0xffffffff
je 0x1002ac6b
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.10011776
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x19
call fcn.101458e6
pop ecx
mov dword [ebp - 0x8c], eax
push edi
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x10]
call fcn.10011725
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.10007845
lea ecx, [ebp - 0xc4]
call fcn.10003b75
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x17
call fcn.10003b75
jmp 0x1002ac75
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.10011776
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
call fcn.10007845
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x17
call fcn.10003b75
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1002a041
mov esi, eax
cmp esi, 0xffffffff
je 0x1002ad2e
push esi
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x10]
call fcn.10011725
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1c
call fcn.10007845
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x17
call fcn.10003b75
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.10011776
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1d
call fcn.10007845
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x17
call fcn.10003b75
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x48]
call fcn.1002a636
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.101490ef
add esp, 0xc
lea ecx, [ebp - 0x90]
mov esi, eax
call fcn.1002a076
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.10003b75
cmp esi, ebx
jne 0x1002ab8c
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.1000401e
push eax
jmp 0x1002ada8
push eax
lea ecx, [ebp - 0xb8]
call fcn.10007b11
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
call fcn.1002a498
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call fcn.10003b75
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.101490ef
add esp, 0xc
cmp eax, ebx
jne 0x1002ad77
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.1000401e
push eax
jmp 0x1002adfc
push eax
lea ecx, [ebp - 0xc0]
call fcn.10007b11
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1f
call fcn.1002a498
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.10003b75
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.101490ef
add esp, 0xc
cmp eax, ebx
jne 0x1002adcb
xor esi, esi
cmp dword [ebp - 0x58], ebx
jle 0x1002ae40
push esi
lea ecx, [ebp - 0x5c]
call fcn.1002a01a
add eax, 8
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x5c]
call fcn.1002a01a
mov ecx, dword [ebp - 0x98]
push edi
mov dword [ebp - 0x20], eax
call fcn.1002a213
mov ecx, dword [ebp - 0x20]
inc esi
mov dword [ecx], eax
cmp esi, dword [ebp - 0x58]
jl 0x1002ae0f
xor esi, esi
cmp dword [ebp - 0x44], ebx
jle 0x1002ae78
push esi
lea ecx, [ebp - 0x48]
call fcn.1002a01a
add eax, 8
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x48]
call fcn.1002a01a
mov ecx, dword [ebp - 0x98]
push edi
mov dword [ebp - 0x20], eax
call fcn.1002a213
mov ecx, dword [ebp - 0x20]
inc esi
mov dword [ecx], eax
cmp esi, dword [ebp - 0x44]
jl 0x1002ae47
xor esi, esi
cmp dword [ebp - 0x78], ebx
jle 0x1002ae95
push esi
lea ecx, [ebp - 0x7c]
call fcn.10024269
push eax
call fcn.1011f480
inc esi
cmp esi, dword [ebp - 0x78]
pop ecx
jl 0x1002ae7f
xor esi, esi
cmp dword [ebp - 0x6c], ebx
jle 0x1002aeb2
push esi
lea ecx, [ebp - 0x70]
call fcn.10024269
push eax
call fcn.1011f480
inc esi
cmp esi, dword [ebp - 0x6c]
pop ecx
jl 0x1002ae9c
xor edi, edi
cmp dword [ebp - 0x58], ebx
mov dword [ebp - 0x20], ebx
jle 0x1002af05
push edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c], ebx
call fcn.1002a01a
add eax, 0xc
mov esi, dword [eax]
push edi
lea ecx, [ebp - 0x5c]
call fcn.1002a01a
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 0x1002b040
cmp dword [ebp - 0x2c], ebx
je 0x1002aeff
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, dword [ebp - 0x58]
jl 0x1002aebc
xor esi, esi
cmp dword [ebp - 0x44], ebx
jle 0x1002aff5
push esi
lea ecx, [ebp - 0x48]
call fcn.1002a01a
cmp dword [eax + 4], 1
jne 0x1002af8e
push 0x206
lea eax, [ebp + 0x1002]
push ebx
push eax
mov word [ebp + 0x1000], bx
call fcn.10146c80
add esp, 0xc
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x64], 0x208
call fcn.1002a01a
add eax, 0x10
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x48]
call fcn.1002a01a
add eax, 0xc
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x2c], eax
call fcn.1002a01a
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.1002a01a
add eax, 4
push eax
mov eax, dword [ebp - 0x60]
push edi
push dword [ebp - 0x2c]
jmp 0x1002afdf
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x64], 4
call fcn.1002a01a
add eax, 0x10
mov edi, dword [eax]
push esi
lea ecx, [ebp - 0x48]
call fcn.1002a01a
add eax, 0xc
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x60], eax
call fcn.1002a01a
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.1002a01a
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 0x1002b040
inc esi
cmp esi, dword [ebp - 0x44]
jl 0x1002af10
xor esi, esi
cmp dword [ebp - 0x78], ebx
jle 0x1002b017
push esi
lea ecx, [ebp - 0x7c]
call fcn.10024269
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebx
je 0x1002b040
inc esi
cmp esi, dword [ebp - 0x78]
jl 0x1002affc
xor esi, esi
cmp dword [ebp - 0x6c], ebx
jle 0x1002b039
push esi
lea ecx, [ebp - 0x70]
call fcn.10024269
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x1002b040
inc esi
cmp esi, dword [ebp - 0x6c]
jl 0x1002b01e
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.10004662
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x101f7e14
call fcn.1002a498
lea ecx, [ebp - 0x70]
call fcn.10024521
lea ecx, [ebp - 0x7c]
call fcn.10024521
lea ecx, [ebp - 0x48]
call fcn.1002a190
lea ecx, [ebp - 0x5c]
call fcn.1002a190
lea ecx, [ebp - 0x24]
call fcn.10003b75
lea ecx, [ebp - 0x3c]
call fcn.10003b75
lea ecx, [ebp - 0x34]
call fcn.10003b75
lea ecx, [ebp - 0x38]
call fcn.10003b75
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x50]
call fcn.10003b75
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003b75
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x9c]
jl 0x1002a909
lea ecx, [ebp - 0xa4]
call fcn.1002a0ae
lea ecx, [ebp + 0x121c]
call fcn.10003b75
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.10145d71
add ebp, 0x1214
leave
ret 4