Function at 0x41fc30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x472c83
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
push str.DisableCancel
lea ecx, [esp + 0x20]
mov dword [edi + 0x3c0], esi
call fcn.00402860
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x270], esi
call fcn.0041e5e0
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fcc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00440b9e
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41fcda
push 0x80004005
call fcn.00402680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x268], 1
call fcn.00447aea
mov byte [esp + 0x268], 2
mov ecx, dword [esp + 0x2c]
push str.P2DOWNLOAD
push ecx
lea ecx, [esp + 0x2c]
call fcn.00447d0d
mov edx, dword [edi]
mov edx, dword [edx + 0x184]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push edi
mov byte [esp + 0x278], 3
call fcn.0041e6b0
mov byte [esp + 0x268], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x2c]
call fcn.00447b88
mov ecx, dword [esp + 0x2c]
push 0x484714
push ecx
lea ecx, [esp + 0x2c]
call fcn.00447d0d
mov edx, dword [edi]
mov edx, dword [edx + 0x188]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push edi
mov byte [esp + 0x278], 4
call fcn.0041e6b0
mov byte [esp + 0x268], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fddc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DisableCancel
lea ecx, [esp + 0x24]
call fcn.00402860
lea ecx, [esp + 0x20]
push ecx
push edi
mov byte [esp + 0x270], 5
call fcn.0041e5e0
mov byte [esp + 0x268], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fe25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
push esi
push esi
push 5
lea ebx, [edi + 0x394]
push esi
mov byte [ebx], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x41fe52
lea edx, [esp + 0x54]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41fe60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
lea esi, [edi + 0x260]
push eax
call fcn.00401690
push 1
push 0x4818c4
mov ecx, esi
call fcn.004135e0
call fcn.0040c970
add eax, 0xa40
mov ecx, eax
lea ebp, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41fea0
sub ecx, ebp
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004135e0
push 0xa
push 0x48360c
mov ecx, esi
call fcn.004135e0
call fcn.0040c970
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.0040f930
mov byte [esp + 0x268], 6
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x41feed
lea eax, [esp + 0x3c]
push eax
push str.InitiateDownloadThread:_Setup_to_download:__s
push 0
push 0x899
push str.CWebInstallerDlg::InitiateDownloadThread
call fcn.0042eef0
mov ecx, dword [edi + 0x3c0]
mov eax, dword [edi + 0x20]
add esp, 0x14
push ecx
push eax
push ebx
lea edx, [esp + 0x44]
push esi
push edx
call fcn.00414f10
add esp, 0x14
test al, al
jne 0x420073
mov dword [edi + 0x390], 4
call fcn.00440b9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ff4d
push 0x80004005
call fcn.00402680
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x268], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x24]
push str.Unable_to_initiate_DownloadAsync_Thread._Error_code_from_system___d
push ecx
call fcn.0040a780
mov ebp, dword [esp + 0x2c]
mov eax, ebp
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ff87
sub eax, edx
sar eax, 1
push eax
lea esi, [edi + 0x310]
push ebp
call fcn.00401690
mov ebx, 8
cmp dword [esi + 0x18], ebx
jb 0x41ffb2
mov eax, dword [esi + 4]
jmp 0x41ffb5
lea eax, [esi + 4]
push eax
push str.InitiateDownloadThread:_DownloadAsync_failed_to_Initiate_Thread___s
push 0
push 0x8a6
push str.CWebInstallerDlg::InitiateDownloadThread
call fcn.0042eef0
add esp, 0x14
cmp dword [esi + 0x18], ebx
jb 0x41ffd9
mov eax, dword [esi + 4]
jmp 0x41ffdc
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402860
mov byte [esp + 0x268], 8
mov edx, dword [edi]
mov edx, dword [edx + 0x178]
lea eax, [esp + 0x18]
push eax
push 0xd8cd5
mov ecx, edi
call edx
mov byte [esp + 0x268], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42002c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00403e60
mov edi, eax
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x200]
mov eax, esi
call fcn.00401c20
push 7
mov ecx, edi
call fcn.00404070
lea eax, [ebp - 0x10]
mov byte [esp + 0x268], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4200b9
mov ecx, dword [edi + 0x20]
push 0
push 0x1388
push 6
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x2e4], eax
mov dword [edi + 0x390], 2
call fcn.00403e60
mov esi, eax
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c8]
lea eax, [esp + 0x40]
call fcn.00401c20
push 2
mov ecx, esi
call fcn.00404070
cmp dword [esp + 0x50], 8
jb 0x4200cd
mov edx, dword [esp + 0x3c]
push edx
call fcn.00432e81
add esp, 4
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov byte [esp + 0x268], 1
call fcn.00447b67
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42011c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0044f9f6
add esp, 0x258
ret