Function at 0x4441f0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583aa3
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5eb6e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x494], ebx
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x444254
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x450], eax
mov edi, 1
mov dword [ebp - 4], edi
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x444288
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x494], edi
call fcn.00455ee7
mov dword [ebp - method.CWnd.virtual_0], vtable.CDownloadCore.0
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 0x4b0], ebx
mov dword [ebp - 0x4ac], ebx
mov dword [ebp - 0x4a0], ebx
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov eax, 0x5f38c8
mov dword [ebp - 0x434], esp
call fcn.00405ff0
lea eax, [ebp - 0x504]
call fcn.00415330
cmp eax, ebx
je 0x444c00
xor eax, eax
push 0x418
lea ecx, [ebp - 0x42c]
push ebx
push ecx
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
call fcn.00553a60
add esp, 0xc
push str.Download_Navigator
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x424], 0x3d
call fcn.00403320
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x458]
mov ecx, dword [edx - 8]
mov eax, edi
sub eax, dword [edx - 4]
or ecx, eax
jge 0x444364
push ebx
lea ecx, [ebp - 0x458]
call fcn.00403620
mov edx, dword [ebp - 0x458]
lea eax, [ebp - 0x474]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x470], edi
mov edi, str.WorldWide
lea edx, [ebp - 0x42c]
or esi, 0xffffffff
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x4b0], 8
cmp eax, ebx
je 0x444c48
push str.Download
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x444c48
mov ecx, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b0]
push ecx
push edx
call eax
mov esi, eax
mov dword [ebp - 0x4a8], esi
cmp esi, ebx
jne 0x444c48
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x444402
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x444], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x420]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
push str.NewVersion
call fcn.00403320
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x45c], esp
push str.Common
call fcn.00403320
push ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x414]
mov ecx, esp
mov dword [ebp - 0x430], esp
push edx
call fcn.00403320
lea eax, [ebp - 0x440]
push eax
mov byte [ebp - 4], 4
call fcn.00413730
add esp, 0x10
mov bl, 7
mov byte [ebp - 4], bl
mov ecx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
push str.CurrentVersion
call fcn.00403320
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x45c], esp
push str.Common
call fcn.00403320
push ecx
mov byte [ebp - 4], 9
lea edx, [ebp - 0x414]
mov ecx, esp
mov dword [ebp - 0x430], esp
push edx
call fcn.00403320
lea eax, [ebp - 0x438]
push eax
mov byte [ebp - 4], bl
call fcn.00413730
add esp, 0x10
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x444]
push str.Installed_Ryoga_version_checked._Installed_is___s__Server_ver_is___s__bDownload_is___d__r_n
push edx
call fcn.00404130
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444512
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x440]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x5f3994], 0
jne 0x44454a
call fcn.004117a0
test eax, eax
je 0x44457b
mov ecx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x43c]
push 0x40004
push str.Doanload__
push ecx
mov ecx, esi
call fcn.00456173
xor edx, edx
cmp eax, 6
mov eax, dword [ebp - 0x46c]
sete dl
mov dword [eax + 0xc], edx
jmp 0x444581
mov esi, dword [ebp - 0x43c]
push 0xd
lea ecx, [ebp - 0x45c]
push ecx
mov ecx, 0x5f38c8
call fcn.00432310
push str.DNINS_
push eax
lea edx, [ebp - 0x44c]
push edx
mov byte [ebp - 4], 0xb
call fcn.004024e0
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x45c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4445d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44c]
cmp dword [eax - 0xc], 0
je 0x4445fe
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4445fe
test al, 0x10
je 0x4445fe
lea ecx, [ebp - 0x44c]
push ecx
call fcn.004140a0
add esp, 4
mov edx, dword [ebp - 0x46c]
cmp dword [edx + 0xc], 0
je 0x444b8c
call fcn.00453e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x444628
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x448], eax
push ecx
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x434], esp
push str.TXT_Body_DL
call fcn.00403320
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x440], esp
push 0x5b8b68
call fcn.00403320
lea ecx, [ebp - 0x438]
push ecx
mov ecx, 0x5f38c8
mov byte [ebp - 4], 0xe
call fcn.00436360
push eax
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x10
call fcn.004037d0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4446b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
push str.DownloadNavigator
call fcn.00403320
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x440], esp
push str.SoftwareName
call fcn.00403320
lea ecx, [ebp - 0x438]
push ecx
mov ecx, 0x5f38c8
mov byte [ebp - 4], 0xe
call fcn.00436360
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
push eax
push 0x5b2418
lea ecx, [ebp - 0x448]
call fcn.0042d2a0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44472f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x448]
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, dword [ebx - 4]
or ecx, eax
jge 0x444757
push 0
lea ecx, [ebp - 0x448]
call fcn.00403620
mov ebx, dword [ebp - 0x448]
mov ecx, dword [esi + 0x20]
push 0
push ebx
push 0x403
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x47c], eax
lea edx, [ebp - 0x42c]
mov dword [ebp - 0x488], edx
mov edx, dword [ebp - 0x44c]
mov eax, 1
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x490], edi
sub eax, dword [edx - 4]
mov ecx, dword [edx - 8]
or ecx, eax
jge 0x4447cf
push 0
lea ecx, [ebp - 0x44c]
call fcn.00403620
mov edx, dword [ebp - 0x44c]
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x490]
lea esi, [ebp - 0x504]
mov dword [ebp - 0x484], edx
mov dword [ebp - 0x480], 0x415400
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x4b0], 9
mov dword [ebp - 0x4ac], ecx
call fcn.004153c0
test eax, eax
jne 0x444b59
mov edx, dword [ebp - 0x46c]
cmp dword [edx + 0xc], eax
je 0x444b6c
push ecx
mov ecx, esp
mov dword [ebp - 0x434], esp
push str.Installer
call fcn.00403320
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x438], esp
push str.Common
call fcn.00403320
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x46c]
push ecx
add eax, 0x18
mov ecx, esp
mov dword [ebp - 0x440], esp
push eax
call fcn.00403320
lea ecx, [ebp - 0x430]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00413730
add esp, 0x10
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x15
call fcn.00413db0
test eax, eax
je 0x444b4c
mov edx, dword [ebp - 0x430]
push edx
push str.Ryoga_Download_Success._r_n_tRyoga__s__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 8
push 0xb
lea eax, [ebp - 0x438]
push eax
mov ecx, 0x5f38c8
call fcn.00432310
push str.softwareinfo.ini
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x16
call fcn.00405a10
lea edi, [ebp - 0x58c]
call fcn.00401eb0
push 0x5f399c
mov ebx, edi
mov byte [ebp - 4], 0x17
call fcn.00401000
mov ecx, dword [0x5f3a98]
mov edi, dword [0x5f3a9c]
lea esi, [ebp - 0x634]
mov dword [ebp - 0x464], ecx
call fcn.004460c0
push 0
push ecx
mov bl, 0x18
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x434], esp
push 0x5b25a8
call fcn.00403320
push edi
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x43c]
mov eax, dword [edi + 0x20]
push 0
push eax
push ecx
mov edx, esp
mov dword [ebp - 0x43c], esp
push edx
call fcn.00406020
lea eax, [ebp - 0x58c]
push eax
push ecx
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x454], esp
push str.DownloadNavigator
call fcn.00403320
push ecx
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x438]
mov ecx, esp
mov dword [ebp - 0x460], esp
push edx
call fcn.00403520
mov byte [ebp - 4], bl
call fcn.00405db0
push ecx
mov ecx, esp
mov dword [ebp - 0x460], esp
push 0x5bdc3c
call fcn.00403320
lea eax, [ebp - 0x440]
push eax
mov ecx, esi
call fcn.00446f80
mov bl, 0x1c
mov byte [ebp - 4], bl
mov eax, dword [edi + 0x20]
push eax
push ecx
lea edx, [ebp - 0x440]
mov ecx, esp
mov dword [ebp - 0x460], esp
push edx
call fcn.00403520
push ecx
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x430]
mov ecx, esp
mov dword [ebp - 0x454], esp
push eax
call fcn.00403520
mov byte [ebp - 4], bl
call fcn.00436af0
test eax, eax
je 0x444b1a
lea ecx, [ebp - 0x43c]
call fcn.004038b0
push ecx
mov bl, 0x1e
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x460], esp
push str.TXT_Body_IN
call fcn.00403320
push ecx
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x454], esp
push 0x5b8b68
call fcn.00403320
lea ecx, [ebp - 0x434]
push ecx
mov ecx, 0x5f38c8
mov byte [ebp - 4], bl
call fcn.00436360
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0x20
call fcn.00403840
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00403860
push ecx
mov ecx, esp
mov dword [ebp - 0x460], esp
push str.DownloadNavigator
call fcn.00403320
push ecx
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x454], esp
push str.SoftwareName
call fcn.00403320
lea edx, [ebp - 0x434]
push edx
mov ecx, 0x5f38c8
mov byte [ebp - 4], bl
call fcn.00436360
mov byte [ebp - 4], 0x22
mov eax, dword [eax]
push eax
push 0x5b2418
lea ecx, [ebp - 0x43c]
call fcn.0042d2a0
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], bl
call fcn.00403860
push 0
push 0
lea ecx, [ebp - 0x43c]
call fcn.00403670
push eax
push 0x403
mov ecx, edi
call fcn.00403400
push 1
push ecx
lea eax, [ebp - 0x440]
mov ecx, esp
mov dword [ebp - 0x460], esp
push eax
call fcn.00403520
push ecx
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x430]
mov ecx, esp
mov dword [ebp - 0x454], esp
push edx
call fcn.00403520
mov byte [ebp - 4], bl
call fcn.00411bf0
add esp, 0xc
lea ecx, [ebp - 0x43c]
call fcn.00403860
lea ecx, [ebp - 0x440]
call fcn.00403860
lea eax, [ebp - 0x634]
call fcn.00446160
lea esi, [ebp - 0x58c]
call fcn.00401f50
lea ecx, [ebp - 0x438]
call fcn.00403860
mov ebx, dword [ebp - 0x448]
lea ecx, [ebp - 0x430]
call fcn.00403860
jmp 0x444b6c
push eax
push str.Ryoga_Download_Error.__s__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 8
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444b8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444bb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x444]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444bd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x458]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x444c60
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x444], ebx
cmp esi, ebx
je 0x444c60
lea ecx, [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x444], ebx
je 0x444c60
push 0x42
push str._ProgramFiles_x86__EPSON_SoftwareDownload_NavigatorEPSDNAVI.EXE
jmp 0x444c67
push esi
push str.Ryoga_Version_check_Error.__d__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 8
jmp 0x444bda
push 0x3d
push str._ProgramFiles_EPSON_SoftwareDownload_NavigatorEPSDNAVI.EXE
lea ecx, [ebp - 0x450]
call fcn.004036a0
call fcn.00453e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x444c8c
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x430], esi
push ebx
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x450]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ecx
call ebx
mov edi, eax
test edi, edi
jle 0x444d12
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x444cdc
push edi
lea ecx, [ebp - 0x430]
call fcn.00403620
mov esi, dword [ebp - 0x430]
mov edx, dword [ebp - 0x450]
push edi
push esi
push edx
call ebx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00551122
add esp, 8
test eax, eax
jl 0x444d08
cmp eax, dword [esi - 8]
jg 0x444d08
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x444d2a
push 0x80070057
call fcn.004038e0
lea edx, [ebp - 0x450]
push edx
lea ecx, [ebp - 0x430]
call fcn.004037d0
mov esi, dword [ebp - 0x430]
cmp dword [esi - 0xc], 0
je 0x444d52
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x444d52
test al, 0x10
jne 0x444d52
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x430]
push eax
call fcn.004037d0
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444d72
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - method.CWnd.virtual_0], vtable.CDownloadCore.0
test eax, eax
je 0x444d9b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x4a4], 0
lea ecx, [ebp - 0x504]
call fcn.00458513
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x450]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x444dcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055064f
mov esp, ebp
pop ebp
ret 4