Function at 0x41bc60
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, 0x47f5c0
call fcn.0041fb60
mov esi, eax
test esi, esi
je 0x41c23c
cmp dword [esi + 0x10], 0xffffffff
je 0x41c23c
lea eax, [esi + 0x14]
mov edi, 0x47f0a8
push eax
mov ecx, edi
call fcn.00417516
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.00417516
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.00417516
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.00417516
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041b9e6
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041b9e6
push ebx
mov ecx, edi
call fcn.0041b9e6
push 1
push 0
push 0
push 0x42cd30
push str._0_
mov ecx, ebx
call fcn.0041dda7
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041dd77
cmp dword [esi + 0x10], 2
jne 0x41bd10
push 0
mov ecx, ebx
call fcn.0041d191
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041b9e6
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41c23c
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041c560
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041c560
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041c560
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041c560
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41bf29
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41beb9
test byte [esi + 0x44], bl
je 0x41be7f
mov edi, 0x104
push edi
call fcn.00426169
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41bdab
mov ecx, 0x47fa24
call fcn.0041decc
push eax
call fcn.0041eaf1
pop ecx
push edi
push 0
push ebx
call fcn.00425890
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42ccbc
call fcn.0041cfe3
lea ecx, [esi + 0x20]
call fcn.0041decc
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041decc
push eax
lea ecx, [esi + 0x38]
call fcn.0041decc
push eax
lea ecx, [esi + 0x2c]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041d393
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41be63
push edi
push 0
push dword [ebp + 8]
call fcn.00425890
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42c9d4
call fcn.0041d0c0
lea ecx, [esi + 0x20]
call fcn.0041decc
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041decc
push eax
lea ecx, [esi + 0x38]
call fcn.0041decc
push eax
lea ecx, [esi + 0x2c]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041d393
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.0042615e
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041d0a9
jmp 0x41c201
cmp eax, 1
jne 0x41beb9
mov ecx, edi
call fcn.0041decc
push eax
lea ecx, [esi + 0x14]
call fcn.0041decc
push eax
call fcn.004263de
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041decc
push eax
lea ecx, [esi + 0x2c]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41bfe9
mov edi, 0x104
push edi
call fcn.00426169
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41bedc
mov ecx, 0x47fa24
call fcn.0041decc
push eax
call fcn.0041eaf1
pop ecx
push edi
push 0
push ebx
call fcn.00425890
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041decc
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041decc
push eax
lea ecx, [esi + 0x38]
call fcn.0041decc
push eax
lea ecx, [esi + 0x2c]
call fcn.0041decc
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041d0c0
push ebx
call fcn.0042615e
pop ecx
jmp 0x41c201
test ebx, ebx
jne 0x41c025
mov ecx, edi
call fcn.0041decc
push eax
call fcn.00426353
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41bfb1
test byte [esi + 0x44], 3
je 0x41bfb1
lea eax, [ebp + 8]
xor edi, edi
push eax
push 1
push edi
lea ecx, [esi + 0x2c]
mov dword [ebp + 8], edi
call fcn.0041decc
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
je 0x41bf7b
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esi + 0x54], ecx
jmp 0x41bfa3
lea eax, [ebp - 4]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 4], 0x104
call fcn.0041decc
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 0x41c201
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041decc
push eax
lea ecx, [esi + 0x2c]
call fcn.0041decc
push eax
push ebx
call fcn.0041ed57
add esp, 0x10
test eax, eax
jge 0x41c002
cmp dword [esi + 0xc], 1
jne 0x41bff1
lea ecx, [esi + 0x14]
call fcn.0041decc
push eax
call fcn.00426353
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41c201
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041d12e
jmp 0x41c201
cmp dword [esi + 0xc], 1
jne 0x41c012
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41c01d
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041d0c0
push dword [ebp + 8]
jmp 0x41bf1e
cmp ebx, 2
jne 0x41c201
and dword [ebp - 4], 0
cmp byte [0x48037c], 0
jne 0x41c0d5
mov eax, dword [0x47f200]
test eax, eax
je 0x41c04f
mov eax, dword [eax + 4]
test eax, eax
jne 0x41c064
mov eax, dword [0x47f050]
test eax, eax
je 0x41c05f
mov eax, dword [eax + 4]
test eax, eax
jne 0x41c064
mov eax, dword [0x47f268]
push 0
push 0x40581a
push eax
push 0x12
push dword [0x47f26c]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 4], eax
call fcn.0041e6cf
mov ebx, eax
test ebx, ebx
jne 0x41c099
mov ecx, 0x4801d4
call fcn.0041decc
mov ebx, eax
lea ecx, [ebp - 0x14]
call fcn.0041cf73
mov ecx, edi
call fcn.0041decc
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041d600
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041decc
push eax
push 0x422
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.0041d0a9
lea ecx, [esi + 0x2c]
call fcn.0041decc
mov ebx, eax
xor edi, edi
cmp byte [ebx], 0
je 0x41c14d
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041cfe3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041da75
cmp al, 0x5c
je 0x41c10a
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041d191
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041decc
push eax
lea ecx, [ebp - 0x14]
call fcn.0041decc
push eax
call fcn.0040edfb
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x41c145
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041d0a9
jmp 0x41c0e1
lea ecx, [ebp - 0x14]
call fcn.0041d0a9
test byte [esi + 0x44], 4
jne 0x41c170
test edi, edi
jg 0x41c186
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041decc
push eax
call fcn.0040efce
add esp, 0xc
mov edi, eax
test edi, edi
jg 0x41c186
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041d12e
jmp 0x41c1f2
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41c1c1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov al, byte [eax]
push eax
call fcn.0041cf9a
lea edi, [esi + 0x48]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041d12e
lea ecx, [ebp - 0x14]
call fcn.0041d0a9
push 0x3a
mov ecx, edi
call fcn.0041d191
jmp 0x41c1e9
push dword [ebp + 8]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041d0c0
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041da75
cmp al, 0x5c
jne 0x41c1e9
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041d542
push dword [ebp + 8]
call fcn.0042615e
pop ecx
cmp dword [ebp - 4], 0
je 0x41c201
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41c22a
lea eax, [ebp - 0x14]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.00428c46
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041d0c0
jmp 0x41c23c
lea ecx, [esi + 0x48]
call fcn.0041decc
push eax
call fcn.004263de
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4