Function at 0x4089e4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44cd97
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46b1f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [edi + 0xc8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.004071bc
mov dword [edi + 0x3560], ebx
mov dword [edi + 0x356c], ebx
mov eax, dword [esp + 0x1c]
sub eax, ebx
je 0x408a60
dec eax
je 0x408a83
dec eax
je 0x408b01
dec eax
je 0x408b43
dec eax
je 0x408bf6
jmp 0x408c44
lea eax, [edi + 0x54]
call fcn.00408182
or dword [edi + 0x354c], 0xffffffff
mov dword [edi + 0x3558], ebx
mov dword [edi + 0x3554], ebx
mov dword [esp + 0x1c], 1
mov ecx, dword [edi + 0x3560]
cmp ecx, ebx
je 0x408ab4
mov eax, dword [edi + 0x10cc]
mov edx, dword [edi + 0x10c8]
add edx, eax
mov esi, ecx
cmp ecx, edx
jae 0x408ab4
lea eax, [eax + esi - 4]
jmp 0x408ab0
cmp dword [ecx], 0xa0d0a0d
je 0x408ad8
inc ecx
cmp ecx, eax
jbe 0x408aa7
xor eax, eax
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x408ae7
call fcn.00422caa
test al, al
jne 0x408c44
mov dword [esp + 0x14], 4
jmp 0x408ba2
lea eax, [ecx + 4]
mov dword [edi + 0x3560], eax
mov dword [esp + 0x18], esi
jmp 0x408ab6
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
sub ecx, dword [edi + 0x10c8]
mov dword [edi + 0x3558], eax
mov dword [edi + 0x355c], ecx
mov eax, dword [esp + 0x18]
mov ecx, edi
call fcn.00422dc9
mov eax, dword [edi + 0x354c]
cmp eax, 0xffffffff
je 0x408c54
cmp eax, 0x64
jne 0x408b29
mov dword [esp + 0x1c], ebx
jmp 0x408a3b
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
mov ebx, edi
call fcn.0040962b
test eax, eax
jne 0x408c61
xor ebx, ebx
lea eax, [esp + 0x20]
call fcn.004013fe
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x20]
push eax
push str.Transfer_Encoding
push edi
call fcn.00407f2c
test al, al
je 0x408b7b
push str.chunked
lea eax, [esp + 0x24]
push eax
call fcn.00406c6a
test eax, eax
jne 0x408b7b
mov bl, 1
jmp 0x408b7d
xor bl, bl
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0040145e
test bl, bl
je 0x408bbf
mov ecx, edi
call fcn.00409977
test al, al
jne 0x408bec
mov dword [esp + 0x14], 6
mov eax, dword [esp + 0x14]
mov dword [edi + 0x356c], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x10cc]
sub eax, dword [edi + 0x355c]
sub eax, dword [edi + 0x3558]
push eax
push edi
call fcn.004095cc
push eax
mov ecx, edi
call fcn.004096ac
test al, al
jne 0x408bec
mov dword [esp + 0x14], 5
mov dword [esp + 0x1c], 4
xor ebx, ebx
lea eax, [esp + 0x24]
call fcn.004013fe
mov dword [esp + 0x38], 1
lea eax, [esp + 0x24]
push eax
push str.Connection
push edi
call fcn.00407f2c
test al, al
je 0x408c36
push str.close
lea eax, [esp + 0x28]
push eax
call fcn.00406c6a
test eax, eax
jne 0x408c36
lea esi, [edi + 4]
call fcn.004038dc
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040145e
cmp dword [esp + 0x1c], 4
jne 0x408a3b
jmp 0x408ba2
mov dword [esp + 0x14], 2
jmp 0x408ba2
mov dword [esp + 0x14], 3
jmp 0x408ba2