Function at 0x40fec2
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x2088]
mov eax, 0x2088
call fcn.0047be30
push 0xffffffffffffffff
push 0x47dd71
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x496ee4]
xor eax, ebp
mov dword [ebp + 0x2084], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.00402dba
mov eax, dword [0x497614]
push ebx
push 0xc
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0xcc
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 1
push 0x80
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x497614]
push ebx
push 0x32
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0xcd
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x80
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x2c
call fcn.0047bd5c
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x40ff9e
call fcn.0040fea7
jmp 0x40ffa0
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x450]
push 0x4806ad
mov dword [esi + 0x44c], eax
mov dword [esi + 0x428], ebx
mov byte [esi + 0x424], bl
call fcn.0040cc89
xor eax, eax
push 0xffe
mov word [ebp + 0x84], ax
lea eax, [ebp + 0x86]
push ebx
push eax
mov dword [esi + 0x8d8], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp + 0x84]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp + 0x84]
push eax
lea ecx, [esi + 0x420]
call fcn.0040cc62
xor eax, eax
push 0xffe
mov word [ebp + 0x1084], ax
lea eax, [ebp + 0x1086]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x800
lea eax, [ebp + 0x1084]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x1084]
lea ecx, [esi + 0x41c]
push eax
call fcn.0040cc62
push 0x5c
lea ecx, [esi + 0x41c]
call fcn.0040b659
inc eax
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x41c]
call fcn.0040db30
push eax
lea ecx, [esi + 0x41c]
mov dword [ebp - 4], 1
call fcn.0040cc12
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401bab
mov ecx, esi
call fcn.0040e58f
mov ecx, esi
call fcn.0040f607
mov ecx, esi
call fcn.0040f876
mov ecx, esi
call fcn.0040fd19
mov ecx, dword [esi + 0x44c]
call fcn.0040d3ac
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x4103bb
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
push ebx
push eax
lea ecx, [esi + 0x7fc]
call fcn.0040c7d6
push 5
push dword [esi + 0x800]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
call fcn.0040dd40
push str.Download_and_installation_process_for
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.0040cbc3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.0040dc70
lea ecx, [esi + 0x418]
push eax
mov byte [ebp - 4], 4
call fcn.0040cc12
lea ecx, [ebp - 0x10]
call fcn.00401bab
lea ecx, [ebp - 0x24]
call fcn.00401bab
push dword [esi + 0x418]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x495024]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.0040dd5b
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0040dd40
mov ecx, dword [ebp - 0x20]
push dword [ecx + 0x24]
mov ecx, dword [ebp - 0x10]
push dword [ecx]
mov byte [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x24]
push str._n_sicon_ssoft_d
push eax
call fcn.0040dc5d
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00401bab
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00401bab
lea eax, [esi + 0x450]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040daa0
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 8
cmp dword [eax - 8], ebx
jne 0x4101d1
push 0x496f90
lea ecx, [ebp - 0x10]
call fcn.0040cc12
mov eax, dword [ebp - 0x24]
push eax
push dword [eax - 8]
lea ecx, [ebp - 0x10]
call fcn.0040b78f
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040dd76
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.0040dc70
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0040cc12
lea ecx, [ebp - 0x14]
call fcn.00401bab
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401bab
lea eax, [ebp - 0x4c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ebx
push 0x50000000
push 0x47fc50
push ecx
mov dword [eax], ebx
mov eax, esp
lea ecx, [ebp - 0x4c]
mov dword [eax], ecx
mov dword [ebp - 0x14], esp
push dword [edi]
lea ecx, [esi + 0x414]
call fcn.0040b2f9
lea eax, [esi + 0x28]
push eax
lea ecx, [esi + 0x414]
call fcn.0040c60f
push ebx
push 0x48ab5c
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [esi + 0x414]
call fcn.0040fde9
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x28]
push eax
push 0x48ab6c
lea ecx, [esi + 0x414]
mov byte [ebp - 4], 0xb
call fcn.0040c001
lea eax, [ebp - 0x3c]
push eax
push 0x48070c
lea eax, [esi + 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004057f7
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x100]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401686
mov eax, dword [eax]
lea edx, [ebp - 0x38]
push edx
push edx
push edx
push edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x2c]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0040c060
push dword [ebp]
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [esi + 0x414]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x496f48
call fcn.0040cb7e
lea ecx, [esi + 0x20]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [eax + 4]
mov dword [ebp - 0x1c], eax
call fcn.0040c22a
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
add ecx, 0x10
call fcn.0040c22a
push dword [edi]
lea ecx, [esi + 0x2c]
call fcn.0040c72a
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x410388
push dword [ebp]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4103a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.00401bab
lea ecx, [ebp - 0x24]
call fcn.00401bab
lea ecx, [ebp - 0x18]
call fcn.00401bab
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2084]
xor ecx, ebp
call fcn.0047bc8a
add ebp, 0x2088
leave
ret 0x10