Function at 0x409ab0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42bf22
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x409d84
mov eax, dword [esi + 0x2c]
test eax, eax
jle 0x409d84
mov eax, dword [esi + 0x28]
mov ebx, 1
push ebx
push 0
mov eax, dword [eax]
lea ecx, [esi + 0x24]
mov dword [esi + 0x38], eax
call sub.MFC42.DLL_CPtrArray::RemoveAt
mov eax, dword [esi + 0x38]
test eax, eax
je 0x409d84
mov ecx, dword [esi + 0x3c]
push ebp
lea ebp, [esi + 0x3c]
push edi
mov eax, dword [ecx - 8]
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x409b8d
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x239]
mov byte [esp + 0x238], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x30]
push edx
push 0x207
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x238]
lea ecx, [esp + 0x30]
push eax
push 0
push 0x43edd8
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea edx, [esp + 0x238]
push edx
push 0x43edd4
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x409bde
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::CFile
mov ebp, dword [ebp]
push 0
push 2
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x454], 0
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x409bca
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFile::SetLength
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x20]
mov dword [esp + 0x448], 0xffffffff
call fcn.0041e1e0
mov eax, dword [esi + 0x38]
mov edi, str.http:__
or ecx, 0xffffffff
lea ebp, [eax + 0x18]
mov eax, dword [eax + 0x18]
mov edx, dword [eax - 8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
lea ecx, [esp + 0x14]
push edx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::Right
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x448], ebx
mov edx, dword [edi - 8]
test edx, edx
jle 0x409c62
mov cl, byte [eax + edi]
cmp cl, 0x5c
je 0x409c30
cmp cl, 0x2f
je 0x409c30
inc eax
cmp eax, edx
jl 0x409c1c
jmp 0x409c62
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x448], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push str.http:__csa.qq.com_p_refdomain_s
push ecx
mov byte [esp + 0x454], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x168]
add esp, 0xc
test eax, eax
jne 0x409cb7
test esi, esi
je 0x409ca6
lea eax, [esi + 0x20]
jmp 0x409ca8
xor eax, eax
push eax
lea ecx, [esi + 0x40]
call fcn.00421150
mov dword [esi + 0x168], ebx
lea ebx, [esi + 0x40]
mov ecx, ebx
call fcn.0041ed20
push str.Referer
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x38]
lea eax, [esp + 0x10]
add edx, 0x14
mov ecx, ebx
push edx
push eax
mov byte [esp + 0x450], 4
call fcn.00421320
lea ecx, [esp + 0x10]
mov byte [esp + 0x448], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x38]
xor edi, edi
mov eax, dword [ecx + 8]
test eax, eax
jle 0x409d48
mov ebp, dword [sym.imp.WININET.dll_InternetSetCookieA]
lea edx, [esp + 0x10]
push edi
push edx
call fcn.004092a0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x448], 5
push eax
push 0
push str.http:__www.qq.com
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x448], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x38]
inc edi
cmp edi, dword [ecx + 8]
jl 0x409d0d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
mov eax, dword [ecx]
mov ecx, ebx
push eax
push edx
call fcn.0041ed40
lea ecx, [esp + 0x18]
mov byte [esp + 0x448], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x448], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebp
mov ecx, dword [esp + 0x438]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret