Function at 0x436af0
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a180
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x44c680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x10]
call fcn.00402580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402580
mov byte [ebp - 4], 1
push str._ProgramFiles_Epson_SoftwareDownload_Navigator
lea ecx, [ebp - 0x10]
call fcn.00401dc0
mov dword [ebp - 0x14], 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00402330
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x436b72
mov dword [ebp - 0x14], 0
jmp 0x436d96
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00402950
push eax
lea ecx, [ebp - 0x10]
call fcn.00402330
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402610
lea ecx, [ebp - 0x1c]
call fcn.00401490
movzx edx, al
test edx, edx
je 0x436bba
mov dword [ebp - 0x14], 0
jmp 0x436d96
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x38]
call fcn.00406c5e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402a50
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.00402160
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.VERINFO.ESI
call fcn.00401de0
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 2
call fcn.00438590
add esp, 0xc
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401490
movzx eax, al
test eax, eax
je 0x436c36
mov dword [ebp - 0x14], 0
jmp 0x436d7e
mov dword [ebp - 0x3c], 0
push 0x441224
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00402330
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x40]
call fcn.00402950
push eax
push 0x441228
push str.ExecuteName
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call fcn.00402610
lea ecx, [ebp - 0x40]
call fcn.00401490
movzx ecx, al
test ecx, ecx
je 0x436ca4
mov dword [ebp - 0x14], 0
jmp 0x436d72
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x54]
call fcn.00406c5e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00402a50
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00402160
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x40]
push edx
call fcn.00402160
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.00438590
add esp, 0xc
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp + 8]
call fcn.004024c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.004024e0
mov ecx, dword [ebp + 8]
call fcn.00401490
movzx eax, al
test eax, eax
jne 0x436d52
mov dword [ebp - 0x14], 1
jmp 0x436d66
push 0x441254
mov ecx, dword [ebp + 8]
call fcn.00401dc0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.00406e3b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004024e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004024e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00406e3b
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004024e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004024e0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4