Function at 0x1004092b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101684b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x1020f334]
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 dword [ebp - 0x2e4], edx
mov edi, ecx
mov esi, dword [edx + 8]
lea eax, [edx + 0x18]
mov dword [ebp - 0x2d8], eax
xor ebx, ebx
cmp byte [edx + 0x16], 0xa
lea eax, [edx + 0x20]
mov dword [ebp - 0x2e0], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x2d4], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x300], eax
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x2fc], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2c8], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 0x2c4], eax
jne 0x10040aac
mov dword [ebp - 4], ebx
mov al, byte [0x102179c5]
test al, al
je 0x100409d0
mov ecx, dword [0x10217ac8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
jmp 0x100409d5
mov ecx, 0x10217aa8
or dword [ebp - 4], 0xffffffff
mov al, byte [ecx]
mov byte [ebp - 0x3c], al
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.10008598
mov ecx, dword [0x10217ad0]
test ecx, ecx
je 0x10040aa4
push 1
push esi
call fcn.10043d5b
test al, al
jne 0x10040aa4
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.1003ef29
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x60], 0x101b1dd4
mov dword [ebp - 0x5c], 0x101b1dc0
call fcn.1001267b
xor eax, eax
mov edx, 0x65e
mov word [ebp - 0x40], ax
mov ecx, 0x2752091
lea eax, [ebp - 0x60]
push eax
push str.Event_is_marked_as_Basic_but_doesnt_appear_in_the_Basic_Event_Allow_List
push 0xf
call fcn.1000eade
lea ecx, [ebp - 0x58]
call fcn.1001283e
lea ecx, [ebp - 0x120]
call fcn.1001283e
cmp byte [ebp - 0x3c], 0
je 0x10040aa4
lea ecx, [ebp - 0x2f0]
call fcn.1003bb4c
lea eax, [ebp - 0x2c8]
mov byte [ebp - 0x2ea], 0x64
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.1003bb97
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c4], eax
lea ecx, [ebp - 0x38]
call fcn.1000860f
call fcn.100423a3
cmp byte [eax], 0
je 0x10040b00
cmp byte [ebp - 0x2c2], 0xa
jne 0x10040b00
cmp byte [ebp - 0x2c7], 1
jne 0x10040b00
lea ecx, [ebp - 0x2f8]
call fcn.1003bb4c
lea eax, [ebp - 0x2c8]
mov byte [ebp - 0x2f7], 0xbf
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.1003bb97
mov ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c4], eax
mov ecx, esi
call fcn.1004435e
test al, al
jne 0x10040b69
mov dword [ebp - 4], 1
mov ecx, dword [0x10217ad4]
test ecx, ecx
je 0x10040b41
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x10040b41
mov ecx, dword [0x10217ad4]
lea edx, [ebp - 0x2c8]
push edx
push esi
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov al, byte [ebp - 0x20]
jmp 0x10040b46
mov al, bl
mov byte [ebp - 0x20], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
test al, al
lea edx, [ebp - 0x18]
cmovne ecx, edx
mov eax, dword [ecx]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c4], eax
lea eax, [ebp - 0x138]
mov ecx, esi
push eax
call fcn.1003ef29
push eax
mov ecx, 0x102179b0
call fcn.1003f2d0
lea ecx, [ebp - 0x138]
mov bl, al
call fcn.1001283e
mov ecx, esi
test bl, bl
je 0x10040bc2
lea eax, [ebp - 0x150]
push eax
call fcn.1003ef29
push eax
mov ecx, 0x102179b0
call fcn.1003f321
lea ecx, [ebp - 0x150]
movzx ebx, ax
call fcn.1001283e
mov esi, dword [ebp - 0x2dc]
jmp 0x10040c20
push dword [ebp - 0x2d4]
mov edx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2c8]
push eax
call fcn.10043f43
movzx ebx, ax
test bx, bx
jne 0x10040bf9
push esi
mov ecx, 0x102179c8
call fcn.100444a6
movzx ebx, ax
test bx, bx
je 0x10040d11
push ebx
push ecx
lea eax, [ebp - 0x168]
mov ecx, esi
push eax
call fcn.1003ef29
pop ecx
push eax
mov ecx, 0x102179b0
call fcn.1003f0cc
lea ecx, [ebp - 0x168]
call fcn.1001283e
test bx, bx
je 0x10040d11
cmp byte [ebp - 0x2c8], 3
jne 0x10040e25
push ecx
push ecx
lea ecx, [ebp - 0x3b0]
call fcn.1003f420
push ebx
lea ecx, [ebp - 0x3b0]
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 - 0x108]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.1002e629
lea eax, [ebp - 0x108]
mov dword [ebp - 0xa4], 0x101aed40
mov ebx, 0x101b1dd4
lea ecx, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa8], ebx
call fcn.1001267b
xor eax, eax
mov ecx, esi
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x180]
push eax
call fcn.1003ef29
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], 0x101b1dc0
call fcn.1001267b
xor eax, eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x84]
push eax
push ecx
push ecx
call fcn.10040f9b
lea ecx, [ebp - 0x7c]
call fcn.1001283e
lea ecx, [ebp - 0x180]
call fcn.1001283e
lea ecx, [ebp - 0xa0]
call fcn.1001283e
lea ecx, [ebp - 0x108]
call fcn.1001283e
lea ecx, [ebp - 0x360]
call fcn.1003f3de
lea ecx, [ebp - 0x360]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2d0]
call fcn.10030b61
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [eax + 0x14]
cmp ecx, dword [eax + 0x10]
jne 0x10040d42
cmp dword [ebp - 0x2c4], edx
je 0x10040dc6
push dword [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x2c0]
call fcn.10040754
mov edx, ecx
mov ecx, dword [ebp - 0x2d0]
call fcn.1004042d
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.1003d0eb
mov ecx, dword [eax]
mov edx, dword [eax + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [ebp - 0x2d0], ecx
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 4], 2
test ecx, ecx
je 0x10040da1
call fcn.10031696
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x304]
test ecx, ecx
je 0x10040db7
call fcn.10031696
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.100407dc
lea eax, [ebp - 0x300]
mov edx, esi
push eax
push ecx
push dword [ebp - 0x2d4]
lea eax, [ebp - 0x2c8]
mov ecx, edi
push eax
push dword [ebp - 0x2d8]
lea eax, [ebp - 0x2d0]
push eax
call fcn.1004101e
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x2cc]
test ecx, ecx
je 0x10040e07
call fcn.10031696
mov eax, edi
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.100042bb
mov esp, ebp
pop ebp
ret
movzx eax, bx
sub eax, 1
je 0x10040efb
sub eax, 1
je 0x10040ef1
sub eax, 5
je 0x10040e78
sub eax, 3
je 0x10040e73
sub eax, 1
je 0x10040e54
sub eax, 1
jne 0x10040f8b
jmp 0x10040e73
push 0x3050358
mov eax, dword [0x10210270]
mov ecx, 0x10210270
call dword [eax + 4]
mov al, byte [0x102179c4]
test al, al
je 0x10040d11
and dword [edi], 0
jmp 0x10040e07
mov al, byte [0x102179c4]
test al, al
je 0x10040d11
lea eax, [ebp - 0x198]
mov ecx, esi
push eax
call fcn.1003ef29
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xcc], 0x101b1dd4
mov dword [ebp - 0xc8], 0x101b1dc0
call fcn.1001267b
xor eax, eax
mov edx, 0x65e
mov word [ebp - 0xac], ax
mov ecx, 0x3050357
lea eax, [ebp - 0xcc]
push eax
push str.Event_validation_error:_event_volume_too_high
push 0xa
call fcn.1000eade
lea ecx, [ebp - 0xc4]
call fcn.1001283e
lea ecx, [ebp - 0x198]
call fcn.1001283e
jmp 0x10040e73
push 0x16218a1
jmp 0x10040e59
lea eax, [ebp - 0x1b0]
mov ecx, esi
push eax
call fcn.1003ef29
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xf0], 0x101b1dd4
mov dword [ebp - 0xec], 0x101b1dc0
call fcn.1001267b
xor eax, eax
mov edx, 0x65e
mov word [ebp - 0xd0], ax
mov ecx, 0x24d7654
lea eax, [ebp - 0xf0]
push eax
push str.Event_validation_error:_invalid_name
push 0xa
call fcn.1000eade
lea ecx, [ebp - 0xe8]
call fcn.1001283e
lea ecx, [ebp - 0x1b0]
call fcn.1001283e
mov eax, dword [0x10210270]
mov ecx, 0x10210270
push 0x16218a0
call dword [eax + 4]
mov ecx, esi
call fcn.1004435e
test al, al
jne 0x10040e66
jmp 0x10040e73
push 0
push 0x14a118c
call fcn.10007fcb
int3