Function at 0x404400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x413c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x38]
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esi + 0xb0], ebx
mov dword [eax], ebx
push ecx
mov dword [edi], ebx
call sub.MFC42.DLL_CTime::GetTickCount
mov edx, dword [eax]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x3c]
mov dword [eax], edx
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x38]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::MakeLower
push 0x419458
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_2
or ebx, 0xffffffff
cmp eax, ebx
je 0x404a41
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Left
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, ebx
je 0x404a33
inc eax
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
push 0x20
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, ebx
je 0x404a33
lea edx, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call ebp
add esp, 4
cmp eax, 0x64
mov dword [edi], eax
jne 0x40457a
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 4
jmp 0x404b9e
cmp eax, 0x12c
jb 0x40482d
cmp eax, 0x190
jae 0x40482d
push str.location:
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_2
mov edx, eax
cmp edx, ebx
je 0x404a33
mov edi, str.location:
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push 0x419458
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebx
jne 0x4045ec
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x34]
jmp 0x404a2e
lea edx, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::TrimRight
lea edi, [esi + 0x20]
lea ecx, [esi + 0x4c]
push edi
call sub.MFC42.DLL_CString::operator
push str.http:__
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebx
je 0x404680
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator
mov edi, dword [edi]
lea ecx, [esi + 0x44]
lea edx, [esi + 0x48]
push ecx
lea eax, [esi + 0x40]
push edx
push eax
push edi
mov ecx, esi
call fcn.00405010
test eax, eax
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x34]
jne 0x404722
jmp 0x404a2e
push 0x4194d0
push 0x419264
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x34]
push 0x41a894
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4046b9
push 0x41a894
lea ecx, [esi + 0x48]
call fcn.00412f38
jmp 0x404719
mov ecx, dword [esp + 0x34]
cmp byte [ecx], 0x2f
jne 0x4046d1
lea edx, [esp + 0x34]
lea ecx, [esi + 0x48]
push edx
call sub.MFC42.DLL_CString::operator
jmp 0x404719
mov eax, dword [edi]
lea edx, [esp + 0x3c]
push 0
push edx
push 0
push ecx
push eax
mov dword [esp + 0x50], 0
call dword [sym.imp.WININET.dll_InternetCombineUrlA]
test eax, eax
jne 0x4047ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4047ce
mov eax, dword [esp + 0x3c]
add eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x40475a
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 2
jmp 0x404b9e
mov edx, dword [esp + 0x34]
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push 0
push ecx
push ebp
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCombineUrlA]
test eax, eax
push ebp
jne 0x4047be
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x404b9e
mov ecx, edi
call fcn.00412f38
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [edi]
lea eax, [esi + 0x44]
lea ecx, [esi + 0x48]
push eax
lea edx, [esi + 0x40]
push ecx
push edx
push edi
mov ecx, esi
call fcn.00405010
test eax, eax
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x34]
jne 0x404722
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x404b9e
cmp eax, 0x1f4
jb 0x404867
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x404b9e
cmp eax, 0x190
jb 0x4048a8
cmp eax, 0x197
jae 0x4048af
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 5
jmp 0x404b9e
cmp eax, 0x197
jb 0x4048e2
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x404b9e
push str.content_length:
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_2
mov edx, eax
cmp edx, ebx
je 0x4049d7
mov edi, str.content_length:
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x30]
add ecx, edx
push ecx
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
push 0x419458
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 7
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebx
jne 0x404971
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x404b9e
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x30]
push edx
call ebp
mov ecx, dword [esp + 0x38]
add esp, 4
mov byte [esp + 0x28], 2
mov dword [ecx], eax
lea ecx, [esp + 0x30]
mov dword [esi + 0xb0], 1
call sub.MFC42.DLL_CString::CString
push str.content_type:
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_2
mov edx, eax
cmp edx, ebx
je 0x404ac0
mov edi, str.content_type:
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
push 0x419458
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 9
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebx
jne 0x404a66
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 3
jmp 0x404b9e
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x44]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
push str.last_modified:
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Find_2
mov edx, eax
cmp edx, ebx
je 0x404b73
mov edi, str.last_modified:
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, edx
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid_1
push 0x419458
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 0xb
call sub.MFC42.DLL_CString::Find_2
cmp eax, ebx
je 0x404b65
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00404c30
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [ecx], eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14