Function at 0x566460
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x30f0]
mov edx, dword [esi + 0x30f4]
xor edi, edi
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x30f8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x30fc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x30ec]
mov dword [eax + 0xc], edx
call fcn.004392a0
mov ecx, dword [esi + 0x3100]
mov edx, dword [esi + 0x3104]
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x3108]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x310c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x30f0]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x30f4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x30f8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x30fc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x30ec]
mov dword [eax + 0xc], edx
call fcn.0043b2f0
mov eax, dword [esi + 0x3144]
cmp eax, edi
je 0x566514
cmp eax, 0xffffffff
je 0x566514
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [esi + 0x3128]
cmp eax, edi
je 0x56652b
add eax, 4
mov dword [ebp - 0x34], eax
jmp 0x56652e
mov dword [ebp - 0x34], edi
mov eax, dword [esi + 0x3110]
cmp eax, edi
je 0x566540
add eax, 4
mov dword [ebp - 0x30], eax
jmp 0x566543
mov dword [ebp - 0x30], edi
mov eax, dword [esi + 0x3138]
cmp eax, edi
je 0x566555
add eax, 4
mov dword [ebp - 0x2c], eax
jmp 0x566558
mov dword [ebp - 0x2c], edi
mov eax, dword [esi + 0x311c]
cmp eax, edi
je 0x56656a
add eax, 4
mov dword [ebp - 0x28], eax
jmp 0x56656d
mov dword [ebp - 0x28], edi
mov eax, dword [esi + 0x313c]
cmp eax, edi
je 0x56657f
add eax, 4
mov dword [ebp - 0x24], eax
jmp 0x566582
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x3124]
cmp eax, edi
je 0x566594
add eax, 4
mov dword [ebp - 0x20], eax
jmp 0x566597
mov dword [ebp - 0x20], edi
mov eax, dword [esi + 0x3120]
cmp eax, edi
je 0x5665a9
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x5665ac
mov dword [ebp - 0x1c], edi
mov eax, dword [esi + 0x3118]
cmp eax, edi
je 0x5665be
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x5665c1
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 0x3134]
cmp eax, edi
je 0x5665d3
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x5665d6
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x312c]
cmp eax, edi
je 0x5665e8
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x5665eb
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x3130]
cmp eax, edi
je 0x5665fd
add eax, 4
mov dword [ebp - 0xc], eax
jmp 0x566600
mov dword [ebp - 0xc], edi
mov eax, dword [esi + 0x3140]
cmp eax, edi
je 0x566612
add eax, 4
mov dword [ebp - 8], eax
jmp 0x566615
mov dword [ebp - 8], edi
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], edi
mov edi, edi
mov eax, dword [ebp + edi*4 - 0x34]
test eax, eax
je 0x56663a
mov ecx, dword [eax]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
inc edi
cmp edi, 0xd
jb 0x566620
mov edx, dword [esi + 0x3180]
mov eax, dword [edx + 4]
push 0
push esi
push 0x53b
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 0x31a0]
push ecx
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10