Function at 0x10029550
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10189b8e
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.0x10029595.71
movzx eax, byte [eax + 0x10029da4]
jmp dword [eax*4 + 0x10029d58]
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x11c], 0
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 7
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
xor esi, esi
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x14
call fcn.10160269
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x11c], 1
test esi, esi
je 0x100295dc
mov ecx, edi
call fcn.100290b0
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 0x10029ca9
lea eax, [esp + 0x18]
push eax
call fcn.10028f10
mov dword [esp + 0x11c], 2
cmp dword [esp + 0x28], 0
jne 0x1002968d
push str._Y__m__d__H:_M:_S
lea ecx, [esp + 0x1c]
call fcn.10002700
cmp si, 0x64
push 0x2c
sete byte [esp + 0x18]
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x11c], 3
test eax, eax
je 0x100296c8
push dword [esp + 0x14]
lea edx, [esp + 0x1c]
lea ecx, [edi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.10028980
mov esi, eax
jmp 0x100296ca
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
call fcn.10007820
jmp 0x10029ca9
push 0x28
call fcn.10160269
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x11c], 4
test esi, esi
je 0x10029733
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.10028f10
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.10028a70
mov esi, eax
jmp 0x10029735
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
test bl, 1
je 0x10029ca9
lea ecx, [esp + 0x60]
call fcn.10007820
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 7
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 8
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
cmp si, 0x48
push 0x28
sete byte [esp + 0x18]
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 8
test eax, eax
je 0x100295dc
push dword [esp + 0x14]
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.10028be0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 9
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 2
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xa
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 0xa
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xb
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 9
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xc
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 5
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xd
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 0xb
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xe
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 6
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0xf
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 3
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x10
call fcn.10160269
mov esi, eax
add esp, 4
test esi, esi
je 0x10029a13
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 0x10029ca9
xor esi, esi
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0x10
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 0
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x18
call fcn.10160269
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x11c], 0x11
test eax, eax
je 0x100295dc
lea ecx, [edi + 0x18]
push 1
push ecx
mov ecx, eax
call fcn.100285b0
mov esi, eax
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0xc], esi
jmp 0x10029ca9
push 0x14
call fcn.10160269
mov esi, eax
add esp, 4
test esi, esi
je 0x10029a13
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 0x10029ca9
push 0x28
call fcn.10160269
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x11c], 0x12
test esi, esi
je 0x10029b45
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.10028f10
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.10028c60
mov esi, eax
jmp 0x10029b47
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
test bl, 2
je 0x10029ca9
lea ecx, [esp + 0x30]
call fcn.10007820
jmp 0x10029ca9
sub esp, 8
lea ecx, [esp + 0x80]
call fcn.1001dff0
mov dword [esp + 0x11c], 0x15
push dword [edi + 0x34]
mov edx, str.Unexpected_char__
push ecx
lea ecx, [esp + 0x80]
call fcn.1001c960
mov edx, esi
mov ecx, eax
call fcn.100277b0
mov edx, str.__at_position
mov ecx, eax
call fcn.1001c960
add esp, 4
mov ecx, eax
call fcn.100242b0
mov edx, str._in_conversion_patterrn.
mov ecx, eax
call fcn.1001c960
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.1000d8a0
mov esi, eax
mov byte [esp + 0x11c], 0x16
mov ecx, dword [0x10206138]
test ecx, ecx
jne 0x10029bf4
call fcn.1001d170
mov ecx, dword [0x10206138]
push 0
push esi
push str.log4cplus:ERROR
push 0x1001c510
add ecx, 4
push 0x10205d70
call fcn.1001c750
lea ecx, [esp + 0x48]
mov byte [esp + 0x11c], 0x15
call fcn.10007820
push 0x28
call fcn.10160269
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x10029c71
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.1000d810
jmp 0x10029c73
xor esi, esi
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x11c], 0xffffffff
call fcn.1001e110
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xcc], vtable.std::ios_base.0
call fcn.1018583c
add esp, 4
mov eax, dword [edi + 0x28]
lea ecx, [esp + 0xc]
cmp ecx, eax
jae 0x10029cf1
mov ecx, dword [edi + 0x24]
lea edx, [esp + 0xc]
cmp ecx, edx
ja 0x10029cf1
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 0x2c]
jne 0x10029cd4
push ecx
lea ecx, [edi + 0x24]
call fcn.1002ab00
push dword [edi + 0x28]
mov eax, dword [edi + 0x24]
push 4
lea esi, [eax + esi*4]
call fcn.10008560
add esp, 8
test eax, eax
je 0x10029d12
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10029d12
cmp eax, dword [edi + 0x2c]
jne 0x10029cff
push ecx
lea ecx, [edi + 0x24]
call fcn.1002ab00
push dword [edi + 0x28]
push 4
call fcn.10008560
add esp, 8
test eax, eax
je 0x10029d12
mov dword [eax], esi
add dword [edi + 0x28], 4
lea ecx, [edi + 0x38]
push 0
call fcn.10007fc0
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