Function at 0x564c10
Capabilities:
Contain obfuscated stackstrings
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea88b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x6eebf4]
mov dword [ebp - 0x20], 0x1c9c380
mov dword [ebp - 0x1c], 0
test esi, esi
jne 0x564c7f
push 0x6294e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x564c91
push 0x6294c4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x6eebf4], esi
test esi, esi
je 0x564c91
mov ecx, esi
call dword [0x5f2510]
call esi
test al, al
jne 0x564dd2
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x564f2b
cmp dword [ecx], 0
je 0x564f2b
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], eax
call fcn.0043e580
lea edx, [ebp - 0x20]
lea ecx, [ebp + 8]
call fcn.005648f0
test al, al
lea ecx, [ebp - 0x20]
lea edx, [ebp + 8]
cmove edx, ecx
lea ecx, [ebp - 0x60]
call fcn.00507c90
push dword [eax]
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
cmp ebx, 0x102
jne 0x564ed0
lea edx, [ebp - 0x20]
lea ecx, [ebp + 8]
call fcn.005648f0
test al, al
jne 0x564ec9
push dword [ebp - 0x3c]
lea eax, [ebp - 0x48]
push dword [ebp - 0x40]
lea ecx, [ebp + 8]
push eax
call fcn.00564810
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00507c90
mov ecx, dword [eax]
mov eax, dword [edi + 8]
shr eax, 2
test al, 1
je 0x564df2
mov dword [ebp - 0x4c], 0x32364434
mov edx, 7
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x48], 0x38443937
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x160]
push eax
mov dword [ebp - 0x38], 0x6b736174
mov dword [ebp - 0x34], 0x73
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0x66
call fcn.00425500
add esp, 4
push str.Thread_was_cancelled_before_start_and_was_not_ended_even_after
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0
call fcn.0043b960
mov esi, eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x54]
push eax
call fcn.00567100
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x3c], edx
call fcn.0042edc0
push 0x647fc8
mov ecx, eax
call fcn.0043b960
lea ecx, [ebp - 0x160]
call fcn.00426780
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 8]
shr eax, 1
test al, 1
jne 0x564eac
mov eax, dword [edi + 0xc]
test eax, eax
je 0x564e0a
mov eax, dword [eax]
jmp 0x564e0c
xor eax, eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 0x58], 0x32364434
mov edx, 7
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x54], 0x38443937
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x258]
push eax
mov dword [ebp - 0x38], 0x6b736174
mov dword [ebp - 0x34], 0x73
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0x6e
call fcn.00425500
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 1
call fcn.00567170
mov esi, eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x68]
push eax
call fcn.00567100
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov ecx, esi
push eax
mov dword [ebp - 0x3c], edx
call fcn.0042edc0
push 0x647fc8
mov ecx, eax
call fcn.0043b960
lea ecx, [ebp - 0x258]
jmp 0x564dcd
test ecx, ecx
je 0x564ec9
push ecx
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
cmp ebx, 0x102
jne 0x564ed0
xor al, al
jmp 0x564dd4
mov eax, dword [edi + 8]
test al, 1
jne 0x564efc
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x5f2510]
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.00565010
test ebx, ebx
jne 0x564dd2
mov eax, dword [edi + 0xc]
test eax, eax
je 0x564f1b
mov eax, dword [eax]
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x564dd2
xor eax, eax
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x564dd2
lea ecx, [ebp - 0x5c]
call fcn.00568750
push 0x685ffc
lea eax, [ebp - 0x5c]
push eax
call fcn.00599dcb
int3