Function at 0x404980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56b6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5c5b14]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5b14]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.CometBrowser
lea ecx, [esp + 0x18]
call fcn.004064d0
xor ebx, ebx
mov dword [esp + 0x38], ebx
call fcn.00456f8a
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push ebx
mov dword [esp + 0x18], eax
call edi
push 0x7f84
push ebx
mov dword [esi + 0xe4], eax
call edi
push 0x7f82
push ebx
mov dword [esi + 0xe8], eax
call edi
push 0xb98b49
mov dword [esi + 0xec], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push ebx
mov dword [esi + 0xf0], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov dword [0x5cd8d4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push ebx
mov dword [esi + 0xfc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0xfc]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [esp + 0x10]
push 0x81
push edi
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov edx, dword [0x5cd8d4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x82
push edi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x5a27c0
push ebx
push ebx
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
push ebx
push ebx
push 0x86
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0xc
mov dword [0x5cd8c8], eax
call edi
push 0x5a27c0
push ebx
push ebx
push ebx
push ebx
push 0x86
push ebx
push ebx
push ebx
mov dword [0x5cd8d0], eax
push 0x2bc
push ebx
push ebx
push ebx
push 0xc
call edi
mov edi, dword [esi + 0xf0]
push ecx
mov dword [0x5cd8cc], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esp
mov ecx, esp
push eax
call fcn.00403aa0
call fcn.004042f0
add esp, 4
cmp eax, ebx
jne 0x404b1e
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x404fca
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0x800b0000
push str.CometBrowser
mov eax, 0x64
push edx
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x258
mov dword [esp + 0x44], 0x226
call fcn.004459f3
cmp eax, ebx
je 0x404aef
mov eax, dword [esi + 0x20]
mov dword [esi + 0x204], eax
mov dword [esi + 0x1fc], 0x80
mov dword [esi + 0x1e4], 0x25
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x208], 0x7f
mov eax, 0x7a
mov dword [esi + 0x200], eax
mov ecx, 0x16
mov dword [esi + 0x1e8], ecx
mov edx, 1
mov dword [esi + 0x1f0], edx
mov edi, dword [esi + 0x20]
mov dword [esi + 0x180], edi
mov dword [esi + 0x17c], eax
mov dword [esi + 0x164], ecx
mov dword [esi + 0x160], 0x25
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], edx
mov edi, 0x80
mov dword [esi + 0x178], edi
mov dword [esi + 0x184], edi
mov edi, dword [esi + 0x20]
mov dword [esi + 0x154], edi
mov dword [esi + 0x150], eax
mov dword [esi + 0x138], ecx
mov dword [esi + 0x14c], 0x4e
mov dword [esi + 0x134], 0x19
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], edx
mov dword [esi + 0x158], 0x82
mov edi, dword [esi + 0x20]
mov dword [esi + 0x128], edi
mov dword [esi + 0x124], eax
mov dword [esi + 0x10c], ecx
mov dword [esi + 0x120], 0x35
mov dword [esi + 0x108], 0x19
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], edx
mov dword [esi + 0x12c], 0x81
mov edi, dword [esi + 0x20]
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x190], ecx
mov dword [esi + 0x1a4], 0x1a
mov dword [esi + 0x18c], 0x1b
mov dword [esi + 0x194], ebx
mov dword [esi + 0x198], edx
mov dword [esi + 0x1b0], 0x83
mov edi, dword [esi + 0x20]
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1bc], ecx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1b8], 0x1a
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], edx
mov edi, 0x84
mov dword [esi + 0x1dc], edi
mov eax, dword [esi + 0x20]
mov dword [esi + 0x230], eax
mov dword [esi + 0x228], ebx
mov dword [esi + 0x210], 0x24
mov dword [esi + 0x218], 5
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x234], edi
mov eax, 0x1c
mov dword [esi + 0x214], eax
mov ecx, 0xbe
mov dword [esi + 0x22c], ecx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x25c], edx
mov dword [esi + 0x254], 0x24
mov dword [esi + 0x258], ecx
mov dword [esi + 0x23c], eax
mov dword [esi + 0x240], eax
mov dword [esi + 0x244], 0x29
mov dword [esi + 0x248], ebx
mov dword [esi + 0x260], edi
mov edx, dword [esi + 0x20]
mov dword [esi + 0x288], edx
mov dword [esi + 0x284], ecx
mov dword [esi + 0x26c], eax
mov dword [esi + 0x280], 0x40
mov dword [esi + 0x268], 0x1a
mov dword [esi + 0x270], 0x48
mov dword [esi + 0x274], ebx
mov dword [esi + 0x28c], edi
mov edx, dword [esi + 0x20]
mov dword [esi + 0x2b4], edx
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x298], eax
mov dword [esi + 0x2ac], 0x5a
mov dword [esi + 0x294], 0x12
mov dword [esi + 0x29c], 0x62
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2b8], edi
mov edx, dword [esi + 0x20]
mov dword [esi + 0x2e0], edx
mov dword [esi + 0x2dc], ecx
mov dword [esi + 0x2c4], eax
mov dword [esi + 0x2d8], 0x6c
mov dword [esi + 0x2c0], 0x1d
mov dword [esi + 0x2c8], 0x78
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2e4], edi
mov edx, dword [esi + 0x20]
mov dword [esi + 0x30c], edx
mov dword [esi + 0x308], ecx
mov dword [esi + 0x2ec], eax
mov dword [esi + 0x2f0], eax
mov dword [esi + 0x304], 0x89
mov dword [esi + 0x2f4], 0x9b
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x310], edi
mov edx, dword [esi + 0x20]
mov dword [esi + 0x338], edx
mov dword [esi + 0x334], ecx
mov dword [esi + 0x318], eax
mov dword [esi + 0x31c], eax
mov dword [esi + 0x330], 0xa5
mov dword [esi + 0x320], 0xbc
mov dword [esi + 0x324], ebx
mov dword [esi + 0x33c], edi
mov edx, dword [esi + 0x20]
mov dword [esi + 0x364], edx
mov dword [esi + 0x360], ecx
mov dword [esi + 0x348], eax
mov dword [esi + 0x35c], 0xc1
mov dword [esi + 0x344], 0x16
mov dword [esi + 0x34c], ebx
mov dword [esi + 0x350], ebx
mov dword [esi + 0x368], 0x85
mov eax, dword [esi + 0x20]
push ebx
push ebx
push esi
mov dword [esi + 0x390], eax
lea eax, [esp + 0x24]
push eax
push 0x50000000
push 0x5a23c4
lea ecx, [esi + 0x3c4]
mov dword [esi + 0x388], 5
mov dword [esi + 0x38c], 0x35
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x394], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x58]
push str.Edit
push ebx
call edx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5a27d0
call fcn.004064d0
lea ecx, [esi + 0x370]
call fcn.00402720
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5a27d8
call fcn.004064d0
lea ecx, [esi + 0x370]
call fcn.00402720
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5a27e0
call fcn.004064d0
lea ecx, [esi + 0x370]
call fcn.00402720
mov eax, esi
call fcn.00404ff0
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005434c7
mov esp, ebp
pop ebp
ret