Function at 0x40c1d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40cbf5
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x411020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.QQSpeedVer.xml
lea ecx, [ebp - 0x11c]
push ecx
push str._s_s
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x164]
call fcn.00409e70
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x164]
call fcn.00409940
lea ecx, [ebp - 0x164]
call fcn.00405330
movzx ecx, al
test ecx, ecx
jne 0x40c4c4
mov ecx, dword [ebp - 0x190]
call fcn.0040c090
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x164]
call fcn.00401360
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
call fcn.00401300
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
je 0x40c493
push str.startver
mov ecx, dword [ebp - 0x16c]
call fcn.00409540
mov dword [ebp - 0x17c], eax
push str.endver
mov ecx, dword [ebp - 0x16c]
call fcn.00409540
mov dword [ebp - 0x184], eax
push 0x40e288
mov ecx, dword [ebp - 0x16c]
call fcn.00409540
mov dword [ebp - 0x178], eax
push 0x40e28c
mov ecx, dword [ebp - 0x16c]
call fcn.00409540
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x17c], 0
je 0x40c47d
cmp dword [ebp - 0x184], 0
je 0x40c47d
cmp dword [ebp - 0x178], 0
je 0x40c47d
cmp dword [ebp - 0x180], 0
je 0x40c47d
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
cmp eax, dword [ebp - 0x168]
jl 0x40c454
push 0x134
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x188], ecx
push 0x134
push 0
mov edx, dword [ebp - 0x188]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
mov edx, dword [ebp - 0x184]
push edx
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x188]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x188]
add ecx, 8
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x188]
add eax, 0x30
push eax
call sub.MSVCR80.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x188]
push ecx
mov ecx, dword [ebp - 0x190]
add ecx, 4
call fcn.004013e0
mov edx, dword [ebp - 0x188]
add edx, 0x30
push edx
mov eax, dword [ebp - 0x188]
add eax, 8
push eax
mov ecx, dword [ebp - 0x188]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
push ecx
push str.szm_push_back:startVer_d_endVer_d_md5_s_url_s__n
call fcn.0040ad30
add esp, 0x14
jmp 0x40c47d
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
push str.szm_ignore:startVer_s_endVer_s_md5_s_url_s__n
call fcn.0040ad30
add esp, 0x14
mov ecx, dword [ebp - 0x16c]
call fcn.004012e0
mov dword [ebp - 0x16c], eax
jmp 0x40c2af
push 2
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x190]
mov eax, dword [edx]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.00401330
jmp 0x40c503
push 3
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.00401330
jmp 0x40c503
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405b7a
mov esp, ebp
pop ebp
ret