Function at 0x10068428
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f902
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x338
mov eax, dword [0x100ec274]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x26c], edx
mov esi, ecx
cmp byte [edx + 0x16], 0xa
lea eax, [edx + 0x18]
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x25c], eax
lea eax, [edx + 0x20]
mov dword [ebp - 0x24c], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x258], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x268], eax
mov ax, word [edx + 0x30]
mov word [ebp - 0x264], ax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x260], eax
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x274], eax
mov ax, word [edx + 0x40]
mov word [ebp - 0x254], ax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], ecx
jne 0x100685e3
mov al, byte [0x100fc604]
nop
test al, al
je 0x10068500
mov ecx, dword [0x100fc728]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
jmp 0x10068505
mov ecx, 0x100fc708
mov al, byte [ecx]
mov byte [ebp - 0xd8], al
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0xd4]
call fcn.10012d20
mov ecx, dword [0x100fc730]
test ecx, ecx
je 0x100685cc
push 1
push edi
call fcn.10012d20
test al, al
jne 0x100685cc
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.10012d20
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], 0x100b8ebc
mov dword [ebp - 0x70], str.EventName
call fcn.10012d20
xor eax, eax
mov ecx, 0x2752091
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x74]
push eax
push str.Event_is_marked_as_Basic_but_doesnt_appear_in_the_Basic_Event_Allow_List
push 0xf
call fcn.10012d20
lea ecx, [ebp - 0x6c]
call fcn.1001a648
lea ecx, [ebp - 0x108]
call fcn.1001a648
cmp byte [ebp - 0xd8], 0
je 0x100685cc
lea ecx, [ebp - 0x248]
call fcn.10012d20
lea eax, [ebp - 0x240]
mov byte [ebp - 0x242], 0x64
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.10012d20
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0xd4]
call fcn.1001a516
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x244], eax
mov ecx, dword [0x100fc734]
test ecx, ecx
je 0x10068618
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x10068618
mov ecx, dword [0x100fc734]
lea edx, [ebp - 0x240]
push edx
push edi
lea edx, [ebp - 0x288]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov al, byte [ebp - 0x280]
jmp 0x10068620
xor al, al
mov byte [ebp - 0x280], al
test al, al
je 0x10068632
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x284]
jmp 0x1006863e
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x23c], ecx
mov ecx, 0x100fc5f0
push edi
mov dword [ebp - 0x240], eax
call fcn.10065f4d
test al, al
je 0x1006866c
push edi
mov ecx, 0x100fc5f0
call fcn.10065ffd
movzx edi, ax
jmp 0x1006872d
push dword [ebp - 0x244]
mov edx, dword [ebp - 0x25c]
lea eax, [ebp - 0x240]
push dword [ebp - 0x258]
mov ecx, edi
push eax
call fcn.10012d20
movzx edi, ax
test di, di
jne 0x100686b0
push dword [ebp - 0x234]
mov ecx, 0x100fc608
call fcn.10012d20
movzx edi, ax
test di, di
je 0x100688df
push edi
push dword [ebp - 0x234]
mov ecx, 0x100fc5f0
call fcn.10012d20
cmp di, 7
jne 0x1006872d
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x120]
push eax
call fcn.10012d20
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], 0x100b8ebc
mov dword [ebp - 0x94], str.EventName
call fcn.10012d20
xor eax, eax
mov ecx, 0x3050357
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x98]
push eax
push str.Event_validation_error:_event_volume_too_high
push 0xa
call fcn.10012d20
lea ecx, [ebp - 0x90]
call fcn.1001a648
lea ecx, [ebp - 0x120]
call fcn.1001a648
test di, di
je 0x100688df
cmp byte [ebp - 0x240], 3
jne 0x1006881f
push ecx
lea ecx, [ebp - 0x348]
call fcn.10039589
push edi
lea ecx, [ebp - 0x348]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x344]
call fcn.10031729
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x38], 0x100b8ebc
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], str.Error
call fcn.10012d20
mov edi, dword [ebp - 0x234]
xor eax, eax
mov word [ebp - 0x18], ax
mov ecx, edi
lea eax, [ebp - 0x50]
push eax
call fcn.10012d20
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xbc], 0x100b8ebc
mov dword [ebp - 0xb8], str.EventName
call fcn.10012d20
xor eax, eax
mov word [ebp - 0x9c], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xbc]
push eax
push ecx
push ecx
call fcn.10012d20
lea ecx, [ebp - 0xb4]
call fcn.1001a648
lea ecx, [ebp - 0x50]
call fcn.1001a648
lea ecx, [ebp - 0x30]
call fcn.1001a648
lea ecx, [ebp - 0xf0]
call fcn.1001a648
lea ecx, [ebp - 0x2f8]
call fcn.10039559
lea ecx, [ebp - 0x2f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x100688e5
movzx eax, di
sub eax, 1
je 0x10068865
sub eax, 1
je 0x1006885e
sub eax, 5
je 0x10068856
sub eax, 1
je 0x10068856
dec eax
sub eax, 1
je 0x10068856
sub eax, 1
je 0x1006884c
sub eax, 1
jne 0x10068a2f
jmp 0x10068856
mov ecx, 0x218d2486
call fcn.10012d20
and dword [esi], 0
jmp 0x10068a0f
mov ecx, 0x218d2487
jmp 0x10068851
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x50]
push eax
mov ecx, edi
call fcn.10012d20
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 0x100b8ebc
mov dword [ebp - 0x34], str.EventName
call fcn.10012d20
xor eax, eax
mov ecx, 0x24d7654
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x38]
push eax
push str.Event_validation_error:_invalid_name
push 0xa
call fcn.10012d20
lea ecx, [ebp - 0x30]
call fcn.1001a648
lea ecx, [ebp - 0x50]
call fcn.1001a648
mov ecx, 0x218d2488
call fcn.10012d20
mov eax, dword [edi + 4]
cmp byte [eax + 0x10], 0
je 0x100688d4
cmp dword [eax + 0xc], 0xfffffffe
sete al
jmp 0x100688d6
xor al, al
test al, al
jne 0x100688e5
jmp 0x10068856
mov edi, dword [ebp - 0x234]
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x250]
call fcn.10012d20
mov eax, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
cmp edx, dword [eax + 0x10]
jne 0x10068920
cmp ecx, dword [eax + 0x14]
jne 0x10068920
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x244], eax
jmp 0x10068993
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.10012d20
mov edx, ecx
mov ecx, dword [ebp - 0x250]
call fcn.100632a0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x230]
call fcn.10012d20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [ebp - 0x250], ecx
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
test ecx, ecx
je 0x10068979
call fcn.100382c8
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x10068988
call fcn.100382c8
lea ecx, [ebp - 0x230]
call fcn.10068363
push 0x40
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
je 0x10068a3b
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x294], 0
push ecx
push dword [ebp - 0x274]
push dword [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x268]
push ecx
push dword [ebp - 0x258]
lea ecx, [ebp - 0x240]
push ecx
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x250]
push ecx
push edi
mov ecx, eax
call fcn.10012d20
cmp byte [ebp - 0x294], 0
mov dword [esi], eax
je 0x100689fe
lea ecx, [ebp - 0x2ac]
call fcn.1001a648
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x10068a0f
mov ecx, eax
call fcn.100382c8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008a5be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
push 0x14a118c
call fcn.10012d20
call fcn.1001aa15
int3