Function at 0x4a62e8
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa314
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1d50
call fcn.004d0180
mov dword [ebp - 0x1d48], ecx
mov dword [ebp - 0x1b84], 0
mov dword [ebp - 0x1c90], 0
lea ecx, [ebp - 0x1ca4]
call fcn.00401900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c9c]
call fcn.00401900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8c]
call fcn.00401900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c88]
call fcn.00401900
mov byte [ebp - 4], 3
mov dword [ebp - 0x1280], 0
mov dword [ebp - 0x1c98], 0
mov dword [ebp - 0xa78], 1
mov dword [ebp - 0xa7c], 0
push 1
push 1
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1ee8
call fcn.004afb3b
push eax
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1e28
call fcn.004a3a40
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1e28
call fcn.00429e50
cmp dword [0x539998], 0
je 0x4a64da
push 0
push 0x531ba0
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1d4c], eax
mov ecx, dword [ebp - 0x1d4c]
push ecx
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
mov ecx, dword [ebp - 0x1d48]
call fcn.004abb8f
push 0
push 0x531bb0
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1d50], eax
mov ecx, dword [ebp - 0x1d50]
push ecx
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
mov ecx, dword [ebp - 0x1d48]
call fcn.004abb8f
push 0
push 0x531bb8
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1d54], eax
mov ecx, dword [ebp - 0x1d54]
push ecx
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
mov ecx, dword [ebp - 0x1d48]
call fcn.004abb8f
push 0
mov ecx, 0x53999c
call fcn.00401920
push eax
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1d58], eax
mov ecx, dword [ebp - 0x1d58]
push ecx
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
mov ecx, dword [ebp - 0x1d48]
call fcn.004abb8f
push 0
push 0x531bc8
mov eax, dword [ebp - 0x1280]
mov dword [ebp - 0x1d5c], eax
mov ecx, dword [ebp - 0x1d5c]
push ecx
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
mov ecx, dword [ebp - 0x1d48]
call fcn.004abb8f
mov eax, dword [ebp - 0x1d48]
add eax, 0x21c
push eax
push 0x800
lea ecx, [ebp - 0x127c]
push ecx
push 0x531bcc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea edx, [ebp - 0x127c]
mov dword [ebp - 0x1c90], edx
mov eax, dword [ebp - 0x1c90]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4a666a
mov edx, dword [ebp - 0x1c90]
push edx
lea eax, [ebp - 0x1a80]
push eax
call fcn.004cf9b0
add esp, 8
push 0x531bd4
lea ecx, [ebp - 0x1a80]
push ecx
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1c88]
call fcn.004e82b5
push 0x531bd8
push 0
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1c8c]
call fcn.004e82b5
mov edx, dword [ebp - 0x1d48]
add edx, 0x21c
push edx
push 0x1e
lea eax, [ebp - 0x130]
push eax
push 0x531bdc
lea ecx, [ebp - 0x1c88]
call fcn.00401920
push eax
push 0x531be4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x531bf0
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4a65b8
jmp 0x4a666a
lea edx, [ebp - 0x1c8c]
push edx
lea ecx, [ebp - 0x1ca8]
call fcn.004e7ea1
mov byte [ebp - 4], 4
lea eax, [ebp - 0xa74]
push eax
lea ecx, [ebp - 0x1ca8]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4a6637
push 1
push 1
lea ecx, [ebp - 0x1c8c]
push ecx
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1ee8
call fcn.004afaba
push eax
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x1280]
push eax
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1e28
call fcn.00429e20
mov ecx, dword [ebp - 0x1280]
add ecx, 1
mov dword [ebp - 0x1280], ecx
mov edx, dword [ebp - 0x1c90]
push edx
call fcn.004cf430
add esp, 4
mov ecx, dword [ebp - 0x1c90]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1c90], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ca8]
call fcn.004e812c
jmp 0x4a6509
push 0x531bf8
lea ecx, [ebp - 0x1c94]
call fcn.004e819a
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1ca0]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x1c94]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4a66fa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c94]
call fcn.004e812c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c88]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8c]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c9c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ca4]
call fcn.004e812c
jmp 0x4a6be2
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4a6712
push str._RCP__S2PC:__________Available_s_w_List__________
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x1c98], 0
mov edx, 1
test edx, edx
je 0x4a6b7c
push 0x100
push 0
lea eax, [ebp - 0x1b80]
push eax
call fcn.004cf390
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x1b80]
push ecx
mov edx, dword [ebp - 0x1c98]
push edx
mov eax, dword [ebp - 0x1ca0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x1cb0], eax
cmp dword [ebp - 0x1cb0], 0
je 0x4a67b0
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4a67ab
lea edx, [ebp - 0x1b80]
push edx
mov eax, dword [ebp - 0x1c98]
push eax
push str._RCP___d__s_RegEnumKey_error
lea ecx, [ebp - 0x1d30]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x1d30]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4a6b7c
push 0x100
push 0
lea eax, [ebp - 0x1c84]
push eax
call fcn.004cf390
add esp, 0xc
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x21c
push ecx
push 0x800
lea edx, [ebp - 0x1c84]
push edx
push 0
lea eax, [ebp - 0x1b80]
push eax
push 0x531c84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x1c84]
push ecx
lea ecx, [ebp - 0x1cac]
call fcn.004e819a
mov byte [ebp - 4], 6
push 0x53e250
lea edx, [ebp - 0x1cac]
push edx
call fcn.00408680
and eax, 0xff
test eax, eax
je 0x4a6b59
lea eax, [ebp - 0x1b80]
push eax
lea ecx, [ebp - 0x1d3c]
call fcn.004e819a
mov byte [ebp - 4], 7
push 0x531c8c
lea ecx, [ebp - 0x1d40]
call fcn.004e819a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1d3c]
push ecx
lea ecx, [ebp - 0x1d40]
call fcn.004e8544
mov dword [ebp - 0x1d38], 0x100
lea edx, [ebp - 0x934]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1d40]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4a68c8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d40]
call fcn.004e812c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d3c]
call fcn.004e812c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cac]
call fcn.004e812c
jmp 0x4a6b7c
lea eax, [ebp - 0x1d38]
push eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0xa78]
push edx
push 0
push 0
mov eax, dword [ebp - 0x934]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a6933
mov ecx, dword [ebp - 0x1c98]
add ecx, 1
mov dword [ebp - 0x1c98], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d40]
call fcn.004e812c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d3c]
call fcn.004e812c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cac]
call fcn.004e812c
jmp 0x4a671c
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x1d34]
call fcn.004e819a
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa74]
push eax
lea ecx, [ebp - 0x1d34]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4a6b1f
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x21c
push ecx
push 0x800
lea edx, [ebp - 0x930]
push edx
push 0x531cc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x930]
mov dword [ebp - 0x1b84], eax
mov ecx, dword [ebp - 0x1b84]
movsx edx, byte [ecx]
test edx, edx
je 0x4a6b1f
mov eax, dword [ebp - 0x1b84]
push eax
lea ecx, [ebp - 0x1a80]
push ecx
call fcn.004cf9b0
add esp, 8
push 0x531cd0
lea edx, [ebp - 0x1a80]
push edx
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1c9c]
call fcn.004e82b5
push 0x531cd4
push 0
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1ca4]
call fcn.004e82b5
lea ecx, [ebp - 0x1c9c]
call fcn.00401920
push eax
lea ecx, [ebp - 0x1d3c]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4a6afb
mov eax, dword [ebp - 0x1d48]
add eax, 0x21c
push eax
push 0x1e
lea ecx, [ebp - 0x130]
push ecx
push 0x531cd8
lea ecx, [ebp - 0x1c9c]
call fcn.00401920
push eax
push 0x531ce0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x531cec
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4a6a86
mov ecx, 0x53999c
call fcn.00401920
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4a6a8b
jmp 0x4a6b1f
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x1d44]
call fcn.004e819a
mov byte [ebp - 4], 0xa
push 1
push 1
lea edx, [ebp - 0x1d44]
push edx
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1ee8
call fcn.004afaba
push eax
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x1280]
push ecx
mov ecx, dword [ebp - 0x1d48]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1d44]
call fcn.004e812c
mov edx, dword [ebp - 0x1280]
add edx, 1
mov dword [ebp - 0x1280], edx
mov eax, dword [ebp - 0x1b84]
push eax
call fcn.004cf430
add esp, 4
mov ecx, dword [ebp - 0x1b84]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1b84], edx
jmp 0x4a699b
mov eax, dword [ebp - 0x934]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1d34]
call fcn.004e812c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1d40]
call fcn.004e812c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d3c]
call fcn.004e812c
mov ecx, dword [ebp - 0x1c98]
add ecx, 1
mov dword [ebp - 0x1c98], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cac]
call fcn.004e812c
jmp 0x4a671c
mov edx, dword [ebp - 0x1ca0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1d48]
call fcn.004a58ac
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c94]
call fcn.004e812c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c88]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c8c]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c9c]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ca4]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret