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

Disassembly:
push ebp
lea ebp, [esp - 0x2088]
mov eax, 0x2088
call fcn.004453a0
push 0xffffffffffffffff
push 0x4474ec
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4595b8]
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.00402ec5
mov eax, dword [0x4598ac]
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 [0x4598ac]
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 0x18
call fcn.004452c6
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x40f988
call fcn.0040ef8a
jmp 0x40f98a
xor eax, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x428]
push 0x44a5b5
mov dword [esi + 0x424], eax
mov dword [esi + 0x414], ebx
mov byte [esi + 0x410], bl
call fcn.0040ccb8
push 0xffe
lea eax, [ebp + 0x86]
push ebx
push eax
mov dword [esi + 0x8a8], ebx
mov word [ebp + 0x84], bx
call sub.MSVCR80.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 + 0x40c]
call fcn.0040cc91
push 0xffe
lea eax, [ebp + 0x1086]
push ebx
push eax
mov word [ebp + 0x1084], bx
call sub.MSVCR80.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 + 0x408]
push eax
call fcn.0040cc91
push 0x5c
lea ecx, [esi + 0x408]
call fcn.0040b1b7
inc eax
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x408]
call fcn.0040d7e3
push eax
lea ecx, [esi + 0x408]
mov dword [ebp - 4], 1
call fcn.0040cc41
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401b4c
mov ecx, esi
call fcn.0040e0bf
mov ecx, esi
call fcn.0040f14d
mov ecx, esi
call fcn.0040f3bc
mov ecx, esi
call fcn.0040f734
mov ecx, dword [esi + 0x424]
call fcn.0040c5b6
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x40fda1
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
push ebx
push eax
lea ecx, [esi + 0x7d4]
call fcn.0040c829
push 5
push dword [esi + 0x7d8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
call fcn.0040d9f3
push str.Download_and_installation_process_for
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.0040cbf2
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.0040d923
lea ecx, [esi + 0x404]
push eax
mov byte [ebp - 4], 4
call fcn.0040cc41
lea ecx, [ebp - 0x10]
call fcn.00401b4c
lea ecx, [ebp - 0x24]
call fcn.00401b4c
push dword [esi + 0x404]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x458024]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.0040da0e
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 6
call fcn.0040d9f3
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.0040d910
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.00401b4c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00401b4c
lea eax, [esi + 0x428]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d753
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 8
jne 0x40fbb7
push 0x45965c
lea ecx, [ebp - 0x10]
call fcn.0040cc41
mov eax, dword [ebp - 0x24]
push eax
push dword [eax - 8]
lea ecx, [ebp - 0x10]
call fcn.0040b2ec
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.0040da29
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.0040d923
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0040cc41
lea ecx, [ebp - 0x14]
call fcn.00401b4c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00401b4c
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 0x449ba0
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 + 0x400]
call fcn.0040af6a
lea eax, [esi + 0x28]
push eax
lea ecx, [esi + 0x400]
call fcn.0040c0c4
push ebx
push 0x44dc24
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
lea ecx, [esi + 0x400]
call fcn.0040f7ee
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x28]
push eax
push 0x44dc34
lea ecx, [esi + 0x400]
mov byte [ebp - 4], 0xb
call fcn.0040bb5f
lea eax, [ebp - 0x3c]
push eax
push 0x44a614
lea eax, [esi + 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405c97
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.00401748
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.0040bbbe
push dword [ebp]
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [esi + 0x400]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x459618
call fcn.0040cbad
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.0040bdc9
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.0040bdc9
push dword [edi]
lea ecx, [esi + 0x2c]
call fcn.0040c22d
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40fd6e
push dword [ebp]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov byte [ebp - 4], 8
je 0x40fd89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.00401b4c
lea ecx, [ebp - 0x24]
call fcn.00401b4c
lea ecx, [ebp - 0x18]
call fcn.00401b4c
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.004451f4
add ebp, 0x2088
leave
ret 0x10