Function at 0x42dad0
Capabilities:
Get common file path
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58adc7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push eax
mov ecx, esi
call fcn.0045eead
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CRyogaBaseDlg.0
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42db2c
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [ebp - 4], 1
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42db59
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x78], eax
mov byte [ebp - 4], 2
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42db86
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7c], eax
mov byte [ebp - 4], 3
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dbb3
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x80], eax
lea edi, [esi + 0x88]
mov dword [edi], vtable.CArray_class_CSoftwareDispInfo__class_CSoftwareDispInfo__.0
mov dword [edi + 4], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [ebp - 4], 5
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dbfb
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x9c], eax
mov byte [ebp - 4], 6
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dc2b
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa0], eax
mov byte [ebp - 4], 7
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dc5b
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov byte [ebp - 4], 8
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dc8b
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb4], eax
mov byte [ebp - 4], 9
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dcbb
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb8], eax
mov byte [ebp - 4], 0xa
call fcn.0045e972
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42dceb
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xbc], eax
lea ebx, [esi + 0xdc]
push ebx
mov byte [ebp - 4], 0xb
call fcn.00435e60
mov byte [ebp - 4], 0xc
call fcn.00467a9c
call fcn.00467a9c
mov eax, dword [eax + 0xc]
push 0x86
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push edi
mov dword [esi + 0xf8], eax
call fcn.00420240
push 0
push 0x5b95a8
lea ecx, [esi + 0x7c]
mov dword [esi + 0x84], 0
call fcn.00401e90
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.E_UPWJ01.dll
call fcn.00401a30
mov byte [ebp - 4], 0xd
call fcn.00467a9c
mov eax, dword [eax + 4]
add eax, 0xd0
mov byte [ebp - 4], 0xc
call fcn.004167a0
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42dd93
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0xe
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42ddc0
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0xf
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42ddf7
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov edi, dword [ebp - 0x10]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.005581e8
add esp, 8
test eax, eax
jl 0x42e066
cmp eax, dword [edi - 8]
jg 0x42e066
xor ecx, ecx
mov dword [edi - 0xc], eax
lea edx, [ebp + 0xc]
mov word [edi + eax*2], cx
push edx
lea ecx, [ebp - 0x10]
call fcn.0040ec20
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42de5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x42e066
cmp eax, ecx
jg 0x42e066
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x42de8e
push 1
push 0x5b93a4
lea ecx, [ebp + 0xc]
call fcn.00403ed0
push 0x18
push str.EPSONDownload_Navigator
lea ecx, [ebp + 0xc]
call fcn.00403ed0
push 1
push 0x5b93a4
lea ecx, [ebp + 0xc]
call fcn.00403ed0
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [esi + 0x7c]
call fcn.00401f40
mov ecx, esi
call fcn.0042e340
mov edx, dword [0x5f8120]
push str.kernel32.dll
mov dword [esi + 0xb0], edx
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42deff
push str.GetUserGeoID
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42deff
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x10
call dword [ebp - 0x10]
mov edi, eax
push 0
push 0x5b95a8
lea ecx, [esi + 0xa8]
mov dword [esi + 0xac], edi
call fcn.00401e90
xor edi, edi
push edi
push 0x5b95a8
lea ecx, [esi + 0xb4]
call fcn.00401e90
push edi
push 0x5b95a8
lea ecx, [esi + 0xb8]
call fcn.00401e90
push edi
push 0x5b95a8
lea ecx, [esi + 0xbc]
call fcn.00401e90
call fcn.00467a9c
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x25c]
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x5b95a8
mov dword [esi + 0xc4], eax
call fcn.00401a30
mov byte [ebp - 4], 0x10
call fcn.00467a9c
push 0x12
mov byte [ebp - 4], 0xe
call fcn.0042cb60
push edi
push 1
push ecx
mov dword [esi + 0xcc], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], eax
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42dfbb
push 0x80004005
call fcn.00401fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, edi
call fcn.00401ca0
mov byte [ebp - 4], 0x12
call fcn.00467a9c
push 0xd
mov byte [ebp - 4], 0xe
call fcn.0042cb60
mov dword [esi + 0xd4], eax
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0xc], edi
jbe 0x42dff7
call fcn.00559496
mov ecx, dword [ebx]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx + 0x10]
jbe 0x42e00f
call fcn.00559496
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx]
push edi
push edx
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
mov edi, ebx
call fcn.00421300
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [esi + 0xf4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e050
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00401fd0
int3