Function at 0x6fff54f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov eax, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
mov dword [eax + 4], 0
call fcn.6fff5340
test eax, eax
mov edi, eax
je 0x6fff5759
test ebx, ebx
je 0x6fff5752
mov esi, dword [ebx]
call fcn.6ffefa90
test eax, eax
mov ebx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
je 0x6fff5759
mov dword [esp], 0x10
call sub.msvcrt.dll_malloc
test eax, eax
mov ebp, eax
je 0x6fff56d0
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
test esi, esi
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x10c]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x9c]
mov dword [ebx + 0x9c], eax
je 0x6fff5680
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6fff5593
mov dword [ebx + 0x9c], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebx + 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x6fff55c4
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__strdup]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0xa0], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6fff5743
lea eax, [ebx + 0x98]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x30], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x6fff5190
mov dword [esp + 4], ecx
mov dword [esp], 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
test eax, eax
mov esi, eax
mov dword [ebx + 8], eax
je 0x6fff56d0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.6fff1410
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub esp, 4
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x20]
mov dword [eax], ebx
mov dword [eax + 4], edx
xor eax, eax
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 0x98]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x30], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x6fff5190
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
mov esi, eax
mov dword [ebx + 8], eax
test esi, esi
jne 0x6fff563c
nop
mov esi, dword [esp + 0x24]
lea edi, [esp + 0x38]
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.6ffef8d0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x6fff5707
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6fff571b
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
test ebp, ebp
mov eax, 0xb
je 0x6fff5670
mov dword [esp], ebp
mov dword [esp + 0x20], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x20]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0x88]
mov dword [esp + 0x28], eax
jmp 0x6fff55cf
xor esi, esi
jmp 0x6fff5528
mov eax, 0xb
jmp 0x6fff5670