Function at 0x414f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bb40
mov eax, dword fs:[0]
push eax
sub esp, 0x688
mov eax, dword [0x4a0144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x659]
mov dword [ebp - 0x660], eax
call fcn.0043a2f0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [ebp - 0x659]
call fcn.0043a3a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x4c86a8]
call ebx
call fcn.00409570
mov ecx, eax
test ecx, ecx
je 0x4154ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x668]
push 0xc9
mov dword [ebp - 0x668], eax
call fcn.00409720
mov esi, dword [ebp - 0x668]
lea eax, [ebp - 0x218]
push esi
push eax
lea ecx, [ebp - 0x661]
call fcn.00412d10
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41503d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp + 8]
mov ecx, 0x4c8658
push 0
call fcn.00412bf0
lea ecx, [ebp - 0x66c]
call fcn.0040fe80
mov eax, dword [0x4c8360]
test eax, eax
jne 0x415080
push 0x10
call fcn.00429b25
add esp, 4
test eax, eax
je 0x415079
mov ecx, eax
call fcn.0040f870
jmp 0x41507b
xor eax, eax
mov dword [0x4c8360], eax
mov ecx, eax
call fcn.0040fc20
push 1
call fcn.00410800
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00452600
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.downloaderdownloader.log
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call fcn.00428c20
lea ecx, [ebp - 0x694]
call fcn.00403830
push str.ThunderMissionDownloadingMutex
lea ecx, [ebp - 0x694]
call fcn.00403ab0
test eax, eax
jne 0x4151cf
call fcn.00428920
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x415433
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], al
call fcn.004060d0
push 3
push 0x4805d0
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.004060d0
call fcn.00428920
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xa1
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00404830
mov esi, eax
push str.inf_:_Instance_exist__quit
push esi
call fcn.004074c0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00405550
lea ecx, [ebp - 0x640]
call fcn.00405170
lea ecx, [ebp - 0x658]
call fcn.00405170
or edi, 0xffffffff
jmp 0x415433
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00452600
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x4c86a8]
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0041e610
add esp, 4
test eax, eax
jne 0x4152e7
call fcn.00428920
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x415433
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.004060d0
push 3
push 0x4805d0
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.004060d0
call fcn.00428920
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xa7
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00404830
mov esi, eax
push str.err_:_CheckSign_fail__quit
push esi
call fcn.004074c0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00405550
lea ecx, [ebp - 0x658]
call fcn.00405170
lea ecx, [ebp - 0x640]
call fcn.00405170
or edi, 0xffffffff
jmp 0x415433
push dword [ebp - 0x660]
call fcn.00411cb0
mov ecx, eax
call fcn.00416250
call fcn.00409570
mov ecx, eax
test ecx, ecx
je 0x4154f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x668]
mov dword [ebp - 0x668], eax
mov eax, str.popular_seller
test eax, 0xffff0000
jne 0x415333
movzx eax, ax
push eax
call fcn.00409720
jmp 0x41533f
push 0xe
push str.popular_seller
call fcn.0040d7f0
lea eax, [ebp - 0x668]
push eax
call fcn.004094e0
mov ecx, eax
call fcn.0041d5b0
mov edx, dword [ebp - 0x668]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41536f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x481894
call fcn.004094e0
mov ecx, eax
call fcn.0041d6e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00452600
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x4c86a8]
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.004094e0
mov ecx, eax
call fcn.0041d4e0
lea eax, [ebp - 0x660]
push eax
call fcn.00412b00
mov ecx, eax
call fcn.0040d8d0
push dword [ebp - 0x660]
call fcn.004094e0
mov ecx, eax
call fcn.0041d560
mov edx, dword [ebp - 0x660]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4153ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00411cb0
mov ecx, eax
call fcn.00417340
push dword [eax]
call fcn.00410810
sub esp, 0x28
mov eax, esp
push 1
push 0
push 0x481980
mov dword [eax + 0x24], 0
call fcn.004094e0
mov ecx, eax
call fcn.0041d070
lea ecx, [ebp - 0x694]
call fcn.00403870
lea ecx, [ebp - 0x66c]
call fcn.0040fec0
push 0x104
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push eax
push dword [0x4c86a8]
call ebx
call fcn.00409570
mov ecx, eax
test ecx, ecx
je 0x4154fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x660]
push 0xc9
mov dword [ebp - 0x660], eax
call fcn.00409720
mov esi, dword [ebp - 0x660]
lea eax, [ebp - 0x628]
push esi
push eax
lea ecx, [ebp - 0x661]
call fcn.00413010
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4154bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x659]
call fcn.0043a370
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 - 0x10]
xor ecx, ebp
call fcn.00429abf
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00403510
push 0x80004005
call fcn.00403510
push 0x80004005
call fcn.00403510
int3