Function at 0x52d280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0409
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x6218c0]
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.0x52d2cc.71
movzx eax, byte [eax + 0x52da74]
jmp dword [eax*4 + 0x52da28]
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x52d2ff
push 7
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
xor esi, esi
jmp 0x52d99a
push 0x14
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x52d2ff
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0052d0a0
xor ebx, ebx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], ebx
je 0x52d39f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00544ef0
add esp, 8
cmp dword [eax + 0x14], 0xf
jbe 0x52d34e
mov eax, dword [eax]
push eax
call fcn.0058f2e2
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov ebx, eax
cmp ecx, 0xf
jbe 0x52d38d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x52d383
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52da20
push ecx
push edx
call fcn.005702d9
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 0x52d3dd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x52d3d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52da20
push ecx
push edx
call fcn.005702d9
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 0x52d99a
lea eax, [ebp - 0x28]
push eax
call fcn.0052d0a0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 3
jne 0x52d43c
push str._Y__m__d__H:_M:_S
lea ecx, [ebp - 0x28]
call fcn.00409780
cmp esi, 0x64
push 0x2c
sete bl
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
test esi, esi
je 0x52d4a9
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.00406d20
lea ecx, [ebp - 0x28]
call fcn.00406c10
jmp 0x52d99a
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00406c10
jmp 0x52d99a
push 0x28
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x52d52a
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0052d0a0
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.00406d20
jmp 0x52d52c
xor esi, esi
test bl, 1
je 0x52d99a
lea ecx, [ebp - 0x28]
call fcn.00406c10
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x52d2ff
push 8
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
cmp esi, 0x48
push 0x28
sete byte [ebp - 0x48]
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0xb
test esi, esi
je 0x52d2ff
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.00546eb0
add esp, 8
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x52d2ff
push 2
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x52d2ff
push 0xa
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x52d2ff
push 9
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x52d2ff
push 5
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x52d2ff
push 0xb
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x52d2ff
push 6
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x52d2ff
push 3
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x10
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x52d2ff
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 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x52d2ff
push 0
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x18
call fcn.005702a9
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x52d2ff
push 1
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call fcn.0052a670
mov esi, eax
jmp 0x52d99a
push 0x14
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x52d2ff
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 0x52d99a
push 0x28
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0x16
test esi, esi
je 0x52d8ac
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0052d0a0
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.00406d20
jmp 0x52d8ae
xor esi, esi
test bl, 2
je 0x52d99a
lea ecx, [ebp - 0x28]
call fcn.00406c10
jmp 0x52d99a
push 1
lea ecx, [ebp - 0xe0]
call fcn.00524dd0
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.0049d0c0
add esp, 8
push eax
call fcn.005293a0
add esp, 8
push eax
call fcn.0049d0c0
add esp, 8
mov ecx, eax
call fcn.0052ac40
push eax
call fcn.0049d0c0
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0049dc30
push 0
push eax
mov byte [ebp - 4], 0x1b
call fcn.00528240
mov ecx, eax
call fcn.0053fba0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
call fcn.00406c10
push 0x28
call fcn.005702a9
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
test esi, esi
je 0x52d98d
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.00406d20
jmp 0x52d98f
xor esi, esi
lea ecx, [ebp - 0xe0]
call fcn.005268e0
mov dword [ebp - 0x48], esi
mov edx, dword [edi + 0x28]
mov dword [ebp - 4], 0x1e
cmp edx, dword [edi + 0x2c]
je 0x52d9b6
xor ecx, ecx
mov dword [edx], esi
add dword [edi + 0x28], 4
jmp 0x52d9c6
lea ecx, [ebp - 0x48]
push ecx
push edx
lea ecx, [edi + 0x24]
call fcn.005297e0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x52d9d0
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [edi + 0x38]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 7
jbe 0x52d9e2
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.0057029b
mov esp, ebp
pop ebp
ret 4
call fcn.00584b21
nop dword [eax]
sbb esp, edx
push edx
add byte [ecx], bl
aam 0x52
add byte [eax + 0x420052d4], bh
aad 0x52
add byte [edx - 0x2b], dh
push edx
add byte [ebx - 0x2a], al
push edx
add byte [ebx - 0x4cffad2a], ah
xlatb
push edx
add byte [ecx], bh
fcom dword [edx]
rcl edx, cl
push edx
add byte [esi], al
rcl dword [edx], cl
jecxz 0x52da27
push edx
add byte [ebx], dl
salc
push edx
add byte [ebx - 0x2a], dh
push edx
add bl, dl
salc
push edx
add byte [ebx], al
xlatb
push edx
add byte [ebx], dh
xlatb
push edx
add byte [ebx - 0x1cffad29], al
xlatb
push edx
add ah, al
fcom dword [edx]
add byte [ecx], al
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