Function at 0x566310
Capabilities:
Contain obfuscated stackstrings
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec14b
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x6efb74]
mov dword [ebp - 0x20], 0x1c9c380
mov dword [ebp - 0x1c], 0
test esi, esi
jne 0x56637e
push 0x62a4e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x566390
push 0x62a4c4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x6efb74], esi
test esi, esi
je 0x566390
mov ecx, esi
call dword [0x5f3508]
call esi
test al, al
jne 0x5664e2
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x56664a
cmp dword [ecx], 0
je 0x56664a
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.0043e590
lea edx, [ebp - 0x20]
lea ecx, [ebp + 8]
call fcn.00565ff0
test al, al
lea ecx, [ebp - 0x20]
lea edx, [ebp + 8]
cmove edx, ecx
lea ecx, [ebp - 0x24]
call fcn.00508f00
push dword [eax]
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 0x102
jne 0x5665ed
lea edx, [ebp - 0x20]
lea ecx, [ebp + 8]
call fcn.00565ff0
test al, al
jne 0x5665e6
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push eax
call fcn.00565f10
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00508f00
mov ecx, dword [eax]
mov eax, dword [edi + 8]
shr eax, 2
test al, 1
je 0x566501
mov dword [ebp - 0x38], 0x43324544
xorps xmm0, xmm0
mov eax, dword [ebp - 0x38]
mov edx, 7
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x34], 0x36344531
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x18c]
push eax
mov dword [ebp - 0x64], 0x6b736174
mov dword [ebp - 0x60], 0x73
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0x66
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
call fcn.004254c0
add esp, 4
push str.Thread_was_cancelled_before_start_and_was_not_ended_even_after
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0
call fcn.0043ba60
mov esi, eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x6c]
push eax
call fcn.00568820
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x28], edx
call fcn.0042eea0
push 0x648e94
mov ecx, eax
call fcn.0043ba60
lea ecx, [ebp - 0x18c]
call fcn.00426740
mov al, 1
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.00599e5b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 8]
shr eax, 1
test al, 1
jne 0x5665c9
mov eax, dword [edi + 0xc]
test eax, eax
je 0x566519
mov eax, dword [eax]
jmp 0x56651b
xor eax, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x70], 0x43324544
xorps xmm0, xmm0
mov eax, dword [ebp - 0x70]
mov edx, 7
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 0x36344531
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x29c]
push eax
mov dword [ebp - 0x64], 0x6b736174
mov dword [ebp - 0x60], 0x73
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0x6e
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
call fcn.004254c0
lea ecx, [ebp - 0x29c]
mov dword [ebp - 4], 1
call fcn.00568890
mov esi, eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x7c]
push eax
call fcn.00568820
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x28], edx
call fcn.0042eea0
push 0x648e94
mov ecx, eax
call fcn.0043ba60
lea ecx, [ebp - 0x29c]
jmp 0x5664dd
test ecx, ecx
je 0x5665e6
push ecx
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x24], eax
cmp eax, 0x102
jne 0x5665ed
xor al, al
jmp 0x5664e4
mov eax, dword [edi + 8]
test al, 1
jne 0x566619
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x5f3508]
mov ecx, edi
call esi
test al, al
mov edx, str.Thread_ended_state_mismatch
mov ecx, str.Thread_was_killed
cmove ecx, edx
call fcn.00566730
cmp dword [ebp - 0x24], 0
jne 0x5664e2
mov eax, dword [edi + 0xc]
test eax, eax
je 0x56663a
mov eax, dword [eax]
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x5664e2
xor eax, eax
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x5664e2
lea ecx, [ebp - 0x74]
call fcn.00569e70
push 0x686e24
lea eax, [ebp - 0x74]
push eax
call fcn.0059b61b
int3