Function at 0x403630
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4616c4]
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.00412ad0
add esp, 8
mov dword [esp + 0x30], 0
call fcn.0041606d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403691
push 0x80004005
call fcn.00402b10
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.00411d60
add esp, 4
push esi
mov edi, eax
mov byte [esp + 0x1b], 0
call fcn.004042b0
call fcn.00403900
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00412ad0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.00402d50
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 0x403707
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 0x403720
push 0x80004005
call fcn.00402b10
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40374c
test dx, dx
je 0x403748
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40374c
add eax, 4
add ecx, 4
test dx, dx
jne 0x403726
xor eax, eax
jmp 0x403751
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x40377e
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, 2
push ecx
mov ecx, 0x455264
call fcn.00412500
add esp, 4
mov byte [esp + 0x30], 0
lea eax, [ebx - 0x10]
jmp 0x40389d
cmp edi, 0x1e
jge 0x403792
call fcn.00403d80
mov byte [esp + 0x17], 1
jmp 0x40385d
push 5
call fcn.00411d60
mov edi, eax
add edi, 1
add esp, 4
xor ebx, ebx
test edi, edi
jle 0x40385d
jmp 0x4037b0
call fcn.00404050
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00412ad0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 3
call fcn.00402d50
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 0x4037fa
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 0x403687
mov eax, dword [esp + 0x18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403837
test dx, dx
je 0x403833
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403837
add eax, 4
add ecx, 4
test dx, dx
jne 0x403811
xor eax, eax
jmp 0x40383c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x403852
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 0x4037b0
mov ebx, esi
call fcn.00404370
cmp byte [esp + 0x17], 0
je 0x403891
call fcn.00404370
call fcn.00404370
push 5
call fcn.00411d60
add esp, 4
test eax, eax
jle 0x403891
mov edi, eax
mov ebx, esi
call fcn.00404370
sub edi, 1
jne 0x403885
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 0x4038b6
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 0x4038de
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