Function at 0x435ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a17e1
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x4d0554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
call fcn.0043a11f
mov ecx, eax
test ecx, ecx
je 0x4361ac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x41c], eax
mov dword [ebp - 4], 0
call fcn.0043a11f
mov ecx, eax
test ecx, ecx
je 0x4361b6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
mov byte [ebp - 4], 1
call fcn.0043a11f
mov ecx, eax
test ecx, ecx
je 0x4361c0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x420], esi
xor ebx, ebx
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov dword [ebp - 0x414], eax
call edi
push str.____
push eax
push 0x4b43f8
push dword [ebp - 0x414]
lea eax, [ebp - 0x418]
push 0x4b43ec
push str._s_d_s_d_s
push eax
call fcn.00420820
mov ecx, dword [ebp - 0x424]
add esp, 0x1c
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x43601f
mov edi, ecx
nop dword [eax + eax]
test eax, eax
js 0x4360fd
cmp eax, dword [ebp - 0x414]
jg 0x4360fd
push dword [edi + 4]
lea ecx, [ebp - 0x41c]
call fcn.0041cd60
push 0x4b43dc
push dword [edi]
lea eax, [ebp - 0x420]
push 0x4b43e0
push dword [ebp - 0x41c]
push str._s_s_d_s
push eax
call fcn.00420820
mov esi, dword [ebp - 0x420]
lea ecx, [ebp - 0x418]
add esp, 0x18
push dword [esi - 0xc]
push esi
call fcn.00406460
mov ecx, dword [ebp - 0x424]
inc ebx
mov eax, dword [ecx + ebx*8]
lea edi, [ecx + ebx*8]
cmp eax, 0xffffffff
jne 0x435fb0
push 0x200
lea eax, [ebp - 0x410]
push eax
call fcn.00402640
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4d76d8
call ebx
test eax, eax
jne 0x43605e
push 0x4b3ccc
push str.Epson
push str.SOFTWARE_s_s
push 0x4d76d8
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x4d76d8
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x410]
push 0x4b47d8
push eax
call edi
push str.RecvErrorWindowDlg
lea eax, [ebp - 0x410]
push eax
call edi
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0
push eax
push 0x20006
push 0
lea eax, [ebp - 0x410]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x436105
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x410]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x436105
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x418]
jmp 0x436133
mov edi, dword [ebp - 0x418]
push edi
call ebx
add eax, eax
push eax
push edi
push 1
push 0
push str.COLUMNWIDTH
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436151
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43616c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43618e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468009
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0041d300
push 0x80004005
call fcn.0041d300
push 0x80004005
call fcn.0041d300
int3