Function at 0x459a70
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559b86
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x160
mov eax, dword [0x5ab3e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x459e03
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x459e03
lea edi, [esi + 0x1c0]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x459afb
mov eax, dword [ecx]
lea edx, [ebp - 0x170]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x14c], eax
push edi
lea ecx, [ebp - 0x170]
call fcn.0045b760
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x459b28
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x170]
cmp ecx, eax
setne al
push eax
call edx
mov byte [ebp - 4], 0
lea ecx, [esi + 0x268]
xor eax, eax
xchg dword [ecx], eax
push 0x9a
call fcn.004dfb6f
mov edi, eax
add esp, 4
test edi, edi
je 0x459b5b
push 0x9a
push 0
push edi
call fcn.0051cba0
add esp, 0xc
jmp 0x459b5d
xor edi, edi
lea eax, [esi + 0x14]
lea ecx, [ebp - 0x144]
cmp eax, ecx
je 0x459b75
mov ecx, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x459b82
push ecx
jmp 0x459b7a
test edi, edi
je 0x459b82
push edi
call fcn.004dfb9b
add esp, 4
push 0x100
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], 0x11c
push 0
push eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
call fcn.0051cba0
mov edi, dword [sym.imp.ntdll.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x24], ax
mov dword [ebp - 0x22], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
mov word [ebp - 0x1e], ax
call edi
push edx
push eax
call edi
push edx
push eax
call edi
push edx
push eax
push 0x23
lea eax, [ebp - 0x138]
mov dword [ebp - 0x134], 6
xor ecx, ecx
mov dword [ebp - 0x130], 2
push eax
mov word [ebp - 0x24], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0x9a
push 0
push dword [esi + 0x14]
mov edi, eax
call fcn.0051cba0
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov dword [esi + 0x10], ecx
test edi, edi
mov dword [ecx + 0x48], 0x6020001
mov ecx, 0x58dab0
mov eax, dword [esi + 0x10]
mov dword [eax], 0x9a
mov eax, 0x58bfe4
cmove ecx, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x140], ecx
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x18], xmm0
mov eax, dword [esi + 0x10]
mov dword [eax + 0x2c], 0x20000
mov eax, dword [esi + 0x10]
mov dword [eax + 0x28], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 0x40], 0x2008100
mov eax, dword [esi + 0x10]
mov dword [eax + 0x70], 0x78
push dword [esi + 0x10]
push str.NT_Kernel_Logger
push esi
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
cmp eax, 0xb7
jne 0x459d5d
mov edi, dword [sym.imp.ADVAPI32.dll_ControlTraceW]
nop dword [eax + eax]
push 1
push dword [esi + 0x10]
push str.NT_Kernel_Logger
push dword [esi + 0xc]
push dword [esi + 8]
call edi
test eax, eax
jne 0x459d61
push 0x9a
push eax
push dword [esi + 0x14]
call fcn.0051cba0
mov eax, dword [esi + 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x140]
mov dword [esi + 0x10], eax
mov dword [eax + 0x48], 0x6020001
mov eax, dword [esi + 0x10]
mov dword [eax], 0x9a
mov eax, dword [esi + 0x10]
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x18], xmm0
mov eax, dword [esi + 0x10]
mov dword [eax + 0x2c], 0x20000
mov eax, dword [esi + 0x10]
mov dword [eax + 0x28], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 0x44], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 0x40], 0x2008100
mov eax, dword [esi + 0x10]
mov dword [eax + 0x70], 0x78
push dword [esi + 0x10]
push str.NT_Kernel_Logger
push esi
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
cmp eax, 0xb7
je 0x459cc0
test eax, eax
je 0x459d68
xor al, al
jmp 0x459e05
lea eax, [esi + 0x18]
mov dword [esi + 0x1b0], esi
push eax
mov dword [esi + 0x1c], str.NT_Kernel_Logger
mov dword [esi + 0x2c], 0x10000100
mov dword [esi + 0x1a8], 0x459e50
call dword [sym.imp.ADVAPI32.dll_OpenTraceW]
mov dword [esi + 8], eax
or eax, edx
mov dword [esi + 0xc], edx
jne 0x459d9e
xor al, al
jmp 0x459e05
push 0
push 0
push esi
push 0x459e70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov eax, dword [esi + 0x1b8]
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], eax
test eax, eax
je 0x459df4
cmp eax, 0xffffffff
je 0x459df4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 0x140]
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x144]
push 2
push ecx
mov dword [esi + 0x1b8], ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, 1
mov byte [ebp - 0x139], al
mov dword [ebp - 4], 8
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x459e30
mov esi, dword [ecx]
lea eax, [ebx + 8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x139]
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.004df59c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x28