Function at 0x45daa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f1c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5b03ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x45dd1b
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x45dd1b
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x1c8]
call fcn.0045f020
push 0x9a
call fcn.004e52af
mov edi, eax
add esp, 4
test edi, edi
je 0x45db1c
push 0x9a
push 0
push edi
call fcn.00521d00
add esp, 0xc
jmp 0x45db1e
xor edi, edi
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x18]
cmp eax, ecx
je 0x45db33
mov ecx, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x45db40
push ecx
jmp 0x45db38
test edi, edi
je 0x45db40
push edi
call fcn.004e52db
add esp, 4
push ecx
call fcn.0045d810
push 0x9a
push 0
push dword [esi + 0x1c]
mov byte [ebp - 0xd], al
call fcn.00521d00
mov ecx, dword [esi + 0x1c]
add esp, 0x10
cmp byte [ebp - 0xd], 0
mov dword [esi + 0x18], ecx
mov dword [ecx + 0x48], 0x6020001
mov ecx, 0x591af8
mov eax, dword [esi + 0x18]
mov dword [eax], 0x9a
mov eax, 0x5907d4
cmove ecx, eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x18], xmm0
mov eax, dword [esi + 0x18]
mov dword [eax + 0x2c], 0x20000
mov eax, dword [esi + 0x18]
mov dword [eax + 0x28], 1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x40], 0x2008100
mov eax, dword [esi + 0x18]
mov dword [eax + 0x70], 0x78
lea eax, [esi + 8]
push dword [esi + 0x18]
push str.NT_Kernel_Logger
push eax
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
cmp eax, 0xb7
jne 0x45dc81
nop
push 1
push dword [esi + 0x18]
push str.NT_Kernel_Logger
push dword [esi + 0x14]
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_ControlTraceW]
test eax, eax
jne 0x45dc85
push 0x9a
push eax
push dword [esi + 0x1c]
call fcn.00521d00
mov eax, dword [esi + 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov dword [eax + 0x48], 0x6020001
mov eax, dword [esi + 0x18]
mov dword [eax], 0x9a
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x18], xmm0
mov eax, dword [esi + 0x18]
mov dword [eax + 0x2c], 0x20000
mov eax, dword [esi + 0x18]
mov dword [eax + 0x28], 1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 0x18]
mov dword [eax + 0x40], 0x2008100
mov eax, dword [esi + 0x18]
mov dword [eax + 0x70], 0x78
lea eax, [esi + 8]
push dword [esi + 0x18]
push str.NT_Kernel_Logger
push eax
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
cmp eax, 0xb7
je 0x45dbe0
test eax, eax
je 0x45dc8c
xor al, al
jmp 0x45dd1d
lea eax, [esi + 0x20]
mov dword [esi + 0x1b8], esi
push eax
mov dword [esi + 0x24], str.NT_Kernel_Logger
mov dword [esi + 0x34], 0x10000100
mov dword [esi + 0x1b0], 0x45dd60
call dword [sym.imp.ADVAPI32.dll_OpenTraceW]
mov dword [esi + 0x10], eax
or eax, edx
mov dword [esi + 0x14], edx
jne 0x45dcc2
xor al, al
jmp 0x45dd1d
push 0
push 0
push esi
push 0x45dd80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov eax, dword [esi + 0x1c0]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45dd0c
cmp eax, 0xffffffff
je 0x45dd0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x18]
push 2
push ecx
mov dword [esi + 0x1c0], ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, 1
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x45dd42
mov esi, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28