Function at 0x405eb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x445376
push eax
mov eax, 0x1024
mov dword fs:[0], esp
call fcn.00444b40
push ebx
mov ebx, ecx
push ebp
push esi
lea esi, [ebx + 0x14]
push edi
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
call fcn.0040b420
push str.Mozilla_4.0__compatible___
push 0
push 0
push str.https:__edit.bjs.yahoo.com
mov ecx, esi
call fcn.0040ad70
and eax, 0xff
mov dword [esp + 0x30], eax
jne 0x405f11
mov eax, 0x505
jmp 0x4065c8
mov eax, 0x45db14
lea esi, [ebx + 4]
test eax, eax
mov dword [esp + 0x24], esi
je 0x405f2c
push 0x45db14
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x45db14
push eax
mov ecx, esi
call fcn.004066e0
mov ecx, 0x45db14
lea esi, [ebx + 8]
test ecx, ecx
mov dword [esp + 0x20], esi
jne 0x405f4d
xor eax, eax
jmp 0x405f58
push 0x45db14
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x45db14
push eax
mov ecx, esi
call fcn.004066e0
mov esi, dword [sym.imp.WININET.dll_InternetSetCookieA]
push 0x45db14
push 0x45642c
push str.http:__yahoo.com
call esi
push 0x45db14
push 0x456414
push str.http:__yahoo.com
call esi
mov dl, byte [0x45db14]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x456050]
mov dword [esp + 0x14], eax
mov dword [esp + 0x103c], 0
mov dword [esp + 0x10], eax
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
mov byte [esp + 0x103c], 1
mov ecx, 0x400
jg 0x405fdc
cmp dword [eax - 4], ecx
jge 0x406020
mov ebx, dword [eax - 8]
cmp ebx, ecx
jle 0x405fe5
mov ecx, ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.004044c0
test eax, eax
je 0x40601c
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 1]
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], ebx
call fcn.00404560
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
push 0x400
push eax
mov edx, dword [ecx - 8]
push edx
push ecx
call fcn.00412950
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, 0x400
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x40604f
cmp dword [eax - 4], ecx
jge 0x40609f
mov ebx, dword [eax - 8]
cmp ebx, 0x400
jle 0x40605c
mov ecx, ebx
push ecx
lea ecx, [esp + 0x14]
call fcn.004044c0
test eax, eax
jne 0x406072
mov ebx, dword [esp + 0x1c]
xor edx, edx
jmp 0x4060a1
mov edi, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
call fcn.00404560
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [ebx + 0x10]
push 0x400
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00412950
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404590
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x14]
mov byte [eax + ecx], 0
lea ecx, [esp + 0x10]
call fcn.00404590
mov edx, dword [esp + 0x10]
push edx
call ebx
mov ecx, dword [esp + 0x10]
push str._uQ3H
push str.http_3A__cn.mail.yahoo.com_ymini_firstrun2.html
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x18]
mov byte [eax + edx], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._config_login_.intlcnlogin_spasswd_s.bad_login_url_s.bad_login_url_sig_s
lea edx, [esp + 0x48]
push 0x400
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov esi, dword [esp + 0x44]
add esp, 0x1c
lea eax, [esp + 0x34]
mov ecx, esi
push 0
push 0
push 0
push 0
push eax
call fcn.0040b460
and eax, 0xff
mov dword [esp + 0x30], eax
jne 0x4061b8
mov eax, dword [esp + 0x10]
mov edx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40617b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40617b
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406230
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x406230
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x506
jmp 0x4065c8
mov ecx, esi
call fcn.0040c7f0
cmp eax, 0x190
jl 0x40623a
push eax
push str._config_login_HTTP_request_error:__d
call fcn.0041e6c0
mov eax, dword [esp + 0x18]
mov edx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406205
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x406205
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406230
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x406230
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x506
jmp 0x4065c8
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x435]
mov byte [esp + 0x434], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x434]
push eax
push ecx
push 0x45db14
push str.http:__yahoo.com
mov dword [esp + 0x3c], 0x3ff
call dword [sym.imp.WININET.dll_InternetGetCookieA]
mov dx, word [0x45635c]
mov al, byte [0x45635e]
mov word [esp + 0x18], dx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x434]
push ecx
push edx
mov byte [esp + 0x22], al
call dword [sym.imp.MSVCRT.dll__mbstok]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x406339
push 0x456358
push ebp
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x4062e7
mov edi, 0x456358
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, edx
je 0x4062dc
push esi
call ebx
mov ecx, dword [esp + 0x24]
push esi
push eax
call fcn.004066e0
push 0x456354
push ebp
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x40631f
mov edi, 0x456354
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, edx
je 0x406314
push esi
call ebx
mov ecx, dword [esp + 0x20]
push esi
push eax
call fcn.004066e0
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.MSVCRT.dll__mbstok]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4062af
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx - 8]
test edx, edx
je 0x40639f
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x40639f
mov eax, dword [eax]
push eax
push str.YCookie___s_n
call fcn.0041e6c0
mov ecx, dword [esi]
add esp, 8
push ecx
push str.TCookie___s_n
call fcn.0041e6c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x103c], 0
call fcn.004046d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x103c], 0xffffffff
call fcn.004046d0
xor eax, eax
jmp 0x4065c8
mov dl, byte [0x45db14]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x835]
mov byte [esp + 0x834], dl
push 0x800
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x838]
push eax
call fcn.0040c7a0
lea ecx, [esp + 0x834]
push str.bad_status
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
mov edx, eax
add esp, 8
test edx, edx
je 0x40659e
mov edi, str.bad_status
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, ecx
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
push esi
push str.HTTP_Login_fail:__d_n
call fcn.0041e6c0
add esp, 8
cmp esi, 0xffffffff
je 0x40653b
cmp esi, 8
je 0x4064d5
mov eax, dword [esp + 0x10]
cmp esi, 0x64
je 0x406473
mov ecx, dword [0x456054]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4065af
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4065af
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x4065af
mov edx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4064a0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4064a0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4064cb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4064cb
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x509
jmp 0x4065c8
mov eax, dword [esp + 0x10]
mov edx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406506
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x406506
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406531
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x406531
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x507
jmp 0x4065c8
mov eax, dword [esp + 0x10]
mov edx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40656c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40656c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x406597
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x406597
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 0x50a
jmp 0x4065c8
lea ecx, [esp + 0x10]
mov byte [esp + 0x103c], 0
call fcn.004046d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x103c], 0xffffffff
call fcn.004046d0
mov eax, 0x50b
mov ecx, dword [esp + 0x1034]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1030
ret