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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d590
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x48c7d0]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push esi
push edi
mov eax, dword [0x48c7d0]
xor eax, esp
push eax
lea eax, [esp + 0xa60]
mov dword fs:[0], eax
and dword [esp + 0x38], 0
mov edi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], vtable.CLcMgrStub.0
and dword [esp + 0xa68], 0
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x2c]
call fcn.00402773
mov byte [esp + 0xa68], 1
call fcn.004083f2
mov eax, dword [eax]
push str.Resources
push eax
lea eax, [esp + 0x30]
push 0x477fb8
push eax
call fcn.0040314f
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push str.string
call fcn.004024c3
push ecx
mov byte [esp + 0xa70], 2
lea eax, [esp + 0x30]
mov dword [esp + 0x34], esp
mov ecx, esp
push eax
call fcn.0040283c
lea esi, [esp + 0x3c]
mov byte [esp + 0xa70], 1
call fcn.0040beed
mov esi, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test esi, esi
je 0x41c41e
mov eax, esi
test esi, esi
je 0x41c6d9
mov esi, dword [esi]
add eax, 8
push eax
lea ecx, [esp + 0x20]
call fcn.0040283c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa6c], 3
call fcn.0040283c
push str.Model
push 0x47987c
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xa74], 4
call fcn.0040c154
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x18]
call fcn.00402773
mov byte [esp + 0xa68], 5
call fcn.004083f2
push dword [eax]
lea eax, [esp + 0x18]
push str._sAssistantsScan_AssistantScannerDevCap.ini
push eax
call fcn.0040314f
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call fcn.0044de40
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
push 0x104
lea eax, [esp + 0x54]
push eax
push 0x47741c
push str.DeviceSettingAlias
push dword [esp + 0x24]
call ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
call fcn.004024c3
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xa70], 6
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
mov byte [esp + 0xa74], 7
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], esp
mov ecx, esp
push eax
call fcn.0040283c
mov byte [esp + 0xa74], 6
call fcn.0041ccde
mov ecx, dword [esp + 0x30]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [edi - 0x10]
call fcn.0040285d
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [esp + 0xa68], 1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285d
test esi, esi
jne 0x41c2d5
mov edi, dword [esp + 0x20]
mov esi, 0x800
push esi
lea eax, [esp + 0x258]
push 0
push eax
call fcn.0044de40
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push 0x20019
push 0
push str.SOFTWAREEPSONDocument_Capture
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c48b
and dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x258]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push str.InstallFolder
push dword [esp + 0x50]
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x254]
push eax
call fcn.0044d316
pop ecx
test eax, eax
je 0x41c698
mov edi, dword [edi + 4]
push str.EPSON_Event_Manager_Job_Deploy
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x20], eax
test edi, edi
je 0x41c687
mov esi, str.DCEX.
mov eax, edi
test edi, edi
je 0x41c6d9
mov edi, dword [edi]
add eax, 8
push eax
lea ecx, [esp + 0x28]
call fcn.0040283c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa6c], 8
call fcn.0040283c
push str.Model
push 0x47987c
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xa74], 9
call fcn.0040c154
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x18]
call fcn.00402773
mov byte [esp + 0xa68], 0xa
call fcn.004083f2
push dword [eax]
lea eax, [esp + 0x18]
push str._sAssistantsScan_AssistantScannerDevCap.ini
push eax
call fcn.0040314f
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call fcn.0044de40
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.004069c6
mov eax, dword [eax]
add esp, 0xc
push dword [esp + 0x14]
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0x47741c
push str.DeviceSettingAlias
push eax
call ebx
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.0040285d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004069c6
mov eax, dword [eax]
add esp, 0xc
push dword [esp + 0x14]
push 0
push str.DCUSupport
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x30]
test eax, eax
seta byte [esp + 0x1b]
add ecx, 0xfffffff0
call fcn.0040285d
cmp byte [esp + 0x1b], 0
je 0x41c653
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.004024c3
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xa70], 0xb
lea eax, [esp + 0x25c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004024c3
push ecx
mov byte [esp + 0xa74], 0xc
lea eax, [esp + 0x28]
mov dword [esp + 0x50], esp
mov ecx, esp
push eax
call fcn.0040283c
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x58], esp
mov ecx, esp
push eax
mov byte [esp + 0xa7c], 0xd
call fcn.0040283c
mov byte [esp + 0xa78], 0xb
call fcn.0041ca61
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [esp + 0xa68], 1
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040285d
test edi, edi
jne 0x41c4c4
cmp dword [esp + 0x20], 0
je 0x41c698
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
or dword [esp + 0xa68], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0040bedc
mov ecx, dword [esp + 0xa60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa48]
xor ecx, esp
call fcn.0044d1dc
mov esp, ebp
pop ebp
ret
call fcn.0042a7f8
int3