Function at 0x419b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b28
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4643c8]
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
push 0x467218
mov dword [ebp - 0x50], 0x467218
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 7
xor ecx, ecx
mov byte [0x4671fd], bl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 1
cmp dword [0x4671f8], ebx
je 0x419bcd
mov dword [ebp - 0x18], eax
jmp 0x419d50
xor ecx, ecx
call fcn.00419e60
lea eax, [ebp - 0x48]
push eax
call fcn.00414570
add esp, 4
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00407630
mov edi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], edi
jb 0x419c08
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
cmp dword [ebp - 0x1c], ebx
jne 0x419c21
push 0x12
mov eax, str.DefaultEventSource
lea esi, [ebp - 0x2c]
call fcn.00413470
jmp 0x419cc8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push ebx
lea eax, [ebp - 0x2c]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004138c0
lea ecx, [ebp - 0x48]
call fcn.00432860
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00407630
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
jb 0x419c74
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push ebx
lea eax, [ebp - 0x2c]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004138c0
lea ecx, [ebp - 0x48]
call fcn.004327e0
add esp, 0x1c
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00407630
cmp dword [ebp - 0x34], 8
jb 0x419cc3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0043644d
add esp, 4
mov edi, 8
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x419cd3
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push ebx
push ebx
push ebx
push 0x41a410
push ebx
push ebx
mov dword [0x4671f4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4671f8], eax
cmp eax, ebx
jne 0x419d31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x18], edi
jb 0x419d12
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0043644d
add esp, 4
xor eax, eax
push 0x467218
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x419d66
mov byte [0x4671fc], 1
cmp dword [ebp - 0x18], edi
jb 0x419d49
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0043644d
add esp, 4
mov dword [ebp - 0x18], 7
xor edx, edx
push 0x467218
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
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.00436268
mov esp, ebp
pop ebp
ret