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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push dword [ebp + 8]
mov ecx, 0x47f5d0
call fcn.0041fafa
mov esi, eax
test esi, esi
je 0x41c1f1
cmp dword [esi + 0x10], 0xffffffff
je 0x41c1f1
lea eax, [esi + 0x14]
mov edi, 0x47f0b8
push eax
mov ecx, edi
call fcn.004174c1
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.004174c1
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.004174c1
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.004174c1
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041b99b
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041b99b
push ebx
mov ecx, edi
call fcn.0041b99b
push 1
push 0
push 0
push 0x42cd30
push str._0_
mov ecx, ebx
call fcn.0041dd5c
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041dd2c
cmp dword [esi + 0x10], 2
jne 0x41bcc5
push 0
mov ecx, ebx
call fcn.0041d146
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041b99b
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41c1f1
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041c515
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041c515
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041c515
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041c515
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41bede
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41be6e
test byte [esi + 0x44], bl
je 0x41be34
mov edi, 0x104
push edi
call fcn.004260f9
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41bd60
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
pop ecx
push edi
push 0
push ebx
call fcn.00425820
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42ccbc
call fcn.0041cf98
lea ecx, [esi + 0x20]
call fcn.0041de81
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041de81
push eax
lea ecx, [esi + 0x38]
call fcn.0041de81
push eax
lea ecx, [esi + 0x2c]
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041d348
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41be18
push edi
push 0
push dword [ebp + 8]
call fcn.00425820
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42c9d4
call fcn.0041d075
lea ecx, [esi + 0x20]
call fcn.0041de81
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041de81
push eax
lea ecx, [esi + 0x38]
call fcn.0041de81
push eax
lea ecx, [esi + 0x2c]
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041d348
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.004260ee
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041d05e
jmp 0x41c1b6
cmp eax, 1
jne 0x41be6e
mov ecx, edi
call fcn.0041de81
push eax
lea ecx, [esi + 0x14]
call fcn.0041de81
push eax
call fcn.0042636e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041de81
push eax
lea ecx, [esi + 0x2c]
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41bf9e
mov edi, 0x104
push edi
call fcn.004260f9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41be91
mov ecx, 0x47fa34
call fcn.0041de81
push eax
call fcn.0041ea8b
pop ecx
push edi
push 0
push ebx
call fcn.00425820
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041de81
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041de81
push eax
lea ecx, [esi + 0x38]
call fcn.0041de81
push eax
lea ecx, [esi + 0x2c]
call fcn.0041de81
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041d075
push ebx
call fcn.004260ee
pop ecx
jmp 0x41c1b6
test ebx, ebx
jne 0x41bfda
mov ecx, edi
call fcn.0041de81
push eax
call fcn.004262e3
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41bf66
test byte [esi + 0x44], 3
je 0x41bf66
lea eax, [ebp + 8]
xor edi, edi
push eax
push 1
push edi
lea ecx, [esi + 0x2c]
mov dword [ebp + 8], edi
call fcn.0041de81
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
je 0x41bf30
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esi + 0x54], ecx
jmp 0x41bf58
lea eax, [ebp - 4]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 4], 0x104
call fcn.0041de81
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x54], eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41c1b6
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041de81
push eax
lea ecx, [esi + 0x2c]
call fcn.0041de81
push eax
push ebx
call fcn.0041ecf1
add esp, 0x10
test eax, eax
jge 0x41bfb7
cmp dword [esi + 0xc], 1
jne 0x41bfa6
lea ecx, [esi + 0x14]
call fcn.0041de81
push eax
call fcn.004262e3
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41c1b6
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041d0e3
jmp 0x41c1b6
cmp dword [esi + 0xc], 1
jne 0x41bfc7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41bfd2
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041d075
push dword [ebp + 8]
jmp 0x41bed3
cmp ebx, 2
jne 0x41c1b6
and dword [ebp - 4], 0
cmp byte [0x48038c], 0
jne 0x41c08a
mov eax, dword [0x47f210]
test eax, eax
je 0x41c004
mov eax, dword [eax + 4]
test eax, eax
jne 0x41c019
mov eax, dword [0x47f060]
test eax, eax
je 0x41c014
mov eax, dword [eax + 4]
test eax, eax
jne 0x41c019
mov eax, dword [0x47f278]
push 0
push 0x40581a
push eax
push 0x12
push dword [0x47f27c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 4], eax
call fcn.0041e684
mov ebx, eax
test ebx, ebx
jne 0x41c04e
mov ecx, 0x4801e4
call fcn.0041de81
mov ebx, eax
lea ecx, [ebp - 0x14]
call fcn.0041cf28
mov ecx, edi
call fcn.0041de81
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041d5b5
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041de81
push eax
push 0x422
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.0041d05e
lea ecx, [esi + 0x2c]
call fcn.0041de81
mov ebx, eax
xor edi, edi
cmp byte [ebx], 0
je 0x41c102
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041cf98
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041da2a
cmp al, 0x5c
je 0x41c0bf
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041d146
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041de81
push eax
lea ecx, [ebp - 0x14]
call fcn.0041de81
push eax
call fcn.0040edb4
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x41c0fa
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041d05e
jmp 0x41c096
lea ecx, [ebp - 0x14]
call fcn.0041d05e
test byte [esi + 0x44], 4
jne 0x41c125
test edi, edi
jg 0x41c13b
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041de81
push eax
call fcn.0040ef87
add esp, 0xc
mov edi, eax
test edi, edi
jg 0x41c13b
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041d0e3
jmp 0x41c1a7
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41c176
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov al, byte [eax]
push eax
call fcn.0041cf4f
lea edi, [esi + 0x48]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041d0e3
lea ecx, [ebp - 0x14]
call fcn.0041d05e
push 0x3a
mov ecx, edi
call fcn.0041d146
jmp 0x41c19e
push dword [ebp + 8]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041d075
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041da2a
cmp al, 0x5c
jne 0x41c19e
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041d4f7
push dword [ebp + 8]
call fcn.004260ee
pop ecx
cmp dword [ebp - 4], 0
je 0x41c1b6
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41c1df
lea eax, [ebp - 0x14]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.00428bd6
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041d075
jmp 0x41c1f1
lea ecx, [esi + 0x48]
call fcn.0041de81
push eax
call fcn.0042636e
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4