Function at 0x100a6250
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101484e2
mov eax, dword fs:[0]
push eax
sub esp, 0xb70
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0xb68], eax
push ebx
push esi
push edi
mov eax, dword [0x10189710]
xor eax, esp
push eax
lea eax, [esp + 0xb80]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
cmp dword [0x101cc918], ebx
jne 0x100a62c8
cmp edi, ebx
jne 0x100a62de
push 0x101cdc28
mov dword [0x101cc918], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
jmp 0x100a77a8
cmp edi, ebx
jne 0x100a62d3
xor eax, eax
jmp 0x100a77a8
push 0x101cdc28
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
push ebx
push ebx
call dword [0x101ba414]
mov esi, eax
mov dword [esp + 0x4c], esi
cmp esi, ebx
jne 0x100a6301
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
jmp 0x100a7791
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
push ebx
push ebx
push edi
push esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
call dword [0x101ba400]
test eax, eax
jne 0x100a6372
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
cmp eax, 0x7a
jne 0x100a636a
mov ebx, dword [esp + 0x48]
push ebx
call fcn.10128320
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x100a673f
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x4c]
push ecx
push eax
push ebx
push 0
push edi
push esi
call dword [0x101ba400]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x100a7777
mov edx, dword [esp + 0x30]
movzx esi, word [edx + 0x20]
mov eax, dword [0x101c2c00]
mov ecx, dword [0x101c2be8]
lea edi, [esp + 0x40]
lea ebx, [esp + 0x90]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.1008e250
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x100a63b3
cmp eax, dword [esp + 0x34]
je 0x100a63b8
call fcn.10128a71
mov eax, dword [esp + 0x38]
mov ebx, dword [ebp + 8]
xor edx, edx
cmp dword [edi + 4], eax
setne dl
mov edi, edx
mov dword [esp + 0x34], edi
test ebx, ebx
jne 0x100a63d9
test edi, edi
je 0x100a7773
cmp esi, 0x105
je 0x100a63e9
cmp esi, 0x47d
jne 0x100a63ef
inc dword [0x101cc91c]
cmp esi, 0x105
je 0x100a7773
cmp esi, 0x1211
jne 0x100a6416
cmp dword [0x101cc91c], 0
je 0x100a7773
dec dword [0x101cc91c]
lea ecx, [esp + 0x54]
push ecx
call fcn.100aadc0
mov dword [esp + 0xb88], 0
test ebx, ebx
jne 0x100a6433
test edi, edi
je 0x100a6447
push edi
push esi
push str._EVENT_BEGIN__EVID:_u__InOurList:_u_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
test eax, eax
jne 0x100a6456
mov eax, 0x10153fb4
xor ecx, ecx
mov word [esp + 0xb8], cx
mov ecx, eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
lea esi, [ecx + 2]
jmp 0x100a6480
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100a6480
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xb8]
call fcn.10009fd0
mov byte [esp + 0xb88], 1
cmp dword [esp + 0xcc], 8
mov ebx, dword [esp + 0xb8]
jae 0x100a64bc
lea ebx, [esp + 0xb8]
call fcn.10073af0
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x100a6563
push 0xc
push str.providername
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 2
call fcn.100aab00
mov edx, esi
lea edi, [edx + 1]
mov cl, byte [edx]
inc edx
cmp cl, bl
jne 0x100a6508
sub edx, edi
push edx
push esi
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6536
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6541
cmp dword [esp + 0x34], ebx
je 0x100a6554
push esi
push str._WEVT__ProviderName:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x30]
mov esi, dword [edi + 0x10]
cmp esi, ebx
je 0x100a6640
push 0x62
lea edx, [esp + 0xf2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xf8], cx
call fcn.1012e060
add esp, 0xc
push 0x32
lea eax, [esp + 0xf0]
push eax
push esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ebx, [esp + 0xec]
call fcn.10073af0
mov esi, eax
test esi, esi
je 0x100a663e
push str.providerguid
lea ecx, [esp + 0x18]
call fcn.100098a0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 3
call fcn.100aab00
mov edx, esi
lea ecx, [edx + 1]
nop
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x100a65e0
sub edx, ecx
push edx
push esi
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a660e
mov edx, dword [esp + 0x18]
push edx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], 0
jne 0x100a661b
cmp dword [esp + 0x34], 0
je 0x100a662e
push esi
push str._WEVT__ProviderGUID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
jne 0x100a6657
movzx eax, word [edi + 0x30]
movzx ecx, word [esp + 0x44]
shl eax, 0x10
or eax, ecx
mov dword [esp + 0x44], eax
push 0x3ff
lea edx, [esp + 0x159]
push ebx
push edx
mov byte [esp + 0x160], bl
call fcn.1012e060
mov eax, dword [esp + 0x50]
add esp, 0xc
push eax
lea ecx, [esp + 0x158]
push 0x10159cc4
push ecx
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
push 7
push str.eventid
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 4
call fcn.100aab00
lea edx, [esp + 0x154]
mov esi, eax
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x100a66d5
sub edx, edi
push edx
lea eax, [esp + 0x158]
push eax
mov ecx, esi
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a670a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6715
cmp dword [esp + 0x34], ebx
je 0x100a672f
lea edx, [esp + 0x154]
push edx
push str._WEVT__EventID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x11c], ebx
jne 0x100a674c
xor eax, eax
jmp 0x100a6753
mov dword [esp + 0x3c], 0xe
jmp 0x100a7777
movzx eax, byte [eax + 0x110]
push eax
lea eax, [esp + 0x158]
push 0x101579f0
push eax
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
push 7
push str.version
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 5
call fcn.100aab00
lea edx, [esp + 0x154]
mov esi, eax
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x100a67b0
sub edx, edi
push edx
lea edx, [esp + 0x158]
push edx
mov ecx, esi
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a67e5
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a67f0
cmp dword [esp + 0x34], ebx
je 0x100a680a
lea ecx, [esp + 0x154]
push ecx
push str._WEVT__Version:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x4c], ebx
jne 0x100a6817
xor eax, eax
jmp 0x100a681b
movzx eax, byte [eax + 0x40]
push eax
lea edx, [esp + 0x158]
push 0x101579f0
push edx
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
push 5
push str.level
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 6
call fcn.100aab00
lea edx, [esp + 0x154]
mov esi, eax
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x100a6878
sub edx, edi
push edx
lea ecx, [esp + 0x158]
push ecx
mov ecx, esi
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a68ad
mov edx, dword [esp + 0x18]
push edx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a68b8
cmp dword [esp + 0x34], ebx
je 0x100a68d2
lea eax, [esp + 0x154]
push eax
push str._WEVT__Level:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov edi, dword [esp + 0x30]
cmp dword [edi + 0x5c], ebx
jne 0x100a68df
xor eax, eax
jmp 0x100a68e3
movzx eax, byte [edi + 0x50]
push eax
lea ecx, [esp + 0x158]
push 0x10174924
push ecx
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
push 4
push str.task
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 7
call fcn.100aab00
lea edx, [esp + 0x154]
lea esi, [edx + 1]
mov edi, edi
mov cl, byte [edx]
inc edx
cmp cl, bl
jne 0x100a6940
sub edx, esi
push edx
lea ecx, [esp + 0x158]
push ecx
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6975
mov edx, dword [esp + 0x18]
push edx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6980
cmp dword [esp + 0x34], ebx
je 0x100a699a
lea eax, [esp + 0x154]
push eax
push str._WEVT__Task:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
cmp dword [edi + 0x6c], ebx
jne 0x100a69a3
xor eax, eax
jmp 0x100a69a7
movzx eax, word [edi + 0x60]
push eax
lea ecx, [esp + 0x158]
push 0x101579f0
push ecx
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
push 6
push str.opcode
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 8
call fcn.100aab00
lea edx, [esp + 0x154]
mov esi, eax
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x100a6a04
sub edx, edi
push edx
lea eax, [esp + 0x158]
push eax
mov ecx, esi
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6a39
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6a44
cmp dword [esp + 0x34], ebx
je 0x100a6a5e
lea edx, [esp + 0x154]
push edx
push str._WEVT__Opcode:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x7c], ebx
jne 0x100a6a6d
xor eax, eax
xor ecx, ecx
jmp 0x100a6a73
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
push ecx
push eax
lea eax, [esp + 0x15c]
push str._0x_I64x
push eax
mov ecx, 0x400
call fcn.100a5060
add esp, 0x10
push 8
push str.keywords
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 9
call fcn.100aab00
lea edx, [esp + 0x154]
mov esi, eax
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x100a6ad1
sub edx, edi
push edx
lea edx, [esp + 0x158]
push edx
mov ecx, esi
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6b06
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6b11
cmp dword [esp + 0x34], ebx
je 0x100a6b2b
lea ecx, [esp + 0x154]
push ecx
push str._WEVT__Keywords:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x80]
mov edi, dword [eax + 0x84]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], esi
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push ebx
push 0x989680
push edi
push esi
call fcn.101456a0
push ebx
push 0x64
push edx
push eax
call fcn.10138f60
movzx ecx, word [esp + 0x84]
push edx
movzx edx, word [esp + 0x86]
push eax
movzx eax, word [esp + 0x88]
push ecx
movzx ecx, word [esp + 0x84]
push edx
movzx edx, word [esp + 0x8e]
push eax
movzx eax, word [esp + 0x8e]
push ecx
push edx
push eax
lea ecx, [esp + 0x174]
push str._02d__02d__02d__02d:_02d:_02d._I64u
push ecx
mov ecx, 0x400
call fcn.100a5060
add esp, 0x28
push 0xb
push str.timecreated
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0xa
call fcn.100aab00
lea edx, [esp + 0x154]
mov esi, eax
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
cmp al, bl
jne 0x100a6c07
sub edx, edi
push edx
lea eax, [esp + 0x158]
push eax
mov ecx, esi
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6c3c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6c47
cmp dword [esp + 0x34], ebx
je 0x100a6c61
lea edx, [esp + 0x154]
push edx
push str._WEVT__TimeCreated:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
push eax
push ecx
lea edx, [esp + 0x15c]
push str._I64u
push edx
mov ecx, 0x400
call fcn.100a5060
add esp, 0x10
push 0xd
push str.eventrecordid
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0xb
call fcn.100aab00
lea edx, [esp + 0x154]
lea esi, [edx + 1]
lea ecx, [ecx]
mov cl, byte [edx]
inc edx
cmp cl, bl
jne 0x100a6cd0
sub edx, esi
push edx
lea ecx, [esp + 0x158]
push ecx
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6d05
mov edx, dword [esp + 0x18]
push edx
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a6d10
cmp dword [esp + 0x34], ebx
je 0x100a6d2a
lea eax, [esp + 0x154]
push eax
push str._WEVT__EventRecordID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
cmp dword [edi + 0xac], ebx
je 0x100a6e10
push 0x62
lea edx, [esp + 0xf2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xf8], cx
call fcn.1012e060
mov ecx, dword [edi + 0xa0]
add esp, 0xc
push 0x32
lea eax, [esp + 0xf0]
push eax
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ebx, [esp + 0xec]
call fcn.10073af0
mov esi, eax
test esi, esi
je 0x100a6e0e
push str.activityid
lea ecx, [esp + 0x18]
call fcn.100098a0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0xc
call fcn.100aab00
mov edx, esi
lea ecx, [edx + 1]
lea esp, [esp]
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x100a6db0
sub edx, ecx
push edx
push esi
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6dde
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], 0
jne 0x100a6deb
cmp dword [esp + 0x34], 0
je 0x100a6dfe
push esi
push str._WEVT__ActivityID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
cmp dword [edi + 0xbc], ebx
je 0x100a6ef0
push 0x62
lea edx, [esp + 0xf2]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0xf8], cx
call fcn.1012e060
mov ecx, dword [edi + 0xb0]
add esp, 0xc
push 0x32
lea eax, [esp + 0xf0]
push eax
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ebx, [esp + 0xec]
call fcn.10073af0
mov esi, eax
test esi, esi
je 0x100a6eee
push str.relatedactivityid
lea ecx, [esp + 0x18]
call fcn.100098a0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0xd
call fcn.100aab00
mov edx, esi
lea ecx, [edx + 1]
nop
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x100a6e90
sub edx, ecx
push edx
push esi
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a6ebe
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], 0
jne 0x100a6ecb
cmp dword [esp + 0x34], 0
je 0x100a6ede
push esi
push str._WEVT__RelatedActivityID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
push 0x207
lea ecx, [esp + 0x971]
push ebx
push ecx
mov byte [esp + 0x978], bl
call fcn.1012e060
add esp, 0xc
push 0x207
lea edx, [esp + 0x661]
push ebx
push edx
mov byte [esp + 0x668], bl
call fcn.1012e060
mov eax, dword [edi + 0xc0]
add esp, 0xc
cmp eax, 4
jbe 0x100a6f4a
lea ecx, [esp + 0x96c]
push ecx
push eax
lea ecx, [esp + 0x664]
call fcn.1007ca10
lea eax, [esp + 0x154]
cmp byte [esp + 0x65c], bl
jne 0x100a6f76
mov edx, dword [edi + 0xc0]
push edx
push str.SYSTEM:_lu
push eax
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
jmp 0x100a6f98
mov ecx, dword [edi + 0xc0]
push ecx
lea edx, [esp + 0x660]
push edx
push str._s:_lu
push eax
mov ecx, 0x400
call fcn.100a5060
add esp, 0x10
push 9
push str.processid
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0xe
call fcn.100aab00
lea edx, [esp + 0x154]
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
cmp cl, bl
jne 0x100a6fd8
sub edx, esi
push edx
lea edx, [esp + 0x158]
push edx
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a700d
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a7018
cmp dword [esp + 0x34], ebx
je 0x100a7032
lea ecx, [esp + 0x154]
push ecx
push str._WEVT__ProcessID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
mov edx, dword [edi + 0xd0]
push edx
lea eax, [esp + 0x158]
push 0x10159cc4
push eax
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
push 8
push str.threadid
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10009b30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0xf
call fcn.100aab00
lea edx, [esp + 0x154]
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
cmp cl, bl
jne 0x100a7093
sub edx, esi
push edx
lea edx, [esp + 0x158]
push edx
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a70c8
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], ebx
jne 0x100a70d3
cmp dword [esp + 0x34], ebx
je 0x100a70ed
lea ecx, [esp + 0x154]
push ecx
push str._WEVT__ThreadID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
cmp dword [edi + 0xec], ebx
jne 0x100a70fd
mov eax, dword [edi + 0xe0]
jmp 0x100a7102
mov eax, 0x10153fb4
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100a7107
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xb8]
call fcn.10009fd0
cmp dword [esp + 0xcc], 8
mov ebx, dword [esp + 0xb8]
jae 0x100a713b
lea ebx, [esp + 0xb8]
call fcn.10073af0
mov esi, eax
test esi, esi
je 0x100a71ee
push 7
push str.channel
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.10009b30
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0x10
call fcn.100aab00
mov edx, esi
lea ebx, [edx + 1]
lea ebx, [ebx]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100a7190
sub edx, ebx
push edx
push esi
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a71be
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
cmp dword [ebp + 8], 0
jne 0x100a71cb
cmp dword [esp + 0x34], 0
je 0x100a71de
push esi
push str._WEVT__Channel:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [edi + 0xf0]
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100a7200
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xb8]
call fcn.10009fd0
cmp dword [esp + 0xcc], 8
mov ebx, dword [esp + 0xb8]
jae 0x100a7234
lea ebx, [esp + 0xb8]
call fcn.10073af0
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x100a72ed
push 8
push str.computer
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.10009b30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0x11
call fcn.100aab00
mov edx, esi
lea ebx, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100a7281
sub edx, ebx
push edx
push esi
mov ecx, eax
call fcn.10009b30
mov byte [esp + 0xb88], 1
cmp dword [esp + 0x2c], 0x10
jb 0x100a72af
mov edx, dword [esp + 0x18]
push edx
call fcn.10128f9e
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
cmp dword [ebp + 8], edi
jne 0x100a72cb
cmp dword [esp + 0x34], edi
je 0x100a72de
push esi
push str._WEVT__Computer:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x30]
cmp dword [esi + 0x10c], edi
je 0x100a73b4
mov ecx, dword [esi + 0x100]
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x48], edi
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x100a73b4
mov ebx, dword [esp + 0x40]
call fcn.10073af0
mov esi, eax
test esi, esi
je 0x100a73a3
push str.secuserid
lea ecx, [esp + 0x9c]
call fcn.100098a0
push esi
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0xb94], 0x12
call fcn.100aab00
add esp, 4
mov ecx, eax
call fcn.10009c10
lea ecx, [esp + 0x98]
mov byte [esp + 0xb88], 1
call fcn.100098e0
cmp dword [ebp + 8], 0
jne 0x100a7380
cmp dword [esp + 0x34], 0
je 0x100a7393
push esi
push str._WEVT__UserSID:___s_
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x30]
xor edi, edi
mov ecx, dword [esi]
push edi
push edi
push edi
push ecx
push edi
call dword [0x101ba418]
mov esi, eax
cmp esi, edi
jne 0x100a7417
cmp dword [esp + 0xcc], 8
jb 0x100a73e1
mov edx, dword [esp + 0xb8]
push edx
call fcn.10128f9e
add esp, 4
lea ecx, [esp + 0x54]
xor eax, eax
push ecx
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], ax
mov dword [esp + 0xb8c], 0xffffffff
call fcn.100aac70
jmp 0x100a7773
push 0x103
lea edx, [esp + 0x559]
push edi
push edx
mov byte [esp + 0x560], 0
call fcn.1012e060
mov eax, dword [esp + 0x80]
add esp, 0xc
mov ecx, esi
push eax
lea esi, [esp + 0xd4]
call fcn.100a5dd0
add esp, 4
mov bl, 0x13
mov byte [esp + 0xb88], bl
cmp dword [esp + 0xe8], 0x10
mov eax, dword [esp + 0xd4]
jae 0x100a746f
lea eax, [esp + 0xd4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a7472
sub eax, edx
inc eax
push eax
call fcn.10128320
mov esi, eax
add esp, 4
cmp esi, edi
je 0x100a74e7
cmp dword [esp + 0xe8], 0x10
mov edx, dword [esp + 0xd4]
jae 0x100a74a3
lea edx, [esp + 0xd4]
mov ecx, esi
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
test al, al
jne 0x100a74a5
push 0x1014d5e3
push 0x10159624
push esi
call fcn.10064100
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a74c7
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xd8]
call fcn.10009b30
push esi
call fcn.10128243
add esp, 4
push 7
push str.message
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
call fcn.10009b30
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8c], 0x14
call fcn.100aab00
push 0xffffffffffffffff
push edi
lea edx, [esp + 0xd8]
push edx
mov ecx, eax
call fcn.10009a50
mov byte [esp + 0xb88], bl
cmp dword [esp + 0x2c], 0x10
jb 0x100a754b
mov eax, dword [esp + 0x18]
push eax
call fcn.10128f9e
add esp, 4
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x34]
cmp ebx, edi
jne 0x100a755e
cmp esi, edi
je 0x100a76dd
cmp dword [esp + 0xe8], 0x10
mov eax, dword [esp + 0xd4]
jae 0x100a7576
lea eax, [esp + 0xd4]
push eax
push str._WEVT__Message:__s
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 8
cmp ebx, edi
jne 0x100a7595
cmp esi, edi
je 0x100a76dd
mov ebx, dword [esp + 0x44]
push ebx
push str._EVENT_END___u_
mov eax, 0x101ba1e8
call fcn.100a6070
push 0x1016df00
mov eax, 0x101ba1e8
call fcn.100a6070
add esp, 0xc
cmp esi, edi
je 0x100a76dd
cmp dword [esp + 0xe8], 0x10
mov ecx, dword [esp + 0xd4]
jae 0x100a75db
lea ecx, [esp + 0xd4]
lea esi, [esp + 0x554]
xor edx, edx
sub esi, ecx
mov al, byte [ecx]
cmp al, 0xd
je 0x100a7601
cmp al, 0xa
je 0x100a7601
test al, al
je 0x100a7601
mov byte [esi + ecx], al
inc edx
inc ecx
cmp edx, 0x103
jl 0x100a75e6
cmp edx, edi
jle 0x100a761f
cmp byte [esp + edx + 0x553], 0x2e
lea edx, [esp + edx + 0x554]
jne 0x100a761c
mov byte [edx - 1], 0
jmp 0x100a761f
mov byte [edx], 0
cmp byte [esp + 0x65c], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc0]
push edx
jne 0x100a7650
lea eax, [esp + 0x158]
push str.SYSTEM:_lu
push eax
mov ecx, 0x400
call fcn.100a5060
add esp, 0xc
jmp 0x100a7672
lea eax, [esp + 0x660]
push eax
lea ecx, [esp + 0x15c]
push str._s:_lu
push ecx
mov ecx, 0x400
call fcn.100a5060
add esp, 0x10
lea esi, [ebx + 0x61a8]
cmp esi, 0x7fff
jbe 0x100a769e
cmp dword [0x101b9c9c], edi
jne 0x100a769e
push esi
push ebx
push str._WEVT__WinEvent:_u___u__cannot_be_sent_as_it_is_above_32767__Set_WEvtSendLargeEvents1_if_DB_Support_available.
push 0x101ba1e8
call fcn.1006ed90
add esp, 0x10
jmp 0x100a76dd
push ebx
lea edx, [esp + 0x868]
push str.Logged___u_
push edx
call fcn.10127dc0
add esp, 0xc
push edi
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x86c]
push ecx
push edi
push str.WinEvent
push esi
lea edx, [esp + 0x56c]
mov ecx, str.eScan
call fcn.10080d40
cmp dword [esp + 0xe8], 0x10
jb 0x100a76f7
mov edx, dword [esp + 0xd4]
push edx
call fcn.10128f9e
add esp, 4
cmp dword [esp + 0xcc], 8
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], edi
mov byte [esp + 0xd4], 0
jb 0x100a772b
mov eax, dword [esp + 0xb8]
push eax
call fcn.10128f9e
add esp, 4
xor ecx, ecx
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], edi
mov word [esp + 0xb8], cx
lea esi, [esp + 0x54]
mov dword [esp + 0xb88], 0x15
call fcn.100ab060
mov dword [esp + 0xb88], 0xffffffff
mov edx, dword [esp + 0x54]
push edx
call fcn.10128f9e
add esp, 4
mov esi, dword [esp + 0x4c]
push esi
call dword [0x101ba410]
mov eax, dword [esp + 0x30]
xor ebx, ebx
cmp eax, ebx
je 0x100a7791
push eax
call fcn.10128243
add esp, 4
cmp dword [0x101cc918], ebx
je 0x100a77a4
push 0x101cdc28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xb80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb68]
xor ecx, esp
call fcn.10127db1
mov esp, ebp
pop ebp
ret