Function at 0x4abb8f
Capabilities:
Get common file path
Get file system object information
Persist via run registry key
Print debug messages
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa566
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x16c4
call fcn.004d0180
mov dword [ebp - 0x16d0], ecx
mov dword [ebp - 0x1124], 0
lea ecx, [ebp - 0x1134]
call fcn.00401900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.00401900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.00401900
mov byte [ebp - 4], 2
mov dword [ebp - 0x91c], 1
lea ecx, [ebp - 0x112c]
call fcn.00401900
mov byte [ebp - 4], 3
push 0x5331e4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4abeaa
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x112c]
call fcn.004e82b5
mov dword [ebp - 0x1128], 0x100
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x112c]
call fcn.00401920
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4abdcc
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
add ecx, 1
mov dword [ebp - 0x918], ecx
mov edx, dword [ebp - 0x918]
mov byte [edx], 0
push 0x533238
lea eax, [ebp - 0x110]
push eax
call fcn.004cf9c0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4abd22
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x16a0]
call fcn.004e819a
mov byte [ebp - 4], 4
push 1
push 1
lea edx, [ebp - 0x16a0]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16a0]
call fcn.004e812c
jmp 0x4abd7d
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x16a4]
call fcn.004e819a
mov byte [ebp - 4], 5
push 1
push 1
lea eax, [ebp - 0x16a4]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16a4]
call fcn.004e812c
push str._RCP__My_Doc_Registry_open_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
lea eax, [ebp - 0x1128]
push eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x91c]
push edx
push 0
push str.Personal
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4abe3d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
push 0x301
push 0x160
lea ecx, [ebp - 0x1294]
push ecx
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp dword [ebp + 0x10], 0
je 0x4abe85
mov eax, dword [ebp - 0x1290]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
jmp 0x4abea5
mov eax, dword [ebp - 0x1290]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
jmp 0x4acdca
push 0x533274
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4abfe6
push str._RCP__Email_code_start_____________________
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x110]
push edx
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov eax, dword [ebp - 0x918]
add eax, 1
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
mov byte [ecx], 0
push str.Email.ico
lea edx, [ebp - 0x110]
push edx
call fcn.004cf9c0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4abf86
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x16a8]
call fcn.004e819a
mov byte [ebp - 4], 6
push 1
push 1
lea ecx, [ebp - 0x16a8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16a8]
call fcn.004e812c
jmp 0x4abfe1
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x16ac]
call fcn.004e819a
mov byte [ebp - 4], 7
push 1
push 1
lea edx, [ebp - 0x16ac]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16ac]
call fcn.004e812c
jmp 0x4acdca
push str.Microsoft_Paint
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ac33b
mov dword [ebp - 0x1128], 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMSPAINT.EXE
lea ecx, [ebp - 0x112c]
call fcn.004e82b5
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x112c]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ac0a3
mov ecx, dword [ebp - 0x1128]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.mspaint.exe
lea eax, [ebp - 0x110]
push eax
call fcn.004cf9c0
add esp, 8
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4ac09e
lea edx, [ebp - 0x110]
push edx
push str._RCP__S2PC:_MS_paint_path___s
lea eax, [ebp - 0x1314]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x1314]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4ac278
lea edx, [ebp - 0x1128]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x91c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ac242
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x110]
push ecx
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov edx, dword [ebp - 0x918]
add edx, 1
mov dword [ebp - 0x918], edx
mov eax, dword [ebp - 0x918]
mov byte [eax], 0
push str.Empty.ico
lea ecx, [ebp - 0x110]
push ecx
call fcn.004cf9c0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x4ac18b
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x16b0]
call fcn.004e819a
mov byte [ebp - 4], 8
push 1
push 1
lea eax, [ebp - 0x16b0]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16b0]
call fcn.004e812c
jmp 0x4ac1e6
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x16b4]
call fcn.004e819a
mov byte [ebp - 4], 9
push 1
push 1
lea ecx, [ebp - 0x16b4]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16b4]
call fcn.004e812c
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4ac1fe
push str._RCP__S2PC:_MyDoc_reg_exe_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x4ac278
lea eax, [ebp - 0x110]
push eax
push str._RCP__S2PC:__MS_paint_path___s
lea ecx, [ebp - 0x1394]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x1394]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp + 0x10], 0
je 0x4ac2db
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x16b8]
call fcn.004e819a
mov byte [ebp - 4], 0xa
push 1
push 1
lea ecx, [ebp - 0x16b8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16b8]
call fcn.004e812c
jmp 0x4ac336
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x16bc]
call fcn.004e819a
mov byte [ebp - 4], 0xb
push 1
push 1
lea edx, [ebp - 0x16bc]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16bc]
call fcn.004e812c
jmp 0x4acdca
mov ecx, 0x53999c
call fcn.00401920
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4ac36b
push 0x533380
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ac9ea
push 0x533384
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ac521
mov dword [ebp - 0x1128], 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsImageEditor.exe
lea ecx, [ebp - 0x112c]
call fcn.004e82b5
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x112c]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ac43f
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
add ecx, 1
mov dword [ebp - 0x918], ecx
mov edx, dword [ebp - 0x918]
mov byte [edx], 0
push 0x5333d4
lea eax, [ebp - 0x110]
push eax
call fcn.004cf9c0
add esp, 8
mov ecx, dword [ebp - 0x16d0]
mov dword [ecx + 0x5c], 0
mov dword [0x539864], 0
jmp 0x4ac4e6
lea edx, [ebp - 0x1128]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x91c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ac4cf
push str._RCP__S2PC:_SmarThru_reg_exe_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x16d0]
mov dword [eax + 0x5c], 0
mov dword [0x539864], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
mov ecx, dword [ebp - 0x16d0]
mov dword [ecx + 0x5c], 1
mov dword [0x539864], 1
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x4ac51c
lea eax, [ebp - 0x110]
push eax
push 0x533404
lea ecx, [ebp - 0x1418]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x1418]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4ac880
push 0x533434
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ac6ca
mov dword [ebp - 0x1128], 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsSTOCmdLauncher.exe
lea ecx, [ebp - 0x112c]
call fcn.004e82b5
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x112c]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ac5f5
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x110]
push edx
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov eax, dword [ebp - 0x918]
add eax, 1
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
mov byte [ecx], 0
push 0x53348c
lea edx, [ebp - 0x110]
push edx
call fcn.004cf9c0
add esp, 8
mov eax, dword [ebp - 0x16d0]
mov dword [eax + 0x5c], 0
mov dword [0x539860], 0
jmp 0x4ac69c
lea ecx, [ebp - 0x1128]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x91c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ac685
push str._RCP__S2PC:_SmarThru_Office_reg_exe_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x16d0]
mov dword [edx + 0x5c], 0
mov dword [0x539860], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
mov eax, dword [ebp - 0x16d0]
mov dword [eax + 0x5c], 1
mov dword [0x539860], 1
lea ecx, [ebp - 0x110]
push ecx
push str._RCP__S2PC:_DItem_SmarThru_PaprPort_path___s
lea edx, [ebp - 0x1498]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1498]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4ac880
mov dword [ebp - 0x1128], 0x100
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsPaprPort.exe
lea ecx, [ebp - 0x112c]
call fcn.004e82b5
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x112c]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ac769
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
add ecx, 1
mov dword [ebp - 0x918], ecx
mov edx, dword [ebp - 0x918]
mov byte [edx], 0
push 0x533538
lea eax, [ebp - 0x110]
push eax
call fcn.004cf9c0
add esp, 8
jmp 0x4ac880
lea ecx, [ebp - 0x1128]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x91c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ac84a
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004d03c0
add esp, 8
mov dword [ebp - 0x918], eax
mov ecx, dword [ebp - 0x918]
add ecx, 1
mov dword [ebp - 0x918], ecx
mov edx, dword [ebp - 0x918]
mov byte [edx], 0
push str.empty.ico
lea eax, [ebp - 0x110]
push eax
call fcn.004cf9c0
add esp, 8
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4ac806
push str._S2PC__Paperport_reg_exe_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x4ac880
lea eax, [ebp - 0x110]
push eax
push str._S2PC___PaperPort_path___s
lea ecx, [ebp - 0x1518]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x1518]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x53358c
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ac8a3
cmp dword [0x53986c], 0
je 0x4ac8ca
push str.PaperPort
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4ac941
cmp dword [0x539868], 0
jne 0x4ac941
mov eax, dword [ebp - 0x16d0]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [0x53999c]
push edx
push str._PSU__InsertIcon:__s_not_installed___s
lea eax, [ebp - 0x1598]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x1598]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
jmp 0x4ace09
lea ecx, [ebp - 0x1398]
call fcn.00401900
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x1398]
call fcn.004e82b5
cmp dword [ebp + 0x10], 0
je 0x4ac9a0
push 1
push 1
lea eax, [ebp - 0x1398]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
jmp 0x4ac9d6
push 1
push 1
lea eax, [ebp - 0x1398]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1398]
call fcn.004e812c
jmp 0x4acdca
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x4aca1c
mov ecx, dword [ebp + 0xc]
push ecx
push str._RCP__S2PC:____s
lea edx, [ebp - 0x1618]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x1618]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x21c
push ecx
push 0x800
lea edx, [ebp - 0x914]
push edx
push 0x5335e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x914]
mov dword [ebp - 0x1124], eax
mov ecx, dword [ebp - 0x1124]
movsx edx, byte [ecx]
test edx, edx
je 0x4acdca
mov eax, dword [ebp - 0x1124]
push eax
lea ecx, [ebp - 0x1120]
push ecx
call fcn.004cf9b0
add esp, 8
push 0x5335e4
lea edx, [ebp - 0x1120]
push edx
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1130]
call fcn.004e82b5
push 0x5335e8
push 0
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1134]
call fcn.004e82b5
lea ecx, [ebp - 0x1130]
call fcn.00401920
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4acda6
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x21c
push ecx
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0x5335ec
lea ecx, [ebp - 0x1134]
call fcn.00401920
push eax
push 0x5335f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x161c]
call fcn.004e819a
mov byte [ebp - 4], 0xd
push str._Regist
lea ecx, [ebp - 0x161c]
push ecx
call fcn.00422f00
and eax, 0xff
test eax, eax
je 0x4acbf8
cmp dword [ebp + 0x10], 0
je 0x4acb98
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x16c0]
call fcn.004e819a
mov byte [ebp - 4], 0xe
push 1
push 1
lea eax, [ebp - 0x16c0]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16c0]
call fcn.004e812c
jmp 0x4acbf3
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x16c4]
call fcn.004e819a
mov byte [ebp - 4], 0xf
push 1
push 1
lea ecx, [ebp - 0x16c4]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16c4]
call fcn.004e812c
jmp 0x4acd97
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x4acc32
mov edx, dword [ebp - 0x1130]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str._RCP__S2PC:__s___s
lea ecx, [ebp - 0x169c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x169c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
lea ecx, [ebp - 0x112c]
call fcn.004e82b5
lea eax, [ebp - 0x1134]
push eax
lea ecx, [ebp - 0x112c]
call fcn.004e8544
mov dword [ebp - 0x1128], 0x100
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x112c]
call fcn.00401920
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4acc9b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x161c]
call fcn.004e812c
jmp 0x4acdca
lea edx, [ebp - 0x1128]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x91c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4accd9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x161c]
call fcn.004e812c
jmp 0x4acdca
cmp dword [ebp + 0x10], 0
je 0x4acd3c
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x16c8]
call fcn.004e819a
mov byte [ebp - 4], 0x10
push 1
push 1
lea ecx, [ebp - 0x16c8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1dec
call fcn.00429e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16c8]
call fcn.004e812c
jmp 0x4acd97
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x16cc]
call fcn.004e819a
mov byte [ebp - 4], 0x11
push 1
push 1
lea edx, [ebp - 0x16cc]
push edx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1ee8
call fcn.004afaba
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x16d0]
add ecx, 0x1e28
call fcn.00429e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16cc]
call fcn.004e812c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x161c]
call fcn.004e812c
mov edx, dword [ebp - 0x1124]
push edx
call fcn.004cf430
add esp, 4
mov ecx, dword [ebp - 0x1124]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1124], edx
jmp 0x4aca4c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x112c]
call fcn.004e812c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x920]
call fcn.004e812c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1130]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1134]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc