Function at 0x40b0f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x18], 0xbb1d
mov dword [ebp - 0x50], 0x182d3
mov dword [ebp - 0x1c], 0x15819
mov dword [ebp - 0x40], 0x17901
mov dword [ebp - 0x3c], 0x1810a
mov dword [ebp - 0x48], 0xd94c
mov dword [ebp - 0x10], 0x13c86
mov dword [ebp - 0x70], 0xcac7
mov dword [ebp - 0x74], 0x7eb1
mov dword [ebp - 0x38], 0x10259
mov dword [ebp - 0x14], 0xe7dd
mov dword [ebp - 0x78], 0x16d59
mov dword [ebp - 0x64], 0x121bb
mov dword [ebp - 0x7c], 0xa1de
mov dword [ebp - 8], 0x14f9b
mov dword [ebp - 0x6c], 0xd2b5
mov dword [ebp - 0x68], 0x7ca7
mov dword [ebp - 0x80], 0x223
mov dword [ebp - 0x34], 0x425
mov dword [ebp - 0xc], 0x9800
mov dword [ebp - 0x4c], 0x11a7c
mov dword [ebp - 4], 0x140da
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jge 0x40b1ad
mov dword [ebp - 0x28], 1
jmp 0x40b1b4
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x50]
xor edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jge 0x40b1c8
mov dword [ebp - 0x20], 1
jmp 0x40b1cf
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x10]
jge 0x40b1e0
mov dword [ebp - 0x24], 1
jmp 0x40b1e7
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x24]
or ecx, dword [ebp - 0x28]
je 0x40b2eb
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jne 0x40b2eb
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x34]
jne 0x40b2eb
push 0xe96a
push 0x118f5
push 0xac20
push 0x459d
push 0x15893
push 0x1745b
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x58]
jge 0x40b25b
mov dword [ebp - 0x2c], 1
jmp 0x40b262
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x60]
jge 0x40b288
mov dword [ebp - 0x30], 1
jmp 0x40b28f
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x64]
or eax, dword [ebp - 0x40]
and eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x30]
je 0x40b2eb
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x68]
jne 0x40b2eb
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp + 8]
jne 0x40b2eb
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x1c]
jne 0x40b2eb
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp + 8]
jne 0x40b2eb
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 8]
jne 0x40b2eb
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
push 0xf701
push 0x34cf
push 0xb165
push 0x8ba2
call dword [sym.imp.USER32.dll_TrackPopupMenu]
add esp, 0x10
cmp dword [ebp - 4], 0x140da
jge 0x40b383
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0xc]
jge 0x40b309
mov dword [ebp - 0x44], 1
jmp 0x40b310
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x6c]
xor edx, dword [ebp - 0x40]
or edx, dword [ebp - 0x44]
je 0x40b375
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 8]
jne 0x40b375
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x1c]
jne 0x40b375
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x10]
jne 0x40b375
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp + 0xc]
jne 0x40b375
push 0x127a0
push 0x6957
push 0xc699
push 0x138ca
push 0xa7e5
push 0x116ab
push 0x884d
push 0xceaa
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
add esp, 0x20
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x40b2eb
mov esp, ebp
pop ebp
ret