Function at 0x508280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a169
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx esi, word [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
lea eax, [esi - 0x44]
cmp eax, 0x34
ja case.0x5082cc.71
movzx eax, byte [eax + 0x508a74]
jmp dword [eax*4 + 0x508a28]
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5082ff
push 7
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
xor esi, esi
jmp 0x50899a
push 0x14
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x5082ff
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.005080a0
xor ebx, ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], ebx
je 0x50839f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0051fec0
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x50834e
mov eax, dword [eax]
push eax
call fcn.0056a2c2
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov ebx, eax
cmp ecx, 0xf
jbe 0x50838d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x508383
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x508a20
push ecx
push edx
call fcn.0054b2c7
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x5083dd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5083d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x508a20
push ecx
push edx
call fcn.0054b2c7
add esp, 8
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
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, 1
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
mov dword [esi], vtable.log4cplus::pattern::LoggerPatternConverter.0
and al, 2
mov dword [esi + 0x10], ebx
xor al, cl
mov byte [esi + 0xc], al
jmp 0x50899a
lea eax, [ebp - 0x28]
push eax
call fcn.005080a0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 3
jne 0x50843c
push str._Y__m__d__H:_M:_S
lea ecx, [ebp - 0x28]
call fcn.004030f0
cmp esi, 0x64
push 0x2c
sete bl
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
test esi, esi
je 0x5084a9
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
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, 1
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
and al, 2
xor al, cl
mov byte [esi + 0xc], al
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.log4cplus::pattern::DatePatternConverter.0
mov byte [esi + 0x10], bl
call fcn.00403cc0
lea ecx, [ebp - 0x28]
call fcn.00403120
jmp 0x50899a
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00403120
jmp 0x50899a
push 0x28
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x50852a
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.005080a0
push eax
mov dword [esi], vtable.log4cplus::pattern::PatternConverter.0
mov ebx, 1
mov ecx, dword [edi + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov dword [esi + 8], ecx
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, bl
mov dword [ebp - 0x48], ebx
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
and al, 2
xor al, cl
mov byte [esi + 0xc], al
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 8
mov dword [esi], vtable.log4cplus::pattern::EnvPatternConverter.0
call fcn.00403cc0
jmp 0x50852c
xor esi, esi
test bl, 1
je 0x50899a
lea ecx, [ebp - 0x28]
call fcn.00403120
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x5082ff
push 8
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
cmp esi, 0x48
push 0x28
sete byte [ebp - 0x48]
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0xb
test esi, esi
je 0x5082ff
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
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, 1
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
and al, 2
xor al, cl
mov byte [esi + 0xc], al
push dword [ebp - 0x48]
lea eax, [esi + 0x10]
mov byte [ebp - 4], 0xc
push eax
mov dword [esi], vtable.log4cplus::pattern::HostnamePatternConverter.0
call fcn.00521e80
add esp, 8
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x5082ff
push 2
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x5082ff
push 0xa
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x5082ff
push 9
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x5082ff
push 5
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x5082ff
push 0xb
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x5082ff
push 6
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x5082ff
push 3
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x10
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x5082ff
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
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, 1
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
mov dword [esi], vtable.log4cplus::pattern::RelativeTimestampConverter.0
and al, 2
xor al, cl
mov byte [esi + 0xc], al
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x5082ff
push 0
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x18
call fcn.0054b297
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x5082ff
push 1
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.00505670
mov esi, eax
jmp 0x50899a
push 0x14
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x5082ff
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
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, 1
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
mov dword [esi], vtable.log4cplus::pattern::NDCPatternConverter.0
and al, 2
mov dword [esi + 0x10], edx
xor al, cl
mov byte [esi + 0xc], al
jmp 0x50899a
push 0x28
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0x16
test esi, esi
je 0x5088ac
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.005080a0
push eax
mov dword [esi], vtable.log4cplus::pattern::PatternConverter.0
mov ebx, 2
mov ecx, dword [edi + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x1c]
mov dword [esi + 8], ecx
mov cl, byte [edi + 0x20]
xor cl, byte [esi + 0xc]
and cl, 1
mov dword [ebp - 0x48], ebx
xor cl, byte [esi + 0xc]
mov byte [esi + 0xc], cl
movzx eax, byte [edi + 0x20]
xor al, cl
and al, bl
xor al, cl
mov byte [esi + 0xc], al
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0x18
mov dword [esi], vtable.log4cplus::pattern::MDCPatternConverter.0
call fcn.00403cc0
jmp 0x5088ae
xor esi, esi
test bl, 2
je 0x50899a
lea ecx, [ebp - 0x28]
call fcn.00403120
jmp 0x50899a
push 1
lea ecx, [ebp - 0xe0]
call fcn.004ffdd0
push str._in_conversion_patterrn.
push dword [edi + 0x34]
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0x1a
push str.__at_position
push esi
push str.Unexpected_char__
push eax
call fcn.00477e30
add esp, 8
push eax
call fcn.005043a0
add esp, 8
push eax
call fcn.00477e30
add esp, 8
mov ecx, eax
call fcn.00505c40
push eax
call fcn.00477e30
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xe0]
push eax
call fcn.004789a0
push 0
push eax
mov byte [ebp - 4], 0x1b
call fcn.00503240
mov ecx, eax
call fcn.0051ab80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
call fcn.00403120
push 0x28
call fcn.0054b297
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x50898d
mov al, byte [esi + 0xc]
and al, 0xfe
mov dword [esi + 4], 0xffffffff
or al, 2
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0xc], al
lea eax, [edi + 0x38]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.log4cplus::pattern::LiteralPatternConverter.0
call fcn.00403cc0
jmp 0x50898f
xor esi, esi
lea ecx, [ebp - 0xe0]
call fcn.005018e0
mov dword [ebp - 0x48], esi
mov edx, dword [edi + 0x28]
mov dword [ebp - 4], 0x1e
cmp edx, dword [edi + 0x2c]
je 0x5089b6
xor ecx, ecx
mov dword [edx], esi
add dword [edi + 0x28], 4
jmp 0x5089c6
lea ecx, [ebp - 0x48]
push ecx
push edx
lea ecx, [edi + 0x24]
call fcn.005047e0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x5089d0
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [edi + 0x38]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 7
jbe 0x5089e2
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov al, byte [edi + 0x20]
and al, 0xfe
mov dword [edi + 0x30], ecx
or al, 2
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov byte [edi + 0x20], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret 4
call fcn.0055fb01
nop dword [eax]
sbb dword [eax + edx*2 + 0x5084b800], eax
add byte [edx - 123], al
push eax
add byte [edx - 0x7b], dh
push eax
add byte [ebx - 0x7a], al
push eax
add byte [ebx - 0x4cffaf7a], ah
xchg dword [eax], edx
cmp dword [eax - 0x7d2cffb0], ecx
push eax
add byte [esi], al
adc dword [eax], 0xffffffe3
test dword [eax], edx
adc eax, dword [esi - 0x798cffb0]
push eax
add bl, dl
xchg byte [eax], dl
add eax, dword [edi - 0x78ccffb0]
push eax
add byte [ebx - 0x1cffaf79], al
xchg dword [eax], edx
les ecx, [eax + 0x1000050]
add dl, byte [edx]
add edx, dword [edx]
adc dl, byte [edx]
add al, 5
adc dl, byte [edx]
adc dl, byte [edx]
adc dl, byte [edx]
push es
adc dl, byte [edx]
adc al, byte [edi]
adc dl, byte [edx]
adc dl, byte [edx]
adc dl, byte [edx]
adc dl, byte [edx]
adc cl, byte [eax]
or dword [eax], eax
adc dl, byte [edx]
adc al, byte [ebx]
or dl, byte [edx]
adc cl, byte [ebx]
or al, 13
adc cl, byte [esi]
adc cl, byte [edi]
adc dl, byte [eax]
adc dl, byte [edx]
adc dl, byte [ecx]
int3