Function at 0x47fc70
Capabilities:
Create thread
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f638d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x535a40]
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 0x47fcae
xor eax, eax
jmp 0x47fec7
cmp byte [esi + 0x4b8], 0
jne 0x47fcbe
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 [0x54a9bc], 3
mov dword [esi + 0x28], 1
cmovge eax, ecx
mov dword [esi + 0x40], eax
cmp dword [0x54a9bc], 3
jge 0x47fd04
movups xmm0, xmmword [0x50e7a8]
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x70], 0x78
mov ecx, 0x50ec50
mov dword [esi + 0x6c], 0x280
mov eax, 0x50ec34
cmp dword [0x54a9bc], 3
cmovl eax, ecx
lea ecx, [esi + 0x78]
push eax
push 0x104
push ecx
call fcn.004c913a
push 0x4f9d20
lea eax, [esi + 0x280]
push 0x104
push eax
call fcn.004c913a
mov eax, dword [esi + 0x48]
add esp, 0x18
or eax, 0x10100
mov dword [esi + 0x48], eax
cmp dword [0x54a9bc], 3
jl 0x47fd68
or eax, 2
mov dword [esi + 0x48], eax
cmp byte [ebp + 8], 0
lea edi, [esi + 0x4b0]
je 0x47fee4
push esi
lea eax, [esi + 0x78]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
mov edi, eax
test edi, edi
je 0x47fd96
cmp edi, 0xb7
jne 0x47fec5
xor edi, edi
mov byte [esi + 0x4d0], 1
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], edi
push eax
push edi
push esi
push 0x47f4b0
push edi
push edi
call fcn.004d6126
add esp, 0x18
mov dword [esi + 0x4c0], eax
cmp dword [0x54a9bc], 3
jl 0x47fec5
push edi
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x47fec2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x47febb
nop word [eax + eax]
mov eax, dword [ebp - 0x20]
mov ecx, 0x54fc60
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.0047f170
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x58], xmm0
cmp byte [eax + 0xd], 0
jne 0x47fe3b
cmp esi, dword [eax + 0x10]
jae 0x47fea9
cmp dword [0x54fc64], 0xaaaaaaa
je 0x47ff36
mov esi, dword [0x54fc60]
mov dword [ebp - 0x48], 0x54fc60
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
call fcn.004c3653
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, 0x54fc60
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.0042a0e0
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x47fe00
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.004c34b7
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 0x47fec5
call fcn.00413cf0
int3