Function at 0x10029980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018a0ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, si
xor ebx, ebx
add eax, 0xffffffbc
push edi
mov edi, ecx
mov dword [esp + 0x14], ebx
cmp eax, 0x34
ja case.0x100299c5.71
movzx eax, byte [eax + 0x1002a1d4]
jmp dword [eax*4 + 0x1002a188]
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x11c], 0
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 7
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
xor esi, esi
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x14
call fcn.10160697
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x11c], 1
test esi, esi
je 0x10029a0c
mov ecx, edi
call fcn.100294e0
mov dword [esi], vtable.log4cplus::pattern::PatternConverter.0
mov ecx, dword [edi + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov dword [esi + 8], ecx
movzx ecx, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
mov edx, eax
and cl, 1
xor byte [esi + 0xc], cl
movzx ecx, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
mov dword [esi], vtable.log4cplus::pattern::LoggerPatternConverter.0
and cl, 2
xor byte [esi + 0xc], cl
mov dword [esp + 0x11c], 0xffffffff
mov dword [esi + 0x10], edx
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
lea eax, [esp + 0x18]
push eax
call fcn.10029340
mov dword [esp + 0x11c], 2
cmp dword [esp + 0x28], 0
jne 0x10029abd
push str._Y__m__d__H:_M:_S
lea ecx, [esp + 0x1c]
call fcn.10002770
cmp si, 0x64
push 0x2c
sete byte [esp + 0x18]
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x11c], 3
test eax, eax
je 0x10029af8
push dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea ecx, [edi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.10028db0
mov esi, eax
jmp 0x10029afa
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
call fcn.10007890
jmp 0x1002a0d9
push 0x28
call fcn.10160697
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x11c], 4
test esi, esi
je 0x10029b63
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.10029340
lea ecx, [edi + 0x18]
push eax
push ecx
mov byte [esp + 0x124], 5
mov ebx, 1
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.10028ea0
mov esi, eax
jmp 0x10029b65
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
test bl, 1
je 0x1002a0d9
lea ecx, [esp + 0x60]
call fcn.10007890
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 7
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 8
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
cmp si, 0x48
push 0x28
sete byte [esp + 0x18]
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 8
test eax, eax
je 0x10029a0c
push dword [esp + 0x14]
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.10029010
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 9
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 2
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xa
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 0xa
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xb
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 9
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xc
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 5
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xd
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 0xb
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xe
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 6
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xf
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 3
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x10
call fcn.10160697
mov esi, eax
add esp, 4
test esi, esi
je 0x10029e43
mov dword [esi], vtable.log4cplus::pattern::PatternConverter.0
mov eax, dword [edi + 0x18]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 8], eax
movzx eax, byte [edi + 0x20]
xor al, byte [esi + 0xc]
mov dword [esp + 0xc], esi
and al, 1
xor byte [esi + 0xc], al
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
mov dword [esi], vtable.log4cplus::pattern::RelativeTimestampConverter.0
and cl, 2
xor byte [esi + 0xc], cl
jmp 0x1002a0d9
xor esi, esi
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0x10
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 0
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x18
call fcn.10160697
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0x11
test eax, eax
je 0x10029a0c
lea ecx, [edi + 0x18]
push 1
push ecx
mov ecx, eax
call fcn.100289e0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x1002a0d9
push 0x14
call fcn.10160697
mov esi, eax
add esp, 4
test esi, esi
je 0x10029e43
mov edx, dword [edi + 0x50]
mov dword [esi], vtable.log4cplus::pattern::PatternConverter.0
mov eax, dword [edi + 0x18]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 8], eax
movzx eax, byte [edi + 0x20]
xor al, byte [esi + 0xc]
mov dword [esp + 0xc], esi
and al, 1
xor byte [esi + 0xc], al
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
mov dword [esi], vtable.log4cplus::pattern::NDCPatternConverter.0
and cl, 2
xor byte [esi + 0xc], cl
mov dword [esi + 0x10], edx
jmp 0x1002a0d9
push 0x28
call fcn.10160697
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x11c], 0x12
test esi, esi
je 0x10029f75
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.10029340
lea ecx, [edi + 0x18]
push eax
push ecx
mov byte [esp + 0x124], 0x13
mov ebx, 2
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.10029090
mov esi, eax
jmp 0x10029f77
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
test bl, 2
je 0x1002a0d9
lea ecx, [esp + 0x30]
call fcn.10007890
jmp 0x1002a0d9
sub esp, 8
lea ecx, [esp + 0x80]
call fcn.1001e430
mov dword [esp + 0x11c], 0x15
push dword [edi + 0x34]
mov edx, str.Unexpected_char__
push ecx
lea ecx, [esp + 0x80]
call fcn.1001cda0
mov edx, esi
mov ecx, eax
call fcn.10027be0
mov edx, str.__at_position
mov ecx, eax
call fcn.1001cda0
add esp, 4
mov ecx, eax
call fcn.100246e0
mov edx, str._in_conversion_patterrn.
mov ecx, eax
call fcn.1001cda0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.1000dd30
mov esi, eax
mov byte [esp + 0x11c], 0x16
mov ecx, dword [0x10206138]
test ecx, ecx
jne 0x1002a024
call fcn.1001d5b0
mov ecx, dword [0x10206138]
push 0
push esi
push str.log4cplus:ERROR
push 0x1001c950
add ecx, 4
push 0x10205d70
call fcn.1001cb90
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 0x15
call fcn.10007890
push 0x28
call fcn.10160697
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x1002a0a1
mov cl, byte [esp + 0x20]
mov al, byte [esi + 0xc]
and cl, 0xfe
or cl, 2
xor al, cl
and al, 3
xor byte [esi + 0xc], al
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
lea eax, [edi + 0x38]
mov byte [esp + 0x11c], 0x18
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.log4cplus::pattern::LiteralPatternConverter.0
call fcn.1000dca0
jmp 0x1002a0a3
xor esi, esi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
call fcn.1001e550
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xcc], vtable.std::ios_base.0
call fcn.10185c9c
add esp, 4
mov eax, dword [edi + 0x28]
lea ecx, [esp + 0xc]
cmp ecx, eax
jae 0x1002a121
mov ecx, dword [edi + 0x24]
lea edx, [esp + 0xc]
cmp ecx, edx
ja 0x1002a121
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 0x2c]
jne 0x1002a104
push ecx
lea ecx, [edi + 0x24]
call fcn.1002af30
push dword [edi + 0x28]
mov eax, dword [edi + 0x24]
push 4
lea esi, [eax + esi*4]
call fcn.100085d0
add esp, 8
test eax, eax
je 0x1002a142
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1002a142
cmp eax, dword [edi + 0x2c]
jne 0x1002a12f
push ecx
lea ecx, [edi + 0x24]
call fcn.1002af30
push dword [edi + 0x28]
push 4
call fcn.100085d0
add esp, 8
test eax, eax
je 0x1002a142
mov dword [eax], esi
add dword [edi + 0x28], 4
lea ecx, [edi + 0x38]
push 0
call fcn.10008030
mov ecx, dword [esp + 0x114]
mov dword [edi + 0x30], 0
mov al, byte [edi + 0x20]
and al, 0xfe
or al, 2
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov byte [edi + 0x20], al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4