Function at 0x41b498
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, 0x47f540
call fcn.0041f2e9
mov esi, eax
test esi, esi
je 0x41ba74
cmp dword [esi + 0x10], 0xffffffff
je 0x41ba74
lea eax, [esi + 0x14]
mov edi, 0x47f028
push eax
mov ecx, edi
call fcn.00416e92
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.00416e92
lea ebx, [esi + 0x2c]
mov ecx, edi
push ebx
call fcn.00416e92
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.00416e92
lea eax, [esi + 0x14]
mov ecx, edi
push eax
call fcn.0041b21e
lea eax, [esi + 0x38]
mov ecx, edi
push eax
call fcn.0041b21e
push ebx
mov ecx, edi
call fcn.0041b21e
push 1
push 0
push 0
push 0x42d3a4
push str._0_
mov ecx, ebx
call fcn.0041d5df
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push 0xd
call fcn.0041d5af
cmp dword [esi + 0x10], 2
jne 0x41b548
push 0
mov ecx, ebx
call fcn.0041c9de
lea eax, [esi + 0x20]
mov ecx, edi
push eax
call fcn.0041b21e
mov ebx, dword [esi + 0x10]
push 0xfffffffffffffffe
pop eax
cmp ebx, eax
je 0x41ba74
mov ecx, dword [ebp - 4]
mov dword [esi + 0x10], eax
mov edi, 0x7fffffff
lea eax, [esi + 0x14]
push edi
push eax
call fcn.0041bd98
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x38]
push edi
push eax
call fcn.0041bd98
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.0041bd98
mov ecx, dword [ebp - 4]
push edi
lea edi, [esi + 0x20]
push edi
call fcn.0041bd98
cmp ebx, 1
mov dword [esi + 0x10], ebx
jne 0x41b761
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x41b6f1
test byte [esi + 0x44], bl
je 0x41b6b7
mov edi, 0x104
push edi
call fcn.004258e9
mov ebx, eax
pop ecx
test ebx, ebx
mov dword [ebp + 8], ebx
jne 0x41b5e3
mov ecx, 0x47f994
call fcn.0041d704
push eax
call fcn.0041e30a
pop ecx
push edi
push 0
push ebx
call fcn.00425010
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42ccb0
call fcn.0041c81b
lea ecx, [esi + 0x20]
call fcn.0041d704
push eax
push edi
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041d704
push eax
lea ecx, [esi + 0x38]
call fcn.0041d704
push eax
lea ecx, [esi + 0x2c]
call fcn.0041d704
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041cbe0
mov bl, al
neg bl
sbb bl, bl
inc bl
jne 0x41b69b
push edi
push 0
push dword [ebp + 8]
call fcn.00425010
add esp, 0xc
lea ecx, [ebp - 0x14]
push 0x42c9d4
call fcn.0041c8f8
lea ecx, [esi + 0x20]
call fcn.0041d704
push eax
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041d704
push eax
lea ecx, [esi + 0x38]
call fcn.0041d704
push eax
lea ecx, [esi + 0x2c]
call fcn.0041d704
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 1
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041cbe0
mov bl, al
neg bl
sbb bl, bl
inc bl
push dword [ebp + 8]
call fcn.004258de
movzx eax, bl
pop ecx
mov dword [esi + 0x54], eax
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
jmp 0x41ba39
cmp eax, 1
jne 0x41b6f1
mov ecx, edi
call fcn.0041d704
push eax
lea ecx, [esi + 0x14]
call fcn.0041d704
push eax
call fcn.00425b5e
pop ecx
push eax
lea ecx, [esi + 0x38]
call fcn.0041d704
push eax
lea ecx, [esi + 0x2c]
call fcn.0041d704
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x41b821
mov edi, 0x104
push edi
call fcn.004258e9
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x41b714
mov ecx, 0x47f994
call fcn.0041d704
push eax
call fcn.0041e30a
pop ecx
push edi
push 0
push ebx
call fcn.00425010
add esp, 0xc
lea ecx, [esi + 0x20]
call fcn.0041d704
push eax
push edi
push ebx
lea ecx, [esi + 0x14]
call fcn.0041d704
push eax
lea ecx, [esi + 0x38]
call fcn.0041d704
push eax
lea ecx, [esi + 0x2c]
call fcn.0041d704
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
lea ecx, [esi + 0x48]
call fcn.0041c8f8
push ebx
call fcn.004258de
pop ecx
jmp 0x41ba39
test ebx, ebx
jne 0x41b85d
mov ecx, edi
call fcn.0041d704
push eax
call fcn.00425ad3
cmp dword [esi + 0xc], 1
pop ecx
mov ebx, eax
jne 0x41b7e9
test byte [esi + 0x44], 3
je 0x41b7e9
lea eax, [ebp + 8]
xor edi, edi
push eax
push 1
push edi
lea ecx, [esi + 0x2c]
mov dword [ebp + 8], edi
call fcn.0041d704
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test byte [esi + 0x44], 1
je 0x41b7b3
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [esi + 0x54], ecx
jmp 0x41b7db
lea eax, [ebp - 4]
lea ecx, [esi + 0x38]
push eax
push edi
push edi
push edi
mov dword [ebp - 4], 0x104
call fcn.0041d704
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 0x41ba39
lea eax, [ebp + 8]
lea ecx, [esi + 0x38]
push eax
call fcn.0041d704
push eax
lea ecx, [esi + 0x2c]
call fcn.0041d704
push eax
push ebx
call fcn.0041e570
add esp, 0x10
test eax, eax
jge 0x41b83a
cmp dword [esi + 0xc], 1
jne 0x41b829
lea ecx, [esi + 0x14]
call fcn.0041d704
push eax
call fcn.00425ad3
pop ecx
mov dword [esi + 0x54], eax
jmp 0x41ba39
lea eax, [esi + 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041c966
jmp 0x41ba39
cmp dword [esi + 0xc], 1
jne 0x41b84a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esi + 0x54], eax
jmp 0x41b855
push dword [ebp + 8]
lea ecx, [esi + 0x48]
call fcn.0041c8f8
push dword [ebp + 8]
jmp 0x41b756
cmp ebx, 2
jne 0x41ba39
and dword [ebp - 4], 0
cmp byte [0x4802ec], 0
jne 0x41b90d
mov eax, dword [0x47f180]
test eax, eax
je 0x41b887
mov eax, dword [eax + 4]
test eax, eax
jne 0x41b89c
mov eax, dword [0x47efd0]
test eax, eax
je 0x41b897
mov eax, dword [eax + 4]
test eax, eax
jne 0x41b89c
mov eax, dword [0x47f1e8]
push 0
push 0x40581a
push eax
push 0x12
push dword [0x47f1ec]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push str.___Internal_FindingFile___
mov dword [ebp - 4], eax
call fcn.0041df03
mov ebx, eax
test ebx, ebx
jne 0x41b8d1
mov ecx, 0x480144
call fcn.0041d704
mov ebx, eax
lea ecx, [ebp - 0x14]
call fcn.0041c7ab
mov ecx, edi
call fcn.0041d704
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0041ce4d
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0041d704
push eax
push 0x422
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
lea ecx, [esi + 0x2c]
call fcn.0041d704
mov ebx, eax
xor edi, edi
cmp byte [ebx], 0
je 0x41b985
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041c81b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
dec eax
push eax
call fcn.0041c9c9
cmp al, 0x5c
je 0x41b942
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041c9de
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041d704
push eax
lea ecx, [ebp - 0x14]
call fcn.0041d704
push eax
call fcn.0040eb99
mov edi, eax
add esp, 0x10
test edi, edi
jg 0x41b97d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041c8e1
jmp 0x41b919
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
test byte [esi + 0x44], 4
jne 0x41b9a8
test edi, edi
jg 0x41b9be
lea eax, [ebp + 8]
lea ecx, [esi + 0x20]
push eax
push 0
call fcn.0041d704
push eax
call fcn.0040ed6c
add esp, 0xc
mov edi, eax
test edi, edi
jg 0x41b9be
and dword [esi + 0x54], 0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.0041c966
jmp 0x41ba2a
test byte [esi + 0x44], 2
push 1
pop edi
mov dword [esi + 0x54], edi
je 0x41b9f9
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov al, byte [eax]
push eax
call fcn.0041c7d2
lea edi, [esi + 0x48]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041c966
lea ecx, [ebp - 0x14]
call fcn.0041c8e1
push 0x3a
mov ecx, edi
call fcn.0041c9de
jmp 0x41ba21
push dword [ebp + 8]
lea ebx, [esi + 0x48]
mov ecx, ebx
call fcn.0041c8f8
mov eax, dword [ebx]
mov ecx, ebx
dec eax
push eax
call fcn.0041c9c9
cmp al, 0x5c
jne 0x41ba21
mov eax, dword [ebx]
push edi
dec eax
mov ecx, ebx
push eax
call fcn.0041cd8f
push dword [ebp + 8]
call fcn.004258de
pop ecx
cmp dword [ebp - 4], 0
je 0x41ba39
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0xc], 1
jne 0x41ba62
lea eax, [ebp - 0x14]
push 0xa
push eax
push dword [esi + 0x54]
call fcn.004283c6
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x48]
push eax
call fcn.0041c8f8
jmp 0x41ba74
lea ecx, [esi + 0x48]
call fcn.0041d704
push eax
call fcn.00425b5e
pop ecx
mov dword [esi + 0x54], eax
pop edi
pop esi
pop ebx
leave
ret 4