Function at 0x40f1d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x48c160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov al, byte [esp + 2]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov byte [esp + 0x30], al
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x30]
push 1
push ecx
mov dword [esp + 0x68], esi
call fcn.0041fbf0
add esp, 8
lea edx, [esp + 0x12]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x44]
push edx
push esi
push eax
call fcn.0040fe00
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x60], 1
mov bl, 3
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
lea eax, [edx + ecx]
cmp edi, eax
je 0x40f35c
mov eax, edi
shr eax, 0xa
mov ecx, eax
shl ecx, 0xa
mov edx, ecx
mov ecx, edi
sub ecx, edx
mov edx, dword [esp + 0x38]
cmp edx, eax
ja 0x40f267
sub eax, edx
mov edx, dword [esp + 0x34]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + ecx*4]
lea ecx, [esi + 0x208]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::CString_2
add esi, 0x620
lea ecx, [esp + 0x1c]
push esi
mov byte [esp + 0x64], 2
call sub.MFC42u.DLL_CString::CString_2
push 0x2f
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], bl
call sub.MFC42u.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x40f2be
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 8]
sub ecx, eax
push ecx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::Delete
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x40f2db
inc eax
lea ecx, [esp + 0x14]
push eax
push 0
call sub.MFC42u.DLL_CString::Delete
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call fcn.00436032
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 4
push ecx
lea ecx, [esp + 0x30]
call fcn.00436032
lea edx, [esp + 0x28]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 5
call fcn.0040fe70
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 1
call sub.MFC42u.DLL_CString::CString
inc edi
xor esi, esi
jmp 0x40f23a
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x40f42e
mov bl, 8
add eax, 0xc
lea ecx, [esp + 0x20]
push eax
call fcn.00436032
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x60], 7
add ecx, 0x10
push ecx
lea ecx, [esp + 0x20]
call fcn.00436032
push str.http:__stat.sd.360.cn_cpulogwithtinfo.htm_
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], bl
call sub.MFC42u.DLL_CString::CString_2
push str.pname
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 9
call fcn.0043606e
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42u.DLL_CString::operator_2
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42u.DLL_CString::operator_2
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00436032
mov ecx, ebp
call fcn.0040ee70
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
call fcn.0043e0a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jne 0x40f370
mov eax, dword [ecx]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0
call fcn.004100c0
mov ecx, dword [esp + 0x48]
push ecx
call sub.MFC42u.DLL_operatordelete
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
push edx
mov dword [esp + 0x5c], esi
call sub.MFC42u.DLL_operatordelete
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], 0xffffffff
je 0x40f487
dec eax
jne 0x40f47f
mov dword [esp + 0x3c], esi
cmp eax, esi
jne 0x40f478
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x30]
call fcn.0043a880
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret