Function at 0x4522a0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x68c0]
call fcn.0041d6e0
mov eax, dword [esi + 0x68bc]
xor ebx, ebx
cmp eax, ebx
je 0x4522cc
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x68bc], ebx
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0048cf16
push ebx
mov ecx, eax
call fcn.0048fa75
lea edi, [esi + 0x7f40]
mov ecx, edi
call fcn.0043b050
mov ecx, edi
call fcn.00437700
mov ecx, edi
call fcn.004391f0
push ecx
lea edx, [esi + 0x9855]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0048c471
pop edi
mov eax, dword [0xcf8b0003]
call fcn.00439ae0
cmp byte [esp + 0x1c], bl
je 0x452326
mov ecx, esi
call fcn.0045a4f0
mov ecx, esi
call fcn.0045a770
test al, al
je 0x452339
push ebx
mov ecx, esi
call fcn.0045a700
lea edi, [esi + 0x6a40]
cmp edi, ebx
jne 0x452347
xor eax, eax
jmp 0x45234a
mov eax, dword [edi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebp
test eax, eax
je 0x45235f
push ebx
mov ecx, edi
call fcn.00490d65
lea edi, [esi + 0x68fc]
cmp edi, ebx
jne 0x45236d
xor eax, eax
jmp 0x452370
mov eax, dword [edi + 0x1c]
push eax
call ebp
test eax, eax
je 0x45237f
push ebx
mov ecx, edi
call fcn.00490d65
lea edi, [esi + 0x69a4]
cmp edi, ebx
jne 0x45238d
xor eax, eax
jmp 0x452390
mov eax, dword [edi + 0x1c]
push eax
call ebp
test eax, eax
je 0x45239f
push ebx
mov ecx, edi
call fcn.00490d65
mov eax, dword [esi + 0x9738]
cmp eax, ebx
je 0x4523dc
jne 0x4523af
xor eax, eax
jmp 0x4523b2
mov eax, dword [eax + 0x1c]
push eax
call ebp
test eax, eax
je 0x4523c5
mov ecx, dword [esi + 0x9738]
push ebx
call fcn.0044dba0
mov ecx, dword [esi + 0x9738]
cmp ecx, ebx
je 0x4523d6
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x9738], ebx
mov eax, dword [esi + 0x973c]
cmp eax, ebx
je 0x452419
jne 0x4523ec
xor eax, eax
jmp 0x4523ef
mov eax, dword [eax + 0x1c]
push eax
call ebp
test eax, eax
je 0x452402
mov ecx, dword [esi + 0x973c]
push ebx
call fcn.00441fd0
mov ecx, dword [esi + 0x973c]
cmp ecx, ebx
je 0x452413
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x973c], ebx
mov eax, dword [esi + 0x9740]
cmp eax, ebx
je 0x452456
jne 0x452429
xor eax, eax
jmp 0x45242c
mov eax, dword [eax + 0x1c]
push eax
call ebp
test eax, eax
je 0x45243f
mov ecx, dword [esi + 0x9740]
push ebx
call fcn.00444ec0
mov ecx, dword [esi + 0x9740]
cmp ecx, ebx
je 0x452450
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x9740], ebx
mov eax, dword [esi + 0xa09c]
cmp eax, ebx
je 0x45246f
push eax
call fcn.0048c16d
add esp, 4
mov dword [esi + 0xa09c], ebx
mov eax, dword [esi + 0xa624]
cmp eax, ebx
je 0x452488
push eax
call fcn.0048c16d
add esp, 4
mov dword [esi + 0xa624], ebx
mov eax, dword [esi + 0xa628]
cmp eax, ebx
je 0x4524a1
push eax
call fcn.0048c16d
add esp, 4
mov dword [esi + 0xa628], ebx
mov eax, dword [esi + 0xa638]
cmp eax, ebx
je 0x4524ba
push eax
call fcn.0048c16d
add esp, 4
mov dword [esi + 0xa638], ebx
cmp esi, ebx
mov dword [esi + 0xa09c], ebx
mov dword [esi + 0xa624], ebx
mov dword [esi + 0xa628], ebx
jne 0x4524d4
xor eax, eax
jmp 0x4524d7
mov eax, dword [esi + 0x1c]
push eax
call ebp
test eax, eax
je 0x452519
mov ecx, esi
call fcn.00490ef3
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0048cf16
cmp eax, ebx
jne 0x4524fd
xor eax, eax
jmp 0x452500
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push edx
push 0x55e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8