Function at 0x403800
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x45b6e4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040f480
add esp, 8
mov dword [esp + 0x30], 0
call fcn.0041214d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403861
push 0x80004005
call fcn.00402cc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x64
mov byte [esp + 0x34], 1
call fcn.0040e7d0
add esp, 4
push esi
mov edi, eax
mov byte [esp + 0x1b], 0
call fcn.00404250
call fcn.00403ad0
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040f480
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.00402f00
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
xor eax, eax
test ebx, ebx
setne al
test eax, eax
jne 0x4038f0
push 0x80004005
call fcn.00402cc0
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40391c
test dx, dx
je 0x403918
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40391c
add eax, 4
add ecx, 4
test dx, dx
jne 0x4038f6
xor eax, eax
jmp 0x403921
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x40394e
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, 2
push ecx
mov ecx, 0x4501e4
call fcn.0040eeb0
add esp, 4
mov byte [esp + 0x30], 0
lea eax, [ebx - 0x10]
jmp 0x403a6d
cmp edi, 0x1e
jge 0x403962
call fcn.00403d20
mov byte [esp + 0x17], 1
jmp 0x403a2d
push 5
call fcn.0040e7d0
mov edi, eax
add edi, 1
add esp, 4
xor ebx, ebx
test edi, edi
jle 0x403a2d
jmp 0x403980
call fcn.00403ff0
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040f480
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.00402f00
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4039ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x403857
mov eax, dword [esp + 0x18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403a07
test dx, dx
je 0x403a03
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403a07
add eax, 4
add ecx, 4
test dx, dx
jne 0x4039e1
xor eax, eax
jmp 0x403a0c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x403a22
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.WebDll.dll_LZExplorer_GoBack]
add esp, 4
add ebx, 1
cmp ebx, edi
jl 0x403980
mov ebx, esi
call fcn.00402480
cmp byte [esp + 0x17], 0
je 0x403a61
call fcn.00402480
call fcn.00402480
push 5
call fcn.0040e7d0
add esp, 4
test eax, eax
jle 0x403a61
mov edi, eax
mov ebx, esi
call fcn.00402480
sub edi, 1
jne 0x403a55
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret