Function at 0x41d6e0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push dword [ebp + 8]
mov ecx, 0x482878
call fcn.00421b62
mov esi, eax
test esi, esi
je 0x41dd54
cmp dword [esi + 0x10], 0xffffffff
je 0x41dd54
lea eax, [esi + 0x14]
mov edi, 0x482320
push eax
mov ecx, edi
call fcn.00418d60
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.00418d60
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.00418d60
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.00418d60
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041d46a
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041d46a
push ebx
mov ecx, edi
call fcn.0041d46a
push 1
push 0
push 0
push 0x42fc2c
push str._0_
mov ecx, ebx
call fcn.0041f93a
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041f90a
cmp dword [esi + 0x10], 2
jne 0x41d790
push 0
mov ecx, ebx
call fcn.0041ed24
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041d46a
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41dd54
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041e10f
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041e10f
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041e10f
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041e10f
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41d9a9
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41d939
test byte [esi + 0x44], bl
je 0x41d8ff
mov edi, 0x104
push edi
call fcn.00428529
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41d82b
mov ecx, 0x482cfc
call fcn.0041fa6a
push eax
call fcn.00420722
pop ecx
push edi
push 0
push ebx
call fcn.00427c50
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42fbc0
call fcn.0041eb20
lea ecx, [esi + 0x20]
call fcn.0041fa6a
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x38]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fa6a
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041ef26
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41d8e3
push edi
push 0
push dword [ebp + 8]
call fcn.00427c50
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42f9d4
call fcn.0041ec53
lea ecx, [esi + 0x20]
call fcn.0041fa6a
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x38]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fa6a
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041ef26
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.0042851e
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041ebe6
jmp 0x41dd19
cmp eax, 1
jne 0x41d939
mov ecx, edi
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x14]
call fcn.0041fa6a
push eax
call fcn.0042879e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fa6a
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41da9c
mov edi, 0x2800
push edi
call fcn.00428529
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41d95c
mov ecx, 0x482cfc
call fcn.0041fa6a
push eax
call fcn.00420722
pop ecx
push edi
push 0
push ebx
call fcn.00427c50
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041fa6a
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x38]
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fa6a
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041ec53
push ebx
call fcn.0042851e
pop ecx
jmp 0x41dd19
test ebx, ebx
jne 0x41db11
mov ecx, edi
call fcn.0041fa6a
push eax
call fcn.00428713
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41daa4
test byte [esi + 0x44], 3
je 0x41daa4
lea eax, [ebp + 8]
xor edi, edi
push eax
mov eax, dword [0x483658]
or al, 1
lea ecx, [esi + 0x2c]
push eax
push edi
mov dword [ebp + 8], edi
call fcn.0041fa6a
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
mov ebx, eax
jne 0x41da21
lea eax, [ebp - 8]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 8], 0x104
call fcn.0041fa6a
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
push dword [ebp + 8]
xor eax, eax
cmp ebx, edi
sete al
mov dword [esi + 0x54], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
je 0x41dd19
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jbe 0x41dd19
and byte [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x13]
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0041fa6a
push eax
call fcn.0042879e
pop ecx
push eax
call fcn.00429b4c
add esp, 0xc
mov ecx, ebx
call fcn.0041fa6a
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00428180
pop ecx
test eax, eax
pop ecx
jne 0x41dd19
mov ecx, ebx
call fcn.0041fa6a
push eax
call fcn.0042879e
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41dd19
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041fa6a
push eax
lea ecx, [esi + 0x2c]
call fcn.0041fa6a
push eax
push ebx
call fcn.0042093b
add esp, 0x10
test eax, eax
jge 0x41daee
cmp dword [esi + 0xc], 1
jne 0x41dadd
lea ecx, [esi + 0x14]
call fcn.0041fa6a
push eax
call fcn.00428713
jmp 0x41da9b
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041ecc1
jmp 0x41dd19
cmp dword [esi + 0xc], 1
jne 0x41dafe
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41db09
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041ec53
push dword [ebp + 8]
jmp 0x41d99e
cmp ebx, 2
jne 0x41dd19
and dword [ebp - 8], 0
cmp byte [0x483654], 0
jne 0x41dbe7
mov eax, dword [0x482484]
test eax, eax
je 0x41db3b
mov eax, dword [eax + 4]
test eax, eax
jne 0x41db50
mov eax, dword [0x4822c4]
test eax, eax
je 0x41db4b
mov eax, dword [eax + 4]
test eax, eax
jne 0x41db50
mov eax, dword [0x4824f0]
push 0
push 0x40581a
push eax
push 0x12
push dword [0x4824f4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 8], eax
call fcn.004202db
mov ebx, eax
test ebx, ebx
jne 0x41db85
mov ecx, 0x4834ac
call fcn.0041fa6a
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0041eab0
lea ecx, [ebp - 0x14]
call fcn.0041eab0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0041fa6a
push eax
call fcn.004217e4
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0041fa6a
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041f193
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0041fa6a
push eax
push 0x422
push dword [ebp - 8]
call fcn.00421911
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041ebe6
lea ecx, [ebp - 0x24]
call fcn.0041ebe6
lea ecx, [esi + 0x2c]
call fcn.0041fa6a
and dword [ebp + 8], 0
mov ebx, eax
cmp byte [ebx], 0
je 0x41dc61
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041eb20
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041f608
cmp al, 0x5c
je 0x41dc1e
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041ed24
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041fa6a
push eax
lea ecx, [ebp - 0x14]
call fcn.0041fa6a
push eax
call fcn.0040f6b8
add esp, 0x10
mov dword [ebp + 8], eax
test eax, eax
jg 0x41dc59
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041ebe6
jmp 0x41dbf5
lea ecx, [ebp - 0x14]
call fcn.0041ebe6
test byte [esi + 0x44], 4
jne 0x41dc86
cmp dword [ebp + 8], 0
jg 0x41dc9e
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0
call fcn.0041fa6a
push eax
call fcn.0040f88b
add esp, 0xc
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jg 0x41dc9e
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041ecc1
jmp 0x41dd0a
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41dcd9
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x24]
mov al, byte [eax]
push eax
call fcn.0041ead7
lea edi, [esi + 0x48]
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0041ecc1
lea ecx, [ebp - 0x24]
call fcn.0041ebe6
push 0x3a
mov ecx, edi
call fcn.0041ed24
jmp 0x41dd01
push dword [ebp - 4]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041ec53
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041f608
cmp al, 0x5c
jne 0x41dd01
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041f0d5
push dword [ebp - 4]
call fcn.0042851e
pop ecx
cmp dword [ebp - 8], 0
je 0x41dd19
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41dd42
lea eax, [ebp - 0x24]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.00429b4c
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x48]
push eax
call fcn.0041ec53
jmp 0x41dd54
lea ecx, [esi + 0x48]
call fcn.0041fa6a
push eax
call fcn.0042879e
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4