Function at 0x47f9c0
Capabilities:
Create thread
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [ebp + 8]
cmp byte [esi + 0x4d0], al
jne 0x47f9fe
xor eax, eax
jmp 0x47fc17
cmp byte [esi + 0x4b8], 0
jne 0x47fa0e
mov byte [esi + 0x4b8], 1
mov dword [esi], 0x4b0
mov eax, 0x100
mov dword [esi + 0x2c], 0x20000
mov ecx, 0x2000100
mov dword [esi + 0x44], 1
cmp dword [0x5509ec], 3
mov dword [esi + 0x28], 1
cmovge eax, ecx
mov dword [esi + 0x40], eax
cmp dword [0x5509ec], 3
jge 0x47fa54
movups xmm0, xmmword [0x5107b8]
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x70], 0x78
mov ecx, 0x510c60
mov dword [esi + 0x6c], 0x280
mov eax, 0x510c44
cmp dword [0x5509ec], 3
cmovl eax, ecx
lea ecx, [esi + 0x78]
push eax
push 0x104
push ecx
call fcn.004c905a
push 0x4fbd20
lea eax, [esi + 0x280]
push 0x104
push eax
call fcn.004c905a
mov eax, dword [esi + 0x48]
add esp, 0x18
or eax, 0x10100
mov dword [esi + 0x48], eax
cmp dword [0x5509ec], 3
jl 0x47fab8
or eax, 2
mov dword [esi + 0x48], eax
cmp byte [ebp + 8], 0
lea edi, [esi + 0x4b0]
je 0x47fc34
push esi
lea eax, [esi + 0x78]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
mov edi, eax
test edi, edi
je 0x47fae6
cmp edi, 0xb7
jne 0x47fc15
xor edi, edi
mov byte [esi + 0x4d0], 1
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], edi
push eax
push edi
push esi
push 0x47f200
push edi
push edi
call fcn.004d6048
add esp, 0x18
mov dword [esi + 0x4c0], eax
cmp dword [0x5509ec], 3
jl 0x47fc15
push edi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x47fc12
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x47fc0b
nop word [eax + eax]
mov eax, dword [ebp - 0x20]
mov ecx, 0x555c90
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x34], esi
push eax
mov dword [ebp - 0x40], esi
call fcn.0047eec0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x58], xmm0
cmp byte [eax + 0xd], 0
jne 0x47fb8b
cmp esi, dword [eax + 0x10]
jae 0x47fbf9
cmp dword [0x555c94], 0xaaaaaaa
je 0x47fc86
mov esi, dword [0x555c90]
mov dword [ebp - 0x48], 0x555c90
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
call fcn.004c3423
mov ecx, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x44], 0
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x14], ecx
mov ecx, 0x555c90
push eax
push dword [ebp - 0x54]
mov dword [eax], esi
push dword [ebp - 0x58]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.0042a040
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x47fb50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x30]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x4bc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 1
push esi
lea eax, [esi + 0x78]
push eax
push dword [edi + 4]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_ControlTraceW]
push 0xffffffffffffffff
push dword [esi + 0x4c0]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x4c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x4bc]
mov dword [esi + 0x4c0], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x47fc15
call fcn.00413ca0
int3